Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter
Message
From
23/11/2002 16:51:40
 
 
To
21/11/2002 07:19:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00725086
Message ID:
00726200
Views:
14
Hi Tina.

>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?

In the release version of VFP 8, you'll be able to pass an open ADO Recordset as the fourth parameter to CursorFill. That tells VFP to ignore the DataSource property and instead create a cursor from the passed Recordset. This is crucial for CursorAdapter to work in n-tier environments where a middle tier object returns an open (but disconnected) Recordset to the UI layer. Otherwise, VFP would require a live connection to the data source, which means client-server or 2-tier only.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform