JOE said:
I am trying to open a form from outside of Access.
I have a trigger on an SQL table that I want to add the
DOS command line to open the DB and the form.
Yes, I understood that.
Assuming you have a macro named OpenMyForm that opens form
MyForm, then the command line would be:
"path to ms access" "path to your mdb file" /X OpenMyForm
If you're trying to find a way to do this without changing
the mdb file, I think you're out of luck.
BTW, it won't answer your question, but you can create a
desktop shortcut to a form by just dragging the form object
from the database window to the desktop.