|
-
October 14th, 1999, 11:33 AM
#1
Data Environment
I have set up a connection to an MDB
I have a Parent Command "Parents"
I have added a child command "Children"
It works beautifully.....the "linked" data moves beautifully
I wish to add records to the parents and the children
I have access to all of the ADO methods on rsParents (addnew,update,bookmark etc)
I cannot get accesss to the same methods for the child rsChildren
Note:I have set up returning recordset on
advanced tab
I have also tried following with no success
dim rsKids as adodb.recordset
set rskids = rsparents.field?("CHILDREN")
Still no luck
This is a great forum
I hope I can contribute also
Thanks
Rob Hermans
Philadelphia
-
October 18th, 1999, 05:35 AM
#2
Re: Data Environment
Hi Rob,
You can get access to the next recordset by calling the "NextRecordset" method which is part of the the ADODB.Recordset object.
E.g.
Dim rsKids As ADODB.RecordSet
Set rsKids = rsParents.NextRecordset
Hope this helps.
Vick Soulios
-
October 18th, 1999, 07:05 AM
#3
Re: Data Environment
I have TWO related recordsets - is there a way to distinguish between WHICH next I want??
Thanks for your help!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|