Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views to cursorAdaptors utility?
Message
From
27/11/2003 10:55:49
 
 
To
26/11/2003 14:11:48
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00853804
Message ID:
00854034
Views:
22
Hi Mike.

>Does anyone know of a utility that can change my VFP8SP1 views into equivalent cursoradaptors?

I don't know of one, but I think it'd be pretty easy to write one. Basically, you'd open the view, then use AFIELDS() to get the structure of the cursor and generate the CursorSchema property for the CursorAdapter from it. Many of the CursorAdapter properties match view properties, so a series of statements where you store the value of a DBGETPROP() call to a property would do it.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform