Hi Reza,
The system counts the lines as they print. EJECT resets the count and sends linefeeds until _PLENGTH is reached. You just need to set _PLENGTH "on the fly" before you send EJECT.
Search on EJECT in help.
>dear mike
>NumberOfLines in my report is variable. what must i do about this?
>thanks
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney