Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Main Form/Data Grid

Status
Not open for further replies.

LonnieJohnson

Programmer
Apr 16, 2001
2,628
US
I have a main form that has customer information. I want a data grid that has realted records (expenses). I have a data adapter and dataset for the main customer record. Do I need a second data adapter and data set for my datagrid or can I use the same ones?

p.s.: I am new to this.

Thanks.

ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
 
You can use the same data adapter and replace the select command.
You can use a single dataset with two tables. Table1 for the customer and Table2 for the expenses. When you set the data source of the grid, set it to Table2, not the dataset itself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top