D
Dick Penny
I have abstracted several lines below from a "copying recordset example." If
typos, please bear with me.
My Q is, what is "ResID", a field name in old/first recordset? If so, how
does this copy the whole record?
I thought one had to enumerate the fields to be copied?
Do While Not OldRes.EOF
Addit:
NewRes.AddNew
NewRes![ResID] = OldRes![ResID]
NewRes.Update
DoEvents
Msgbox "blah blah blah"
Loop
Msgbox "blah#2 blah#s"
OldRes.Close
NewRes.Close
db.Close
((no comments about not copying & pasting, please))
typos, please bear with me.
My Q is, what is "ResID", a field name in old/first recordset? If so, how
does this copy the whole record?
I thought one had to enumerate the fields to be copied?
Do While Not OldRes.EOF
Addit:
NewRes.AddNew
NewRes![ResID] = OldRes![ResID]
NewRes.Update
DoEvents
Msgbox "blah blah blah"
Loop
Msgbox "blah#2 blah#s"
OldRes.Close
NewRes.Close
db.Close
((no comments about not copying & pasting, please))