T
ThomasAJ
The shortcut target is:
"path mydb.mdb" /cmd "abc"
The function Command returns nothing regardless of where I use it. By 'where
I use it" I mean that I have tried it in many places just in case it has a
'lifespan' or is 'unuseable' in certain parts of the code if you know what I
mean.
I want to use it in a function called AutoExec which is run from macro
AutoExec (a common situation).
I resorted to using:
MsgBox Command
in various locations to see the contents of Command but they were empty.
If I enter "abc" in Tools/Options/Advanced/Command-line arguments and RUN
macro Autoexec then Command does return 'abc'.
I have triple checked the spaces etc. in
"path mydb.mdb" /cmd "abc"
What the heck is going on?
PS I have run "path mydb.mdb" /cmd "abc" from Start/Run without success.
Running Access 2003 on WinXP Pro.
"path mydb.mdb" /cmd "abc"
The function Command returns nothing regardless of where I use it. By 'where
I use it" I mean that I have tried it in many places just in case it has a
'lifespan' or is 'unuseable' in certain parts of the code if you know what I
mean.
I want to use it in a function called AutoExec which is run from macro
AutoExec (a common situation).
I resorted to using:
MsgBox Command
in various locations to see the contents of Command but they were empty.
If I enter "abc" in Tools/Options/Advanced/Command-line arguments and RUN
macro Autoexec then Command does return 'abc'.
I have triple checked the spaces etc. in
"path mydb.mdb" /cmd "abc"
What the heck is going on?
PS I have run "path mydb.mdb" /cmd "abc" from Start/Run without success.
Running Access 2003 on WinXP Pro.