Hi,
Is it possible to terminate the loop, i.e.,
If the user wants to exit from displaying the report which contains 50+ pages, how he/she can do so after display few pages.
Please advise
Thanks
Abbasaif
Is it possible to terminate the loop, i.e.,
Code:
Select ViewDo
Set Order To Dono
Go Top
Do While ! Eof()
mDono = Dono
Seek mDono In ViewDo
Do While Dono = mDono And ! Eof()
Scatter Memvar
Select DoDisp
Append Blank
Gather Memvar
Select ViewDo
Skip
Enddo
Select DoDisp
Set Order To DoCode
Go Top
mstatus = 'Customer Copy'
Report Form Locfile('\reports\NtDoPrn.frx') Preview
Select DoDisp
Zap In DoDisp
Select ViewDo
Enddo
If the user wants to exit from displaying the report which contains 50+ pages, how he/she can do so after display few pages.
Please advise
Thanks
Abbasaif