You can create a linked table using ODBC, and you can write an Append query
that uses the data in the linked table to overwrite the contents of another
table. Is that what you had in mind?
Doug
I was importing using ODBC rather than using Linked
Tables. With Linked tables would there be a danger of
changing the original data in the SYBASE database ?
Gerry
Yes, linked tables (usually) are read-write, so you could be changing the
original data.
You can import using ODBC, though, just as easily as you can link. File |
Get External Data | Import, and choose ODBC Databases in the "Files of type"
combo in the bottom right hand corner of the dialog that appears.
the "Files of type" What I want to do is put this in a
Macro or VB statement so I can attach it to a button on a
form for the user to run. Can you help with that.
Mank Tks
Do it manually, and then look in the Connect property of the linked table to
see what's required. Take a look at http://www.mvps.org/access/tables/tbl0010.htm at "The Access Web" for one
way to relink ODBC tables through code.
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.