Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records From VFP To Append to MS Access Table
Message
From
14/03/2008 04:17:39
 
 
To
14/03/2008 02:25:26
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01302047
Message ID:
01302053
Views:
18
Hi,

AFAIK there is no way to append data to MS Access tables without ODBC or something equivalent to it. So first of all you will have to access the VFP table and in a second step you will have to use i.e. an odbc-connection to the MS Access table and do something like
 sqlstring = [insert into myaccesstable (myval1) values ("value")]
 sqlresult = sqlexec(myODBCconnectID,sqlstring)
 if sqlresult < 0
  * display message that something went wrong
 endif
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Reply
Map
View

Click here to load this message in the networking platform