Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter
Message
 
To
21/11/2002 07:19:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00725086
Message ID:
00725091
Views:
10
Hi Tina,
I think you could do that by using:

form.bindcontrols
cursoradapter.autoopen

set form.bindcontrols=.f., put a "nodefault" in cursoradapter.autoopen (or use DE.autoopentables).
At that time (when the form runs) you have the object created but no cursor and no data.
Calling cursoradapter.cursorfill will gets data and setting form.bindcontrols=.t. will bind controls (just tried on a dummy form and seem works).

HTH

Franco

>I have been testing the CursorAdaptor class, and am loving it (after years of using rsTo2DBF, it's a relief...).
>
>Does anyone know if there is a way to NOT open and pull the ADO record set - to simply attach an existing recordset to the object and then have it turn it into a VFP cursor?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform