Import an ODBC file from code

M

McLean J

I have been given the DSN, username and password of a SQL database and need to write code to
1. import the data into a new table
2. append the data into an existing pre-defined table

These would be two separate options.

Where is a good resource for this feature?

mcj
 
R

Rodrigo

You could just do a link table to the sql server and then either create
MakeTable query or an Append Query.

That would be the easy way. Or you could get complicated and open recordsets
to the sql server database, or a passtru query, etc, etc. It's all on the
help.
 

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

Top