Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move one recordset with another recordset
Message
 
To
01/06/2003 18:09:39
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00795022
Message ID:
00795112
Views:
15
You need to copy field-by-field.

I assume that the RecordNum position is already existing snd that both recordsets contain the same columns in the same order.

for i = 0 to adoSiteRS.fields.count - 1
adolog(i) = adoSiteRS(i)
next i

>What ado command will move one recorset(adoSiteRS("RecordNum") to the same position in another recordset (adoLog("RecordNum")?
>
>
>I tried adoSiteRS.Move (adoLog("RecordNum")
>
>but that just moves it x number of times from where it currently is
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform