Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incrementally Pulling Records with SQL Pass-Through
Message
From
29/04/2001 12:25:11
Phillip Perkins
Technology Consulting, Inc.
Louisville, Kentucky, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00501241
Message ID:
00501348
Views:
20
Did you try a CURSORSETPROP("MaxRecords", 10, "tablename") or CURSORSETPROP("FetchSize", 10, "tablename")? The way I figure it, SQL creates a cursor on the server-side. FoxPro pulls all that data into one large local cursor, unless you specify otherwise. When you send updates, FP actually updates the server-side cursor which SQL, in turn, uses to update the data.

Phillip

>I am using SQL Pass-Through to pull a cursor from a remote database. The cursor is usually rather large and takes more time than what is desired to pull all the generated records down from the server. What would be the best to incrementally pull the records, i.e. records 1 through 10, then go back and get 11 through 20, and so on to the end? TIA.
>
>Bryan
"D'OH!" --Homer Simpson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform