Baldur3635
Technical User
I could kick myself for not keeping my books.
I'm trying to do something rea;;y simple I think
I have a DBGrid and it's connected to a query. The user selects one of 5 different ItemTypes and a value (string) that he wants to find.
There can be anything from one an integer number (I doubt if it would ever ne more than 50 or so).
Once the correct record is found. The user double Clicks on the row and the Edit Form Opens (The same Form used to enter the original data. No problem these.
I have an autoincrementing integer field called id and another integer field called itemNo. I created two integer variables to hold these two values.
I tried MyTable1.Fields[0].ASInteger := id and
MyTable1.Fields[1].AsInteger := ItemNo
IManager.Show;
But neither open on the correct record, How to I get it to go to either the id or the ItemNo?
Thanks
I'm trying to do something rea;;y simple I think
I have a DBGrid and it's connected to a query. The user selects one of 5 different ItemTypes and a value (string) that he wants to find.
There can be anything from one an integer number (I doubt if it would ever ne more than 50 or so).
Once the correct record is found. The user double Clicks on the row and the Edit Form Opens (The same Form used to enter the original data. No problem these.
I have an autoincrementing integer field called id and another integer field called itemNo. I created two integer variables to hold these two values.
I tried MyTable1.Fields[0].ASInteger := id and
MyTable1.Fields[1].AsInteger := ItemNo
IManager.Show;
But neither open on the correct record, How to I get it to go to either the id or the ItemNo?
Thanks