Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert -SQL does append partial record
Message
De
13/04/2004 10:22:08
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Insert -SQL does append partial record
Divers
Thread ID:
00894404
Message ID:
00894404
Vues:
45
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform