Topic: How to "see" table.id number?
hey guys, i need a way to "show" the current table id
In any other table entry i could just create a text box, and point it to the table.name but in case of table.id it doesnt' work, is there a workarround?
My Visual Database → General → How to "see" table.id number?
hey guys, i need a way to "show" the current table id
In any other table entry i could just create a text box, and point it to the table.name but in case of table.id it doesnt' work, is there a workarround?
currently i am using sqlvalue from the selected record, but is there any other way to do this?
Hi Vasco,
Please see the attached which may give you some ideas. I wasn't sure if you meant the id in the table or the rowid in the tablegrid so I've shown both, just in case
Regards,
Derek
You can also do the following to get the table Id
procedure Form2_OnShow (Sender: string; Action: string);
begin
Form2.Edit1.Value := Form2.ButtonSave.dbGeneralTableId; // Make sure you use the button definition which does the save action
end;
I put an example in Derek's project.
oh, very nice, thanks!
My Visual Database → General → How to "see" table.id number?
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi