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

.Addnew with wildcard 1

Status
Not open for further replies.

rgbanse

MIS
Jun 4, 2001
211
US
Is it possible to append all fields from a recordset into a table using this type of code or something similar
.Addnew
RcdSt1.Fields![*] = (RcdSt2!*)
.Update

thx
RGB

 
Provided the 2 recordset have compatible fields collection:
.Addnew
For i = 0 to .Fields.Count - 1
.Fields(i) = RcdSt2.Fields(i)
Next
.Update

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top