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.
 
Back
Top