Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Recordset creation
Message
From
05/12/2000 17:39:17
Mike Kight
Network Audit Control, Inc.
Saint Charles, Missouri, United States
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00444978
Message ID:
00449690
Views:
8
Stephane,
If the recordset is the same as the layout in the database and you will be adding any new records from your temp rs. The easiest way to do it would be to retrieve a recordset of the table, setting the recordset to return 0 records. That way you will have an empty recordset but it still points to the table on the server. You can add,delete,update and then write it back with updatebatch command. I have been using ADO and VB for about a year and there are several things to consider. You need to be aware however if you add a record to the recordset and just close the recordset, depending on other recordset properties, it will go ahead and add the new records to the server table even if you did not want to. You would have to use something like the following: rs.cancelbatch rs.close I have some other ways to handle this too if you do not wish to try this or if you have additional questions let me know.
Previous
Reply
Map
View

Click here to load this message in the networking platform