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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add records ?

Status
Not open for further replies.

jerstep

Technical User
Mar 22, 2002
18
0
0
AT
is it possible to add a new records to two related tables using a datagrid (or some other) control ? if so, how ?

thanks.
j.
 
Yes.
Try and use the data form wizard to make a dataform with master/detail. Look at the code (if you select 'ADO Code')/properties (if you select ADO data control).
It will use 'PROVIDER=MSDataShape' in the connection string to handle the linked tables.
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Thanks Sunaj.
I love to try that but I'm using the Learner Edition of Visual Basic and that doesn't come with many add-ins.

I did post asking where, if anywhere I could get these but no-one repsonded.

Can you send me the code to do what you suggested ?

Thanks
J.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top