Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From vfp update access table
Message
 
To
07/04/2004 15:36:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00892727
Message ID:
00893216
Views:
14
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform