Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdaptor: 100 record limit???
Message
From
10/10/2008 02:21:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/10/2008 21:02:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Miscellaneous
Thread ID:
01353968
Message ID:
01353985
Views:
21
>I'm testing CursorAdaptors for my MySQL database using an ODBC connection. For some reason, everything works fine until the returned cursor is > 99 records - then I get no cursor at all; I also get no errors and the CursorFill() result is .T. BTW, the ConnectionTimeOut is 600.
>
>This occurs whether the query is run on the server or a workstation and I've verified the query in the MySQL Query Browser. These are local cursors, so CURSORSETPROP()'s FetchSize and MaxRecords don't apply.
>
>Anyone have an idea what might be causing this?
>
>Thanks,
>Ken

I think the problem is in your cursor's query SQL and base table in mySQL. It looks like you have a query that would work right with the first 99.

I use CA against SQL server and I don't have any problems loading even hundreds of thousands records. I would never expect mySQL would have a problem with that.

PS: I don't understand what you mean by "These are local cursors, so CURSORSETPROP()'s FetchSize and MaxRecords don't apply.". If they are local cursors then how come you are querying them via mySQL ODBC driver?

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform