Hello Experts,
I wanted to filter a data where when I click on a DataGrid in FormA, FormB with DataGrid will only show the corresponding data. The passing Key is CustomerID.
To be more clear:
Form Customer with DataGrid1(which display all Customer list in CustTbl)
CustID CustName
1 ABC
2 DEF
When I click on the DataGrid1 in FormCustomer, it will open a new Form Invoice(with DataGrid) where it will only display the information related to the Custmer,where the Primary Key is the CustID.
I get the Form Invoice open but my Datagrid display all records.
Thanks all.
judd
0
Newbie Poster
Recommended Answers
Jump to Postwhat i understand is that you have two forms , having datagrid , when you click datagrid1 on form one or select any customer form the grid then the second grid will populate with all related data of selected customer , if yes then you can do like this .
…
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.