L
Lauren B
I'm attempting to have a value transfer between two forms when Form A opens
Form B with the following code:
On-click event procedure for command button on Form A:
DoCmd.OpenForm "FormA", , , , acFormAdd, acDialog, [FieldA]
On load event procedure for Form B:
If Me.OpenArgs <> "" Then
Me.FieldA = Me.OpenArgs
End If
I'm getting run-time error '2498': An expression you entered is the wrong
data type for one of the arguments. What can I do to remedy this problem?
Thank you in advance for any assistance.
LB
Form B with the following code:
On-click event procedure for command button on Form A:
DoCmd.OpenForm "FormA", , , , acFormAdd, acDialog, [FieldA]
On load event procedure for Form B:
If Me.OpenArgs <> "" Then
Me.FieldA = Me.OpenArgs
End If
I'm getting run-time error '2498': An expression you entered is the wrong
data type for one of the arguments. What can I do to remedy this problem?
Thank you in advance for any assistance.
LB