Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dbgrid to new form

0 views
Skip to first unread message

dauwe...@telenet.be

unread,
Sep 5, 2007, 4:03:33 AM9/5/07
to
I have a form1 with a dbgrid in delphi 7 (and a database in access).
When i doubleclick on a record in the grid , a new form2 opens and
must display all the details from that one record ( 6 dbedits on that
form2). I use the same datasource for both forms but in the second
form i always get the first record from my grid!!!! I must give some
indication in my code of an index or row number or something like that
but i can not find it. Can someone help me on my way, please. A
gratefull newbie. Tx anyone, anywhere,anyhow,anytime.

Chris.Cheney

unread,
Sep 5, 2007, 5:04:54 AM9/5/07
to
dauwe...@telenet.be wrote in news:1188979413.883153.139760@
57g2000hsv.googlegroups.com:

The double-click event routine might pass the TDBGrid.SelectedRows bookmark
to form2?

0 new messages