Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Error during SQL INSERT command
Message
From
03/08/2007 15:17:19
Raza Malik
Universal Accounting Software
Edgewater, New Jersey, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
ODBC Error during SQL INSERT command
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01245884
Message ID:
01245884
Views:
70
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
Next
Reply
Map
View

Click here to load this message in the networking platform