G
Guest
Found post 8/20/2005 from ofer and tried his solution. Also consulted on-line
docs, but still having no success passing a command line argument. Latest try
was this in a shortcut:
"G:\Access Projects\Scanning\Scanning.mdb" /cmdHOME OFFICE
Then I created a button on a form with click event:
Dim LocationID As String 'Also tried leaving it as a variant.
LocationID = Command()
MsgBox "LocationID is " & LocationID
Keeps coming up blank and I can't figure out what is wrong. Have tried
different uses of quotes in the short cut, but no luck. Help appreciated.
richard
docs, but still having no success passing a command line argument. Latest try
was this in a shortcut:
"G:\Access Projects\Scanning\Scanning.mdb" /cmdHOME OFFICE
Then I created a button on a form with click event:
Dim LocationID As String 'Also tried leaving it as a variant.
LocationID = Command()
MsgBox "LocationID is " & LocationID
Keeps coming up blank and I can't figure out what is wrong. Have tried
different uses of quotes in the short cut, but no luck. Help appreciated.
richard