Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert -SQL does append partial record
Message
From
13/04/2004 10:22:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Insert -SQL does append partial record
Miscellaneous
Thread ID:
00894404
Message ID:
00894404
Views:
46
Table myTable has N fields: mfield1, mfield2,..., mfieldN
I use VFP6 SPT query
SQLEXEC(lnHandle, "INSERT INTO myTable (mfield1, mfield2,...,mfieldS) VALUES (?lparam1, ?lparam2, ...,?lparamS)")

If all fields are included in the SQLstring it works OK.
However, if not all field are included it does not work.
Why it happens?
Maybe because some fields don't have default value.

TIA

Edward
Next
Reply
Map
View

Click here to load this message in the networking platform