Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA for Access 2000 commandline question

Status
Not open for further replies.

frag

Programmer
Dec 7, 2000
321
GB
Hi!

I am trying to convert an old Access 97 database to Access 2000 but I get an error in one of the modules. The function "Command()" is unknown. This was used to receive commandline parameters that have been used in a batch file to open the database (with the switch /cmd).

I have read in the help-file that Command() will not longer work with VBA and is only available for VB. But I really need this functionality in VBA. Is there a workaround or another method to get the commandline parameter?? Does the switch "/cmd" exists at all in (VBA for) Access 2000?

Any help is appreciated!

Regards

frag

patrick.metz@epost.de
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top