Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC Error during SQL INSERT command
Message
De
03/08/2007 15:17:19
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
ODBC Error during SQL INSERT command
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01245884
Message ID:
01245884
Vues:
71
Hello Experts...

I am encountering a problem. I am updating (Insert/Update) VFP tables via SQL passthrough. It works fine for small batches. But when inserting a large # of records (500+) I get an ODBC error. It usually happens at during the INSERT command. The error will start only after inserting 500+ records.


*-- partial sample code:

lcSQL = "INSERT INTO history (trn_numb, trn_date,... id " +;
" VALUES (?trn_numb, ?trn_date,... lnId "
=ExecuteSQL(lcSQL)


Any idea what causes it. Do I need to fine tune the ODBC connection.

Thank you in advance

Raza Malik
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform