create Form from DbGrid record

DavidT_macktool

Well-known member
Joined
Oct 21, 2004
Messages
502
Location
Indiana
Programming Experience
3-5
I am new to VB and am programming with Visual Studio.net accessing sql server 2000 databases.

I have a standard dbgrid form (Part.vb) for a parts database that displays only a few fields of the record for clarity. I access a new form (PartInfo.vb) with all fields of the record displayed in textboxes by pushing a button on the main form. The new form is not picking up the row/record data from the Dbdatagrid active row, nothing is displayed. What is the easy way to do this common function?

Do I have to pass the dbgrid position as a variable and reaccess the record in a new dataset or can i reference the Part.vb dataset and maintain record focus.
 
Last edited:
Back
Top