B
BR
I have a report for a test that the user can select any of
the 1000 or so questions to include on the test. I am
numbering the questions in the OnPrint event of the report
detail. This works fine when printing or previewing, but
when you print from the preview screen, the detail section
is fired off again and the numbers pick up where they left
off.
If there are 50 questions when previewing, when printing
from the preview screen the question numbers will start at
51-100.
I put DIM lLine as long in the Report Declaration section
and lLine=lLine+1 in the detail section. I use lLine for
the question number.
Anyone have a better way of doing this?
the 1000 or so questions to include on the test. I am
numbering the questions in the OnPrint event of the report
detail. This works fine when printing or previewing, but
when you print from the preview screen, the detail section
is fired off again and the numbers pick up where they left
off.
If there are 50 questions when previewing, when printing
from the preview screen the question numbers will start at
51-100.
I put DIM lLine as long in the Report Declaration section
and lLine=lLine+1 in the detail section. I use lLine for
the question number.
Anyone have a better way of doing this?