Answer the question
In order to leave comments, you need to log in
How in delphi to add a new row to dbgrid with one field already filled?
Please tell me how to add a row to dbgrid with filled field.
for example, the structure of a table.:
Id param count
Only
Id count
Dbgrid is displayed in the grid. datasource. dataset. Append
Added an empty string
How to immediately fill in param if it is not displayed in the grid?
I use dbgrid and firedac
I hope I explained the rules.
Answer the question
In order to leave comments, you need to log in
The picture is part of the page, not the menu.
body {
background-image: url(http://example.com/image.png);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-color: #999;
}
Either use a separate form for all fields, or make a DBEdit next to the DBGrid for all fields, or add the column you need to the DBGrid.
dbgrid is a rather dumb thing, I realized very quickly that it can only be used to display records. For editing and adding records, I use a separate dialog box with DBEdit fields. Once, for fun, I made it so that when you double-click on top of a cell, a DBEdit is created where you can change the value. But in that case, it was a special table with a fixed number of records and calculated fields were displayed in it, and the real ones associated with them were edited.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question