A
Albert D.Kallal
You could just create a new mdb file, and link the tables to the existing
mdb.
That way, you can have a "special" version that don't have a startup
window.
Another approach is to use the /cmd like:
"C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE"
"C:\MY Documents\database.mdb"
/cmd "macRunMe"
Then, in your forms start up code, you can go:
if command <> "" then
docmd.RunMacro command
application.quit
end if
mdb.
That way, you can have a "special" version that don't have a startup
window.
Another approach is to use the /cmd like:
"C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE"
"C:\MY Documents\database.mdb"
/cmd "macRunMe"
Then, in your forms start up code, you can go:
if command <> "" then
docmd.RunMacro command
application.quit
end if