passing odbc parameters via the command line

  • Thread starter Thread starter Todd
  • Start date Start date
T

Todd

Hi,

I need to pass the ODBC username/password parameters to
access via the command line, but I haven't seen a switch
to do such. I'm able to start access and run a macro
using the /x switch on the command line, but I can't
figure out how to pass the ODBC information via the
command line. If someone could help me out I'd greatly
appreciate it. Thanks.

Todd
 
You can pass anything you want using the /cmd flag (which must be the last
parameter passed on the command line). You can read what you passed using
the Command() function.
 

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