Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Loading Certain CursorAdapter Object
Message
 
 
À
13/10/2010 08:08:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MySQL
Application:
Desktop
Divers
Thread ID:
01485221
Message ID:
01485224
Vues:
68
Are you pulling all the records from the table?

BTW, why aren't you using varchar for long character columns?
>
>I have a database app tracking the delivery status of parcels. All is fine during installation and testing. I use my CA and DE classes in getting data from a MySQL database server. It has several tables like Clients, Products, Locations and transaction tables like JobOrders, ParcelTransfers, Deliveries etc.. The "heart" of it all is the Parcel table.
>
>After two weeks of field testing, the number of parcel records grew to 90,000. Two forms used then resulted in either a long long loading time which took hours on end before being shown on screen. I then traced the problem to this: any module (form) accessing the Parcel table would hang up! Even when I open the Parcel table via my CA class in the command window, it causes my VFP to show "Not Responding" error! It should be noted that when the record count was just a couple of thousands then it worked fine.
>
>If I use SQLEXEC() though, it works. Also in using the MySQL Query Browser.
>
>My question is, is there a "limit" to using the CursorAdapter? Below is the structure of the Parcel table:
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform