Article ID: 177475
Article Last Modified on 1/22/2007
C:\Program Files\Microsoft Office\Office\Msaccess.exe _
C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb _
/cmd "Orders"
C:\Program Files\Microsoft Office\Office\Msaccess.exe _
C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb _
/cmd "Employees"
Function CheckCommandLine()
' Check value returned by Command function.
If Command = "Orders" Then
DoCmd.OpenForm "Orders"
ElseIf Command = "Employees" Then
DoCmd.OpenForm "Employees"
Else
Exit Function
End If
End Function
Action
-------
RunCode
AutoExec Actions
-----------------------------------
RunCode
Function Name: CheckCommandLine()
Additional query words: shortcut short cut making creating
Keywords: kbhowto KB177475