I found an odd bug in A2007. I am making use of the startup switch /cmd to be able to process a specified task when my application starts.
The /cmd switch is only received / processed by Access when the started instance of Access is the ONLY one running on the computer... no matter if other instances have a different database open, or none at all.
Any ideas why other instances of Access running on the same machine prevent the /cmd Command line switches from being received? Anyway known to correct this limitation?
Example of the bug:
Access running as the only instance on the computer:
Access running a the "all databases closed" screen, another instance started from the command line with the same command line switches:

The /cmd switch is only received / processed by Access when the started instance of Access is the ONLY one running on the computer... no matter if other instances have a different database open, or none at all.
Any ideas why other instances of Access running on the same machine prevent the /cmd Command line switches from being received? Anyway known to correct this limitation?
Example of the bug:
Access running as the only instance on the computer:
Code:
Debug.Print Len(Command()) & " >" & Command() & "<"
30 >This is a way cool test! <
Code:
Debug.Print Len(Command()) & " >" & Command() & "<"
0 ><
