D
Don
Are there any tricks to using OpenArgs? I am trying to pass a simple string
to a report I am opening and always get NULL in the report (Me.OpenArgs).
The examples in Help see pretty straight forward, but I can't see where I am
messing up. Any suggestions?
Thanks!
Don
In command button OnClick code:
stDocName = "rptStaffingDocument"
DoCmd.OpenReport stDocName, acViewNormal, , , acWindowNormal, "Full"
In the reports Report_Open code
strStaffingScope = Me.OpenArgs
to a report I am opening and always get NULL in the report (Me.OpenArgs).
The examples in Help see pretty straight forward, but I can't see where I am
messing up. Any suggestions?
Thanks!
Don
In command button OnClick code:
stDocName = "rptStaffingDocument"
DoCmd.OpenReport stDocName, acViewNormal, , , acWindowNormal, "Full"
In the reports Report_Open code
strStaffingScope = Me.OpenArgs