M
Mark J Kubicki
behind a command button click event, I have this code
(where manufacturer and catalogno are valid fields on the form):
...
Dim strOpenArgs As String
strOpenArgs = "true" & "~" & Me.Manufacturer & "~" & Me.CatalogNo
DoCmd.OpenForm "frmFixtureCatalogueCostHistory", acNormal, ,
"[Manufacturer] = '" & _
Me.Manufacturer & "' AND [CatalogNumber] = '" & Me.CatalogNo & "'",
, , strOpenArgs
behind form: frmFixtureCatalogueCostHistory, I have this code
Private Sub Form_Open(Cancel As Integer)
Dim strOpenArgs As String
strOpenArgs = Me.OpenArgs
MsgBox strOpenArgs
...
however, me.OpenArgs is returned as Null (and the message box does not
open...)
....any suggestions (and thanks in advance),
mark
(where manufacturer and catalogno are valid fields on the form):
...
Dim strOpenArgs As String
strOpenArgs = "true" & "~" & Me.Manufacturer & "~" & Me.CatalogNo
DoCmd.OpenForm "frmFixtureCatalogueCostHistory", acNormal, ,
"[Manufacturer] = '" & _
Me.Manufacturer & "' AND [CatalogNumber] = '" & Me.CatalogNo & "'",
, , strOpenArgs
behind form: frmFixtureCatalogueCostHistory, I have this code
Private Sub Form_Open(Cancel As Integer)
Dim strOpenArgs As String
strOpenArgs = Me.OpenArgs
MsgBox strOpenArgs
...
however, me.OpenArgs is returned as Null (and the message box does not
open...)
....any suggestions (and thanks in advance),
mark