Updating an external table

  • Thread starter Thread starter Art Vandaley
  • Start date Start date
A

Art Vandaley

Hi,

I would like to change a field of an external table which belongs to a
database located in the server. The address is something like:
\\server\folder\md1.mdb . Let's say value of field1 will be updated. How can
I write the code? Regards.
 
Change how? Do you mean you want to change, say, the name of the field, or
you want to update the data in it?
 
Update the data in it.



haber iletisinde said:
Change how? Do you mean you want to change, say, the name of the field, or
you want to update the data in it?
 
Easiest way would be to create a linked table point to it (through File |
Get External Data | Link Tables. Then, you use the linked table exactly as
if it were in your database.

Other approaches include using the IN clause in your SQL statement or
opening a database object pointing to the other database and using the
Execute method to run your SQL.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top