Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From vfp update access table
Message
 
À
07/04/2004 15:36:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00892727
Message ID:
00893216
Vues:
19
Michel,
Is the Number field in Access DB is in Number format or Character field? If The number(field) is Number You try to insert a String into Number
*** values ('00006534','03')
************ String    String
************
* May be when You generate the string You must not put "'" before & after myresult.number

lcsql = "insert into [otherissuer] (number,type) values ("
lcsql = lcsql + myresult.number+","
lcsql = lcsql + "'"+myresult.type+"')"
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform