fshrago
04-18-2004, 11:58 AM
I have 2 (or more) reports which the user can chose from.
I need to allow the user at runtime chose which report to print.
currently I define the report using:
Dim Report As New CRPQuestion
I tried
If UserReport1 = True then
Dim Report As New CRPQuestion
else
Dim Report As New CRPQuestion2
End If
This fails to even run as you cannot declare the same variable (report) twice in the same procedure.
Any suggestions?
Thanks
I need to allow the user at runtime chose which report to print.
currently I define the report using:
Dim Report As New CRPQuestion
I tried
If UserReport1 = True then
Dim Report As New CRPQuestion
else
Dim Report As New CRPQuestion2
End If
This fails to even run as you cannot declare the same variable (report) twice in the same procedure.
Any suggestions?
Thanks