J
Juan
I been having problems with a report. I have this report
which its information comes from a query. The query asks
the user to enter the primary key record they are looking
for. The problem I have is that if they enter a key that
does not exist then the report is printed empty. I would
like to check the input that the user entered to see first
if it exists. If it does then to go ahead and print the
report. Else if it does not exist, then tell the user,
and cancel the printing. Is there any way I can retrieve
what the user entered before it immediately prints the
report? the only command I am using in VBA is :
DoCmd.OpenReport rs![Argument], acViewNormal
So I would probably would have to break all this into
maybe more steps.
Thank you
which its information comes from a query. The query asks
the user to enter the primary key record they are looking
for. The problem I have is that if they enter a key that
does not exist then the report is printed empty. I would
like to check the input that the user entered to see first
if it exists. If it does then to go ahead and print the
report. Else if it does not exist, then tell the user,
and cancel the printing. Is there any way I can retrieve
what the user entered before it immediately prints the
report? the only command I am using in VBA is :
DoCmd.OpenReport rs![Argument], acViewNormal
So I would probably would have to break all this into
maybe more steps.
Thank you