Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert Into Access table
Message
From
04/06/2002 10:03:39
 
 
To
04/06/2002 04:59:03
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00664348
Message ID:
00664444
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform