Arg81
Well-known member
Hi Guys,
I'm new to this and I have searched so please pardon my ignorance if this question has been asked in the past...
I'm developing an internal system that accesses SQL server 2000 via ADO.net.
I've got my head round ADO.net pretty much so now, and my main difficulties are coming from VB.net...
For my app I want to build a similar app to that of MS Access - i.e. a form with a subform showing related data to a certain field on the main form.
I understand that subforms do not exist in VB.net, and that the way forward is DataGrids.
The problem is my database has a lot of lookup fields, i.e. EmployeeID, CustomerID, WorkByID, CreatedByID, etc etc, and in a DataGrid appears as a number, which to the users means nothing...
Now, is there a way of creating a form to a form, i.e. linked, that the first form has all of the Customer Details (I know how to use ComboBoxes to display the relevant fields from the lookup tables) and then call a form which brings up the matching Requests for that Customer, again with ComboBoxes replacing the ID fields.
either that or is there a way of editing a DataGrid so that it will show foreign key information in those fields instead?
Thanks for the help guys,
Luke
IT Support Technician
I'm new to this and I have searched so please pardon my ignorance if this question has been asked in the past...
I'm developing an internal system that accesses SQL server 2000 via ADO.net.
I've got my head round ADO.net pretty much so now, and my main difficulties are coming from VB.net...
For my app I want to build a similar app to that of MS Access - i.e. a form with a subform showing related data to a certain field on the main form.
I understand that subforms do not exist in VB.net, and that the way forward is DataGrids.
The problem is my database has a lot of lookup fields, i.e. EmployeeID, CustomerID, WorkByID, CreatedByID, etc etc, and in a DataGrid appears as a number, which to the users means nothing...
Now, is there a way of creating a form to a form, i.e. linked, that the first form has all of the Customer Details (I know how to use ComboBoxes to display the relevant fields from the lookup tables) and then call a form which brings up the matching Requests for that Customer, again with ComboBoxes replacing the ID fields.
either that or is there a way of editing a DataGrid so that it will show foreign key information in those fields instead?
Thanks for the help guys,
Luke
IT Support Technician