V
Vadim Rapp
Hello,
I create a report and put the following VBA code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
MsgBox "hello"
End Sub
In VBA, I put debugging break on Msgbpx line. Then I open the report for
preview, and the code breaks as it should. But then when I print from the
preview, the code runs and I see another "hello", but it does not break.
If I print the report without preview, it also does not break, though it
shows the message, so the code does run.
Why it does not break?
thanks
I create a report and put the following VBA code:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
MsgBox "hello"
End Sub
In VBA, I put debugging break on Msgbpx line. Then I open the report for
preview, and the code breaks as it should. But then when I print from the
preview, the code runs and I see another "hello", but it does not break.
If I print the report without preview, it also does not break, though it
shows the message, so the code does run.
Why it does not break?
thanks