Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdaptor: 100 record limit???
Message
De
10/10/2008 02:21:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/10/2008 21:02:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Divers
Thread ID:
01353968
Message ID:
01353985
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform