E
Elwin
I came across some documentation that references a '/cmd'
command line switch you can use to pass parameters to your
database on startup. If I Start/Run my database using the
following;
C:\myfile.mdb /cmd 1
Private Sub Form_Load()
var = Command()
End Sub
I'd expect the Command() function to return 1 in the OnLoad
() event of my startup form, but it seems to return Null
no matter what I do. I'm hoping that someone can explain
to me how I can properly effect the value returned by the
Command() function.
command line switch you can use to pass parameters to your
database on startup. If I Start/Run my database using the
following;
C:\myfile.mdb /cmd 1
Private Sub Form_Load()
var = Command()
End Sub
I'd expect the Command() function to return 1 in the OnLoad
() event of my startup form, but it seems to return Null
no matter what I do. I'm hoping that someone can explain
to me how I can properly effect the value returned by the
Command() function.