DavidT_macktool
Well-known member
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.
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: