passing odbc parameters via the command line

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
 
D

Douglas J. Steele

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