Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Loading Certain CursorAdapter Object
Message
 
 
To
13/10/2010 08:29:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Miscellaneous
Thread ID:
01485221
Message ID:
01485239
Views:
58
>>Add where 1=0 in your SelectCmd command. In addition, specify there all columns instead (and if you don't need some, remove them)
>
>What does 1=0 do? How come when I use SPT it works, like this:
>
>
>= SQLEXEC( gnDataSource, "SELECT * FROM parcel WHERE JobOrderID=<somevalue>" 
>
>
>Also works in MySQL Query Browser. I used the same CA class to access all my other tables with no problems.
>
>It worked initially when the number of records of Parcel table was just a few thousand. It started freezing up when it grew. The weird thing though, is even if I use the NoDATA option, it still freezes up!
>
>Dennis

Look closer to your SelectCmd - it currently does not have a where condition at all!
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform