Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO question
Message
 
To
21/10/1998 09:43:55
Alex Zhadanov
Computer Generated Solutions
New York City, New York, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00148865
Message ID:
00149024
Views:
29
>Hi all
>I have open connection object and command object which point to the table.I get recordset(rs object variable) like this
>rs = commobj.execute.
>This recordset very limited. I can't add new records to this recordset
>and can't move back.
>But if i use open method of recordset itself i.e rs.open(...) i can
>do everything with this recordset(move back and forward,add and delete
>records).In this case i don't use command object at all.
>What the difference?

Look at the parameters for both functions - they let you specify
the cursor modes. You want to use adKeySet I think for an updatable
cursor.

If you use Connection to create your cursor the rs is imlpicitly
created - if you want full control you should use the objects
individually and assign the appropriate references where necessary.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform