Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Records From VFP To Append to MS Access Table
Message
De
14/03/2008 04:17:39
 
 
À
14/03/2008 02:25:26
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01302047
Message ID:
01302053
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform