Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert Into Access table
Message
De
04/06/2002 10:03:39
 
 
À
04/06/2002 04:59:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00664348
Message ID:
00664444
Vues:
25
Ger,
Try the following:
?SQLEXEC(lnAccess, "INSERT INTO mytable (no, batch, filename) VALUES (?tmpdata.no,?tmpdata.batch,?tmpdata.filename)")
If the return value is -1, use AERROR() to check what went wrong.

HTH
>I have the following code for inserting a record into
>an access table, but nothing happens.
>
>SQLEXEC(lnAccess,"INSERT INTO mytable (mytable.no,mytable.batch,mytable.filename) VALUES (?tmpdata.no,?tmpdata.batch,?tmpdata.filename)", "Mytable")
>
>lnAccess is a valid connection.
>
>Anyone any ideas?
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform