Relational Inserts and Grids

Hi, Does anyone have a good VB code example of an insert statement using a parent and child dataset? All samples I can find exclude inserting data into the child. The obvious challenge is inserting a parent key into a child record. Basically, I have two grids. I want to populate the child and pull the key from the parent. Thanks much! Tom

1 Reply

AD Administrator Syncfusion Team September 7, 2005 10:21 PM UTC

If you call AddNew on the Currencymanager associated with the details table in a master-details relation, it should automatically populate the related field. http://www.syncfusion.com/Support/user/uploads/master_details_3a39e580.zip

Loader.
Up arrow icon