M
mark r
Please do not post a response if you do not have any useful guidance. It just
buries the question.
If I use Docmd.openreport Acpreview and use the where
argument I get a great preview of a single record I am
searching for.
I inserted an if-then after that AcPreview
msgbox "do you want a hard copy"
IF vbyes then
I used the same VB code and only changed to AcNormal
End if
and instead of getting one record to the printer I got 72
(all records)!
I used the exact same where clause by copy and paste. I
only changed the AcPreview to AcNormal.
1. what is happening?
2. the msgbox pops up simultaneously with the Preview
report and there for freezes out the sherlock holmes
magnifying glass until the user answers "NO" to the
message box...........so the user can't see the tiny
preview to decide if he should print to hard copy. There
is no delay between the preview and the msg box. So the
user has to click no, enlarge, think it over ...then run
it again and answer"YES" the next time. any way to delay
the msgbox?
buries the question.
If I use Docmd.openreport Acpreview and use the where
argument I get a great preview of a single record I am
searching for.
I inserted an if-then after that AcPreview
msgbox "do you want a hard copy"
IF vbyes then
I used the same VB code and only changed to AcNormal
End if
and instead of getting one record to the printer I got 72
(all records)!
I used the exact same where clause by copy and paste. I
only changed the AcPreview to AcNormal.
1. what is happening?
2. the msgbox pops up simultaneously with the Preview
report and there for freezes out the sherlock holmes
magnifying glass until the user answers "NO" to the
message box...........so the user can't see the tiny
preview to decide if he should print to hard copy. There
is no delay between the preview and the msg box. So the
user has to click no, enlarge, think it over ...then run
it again and answer"YES" the next time. any way to delay
the msgbox?