Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Break Out of a Loop
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348930
Message ID:
01349189
Vues:
22
Hi Sylvain. Thanks for your reply.
problem is that , there may be say 30 forms to print say for 30 customers
But each customer can have a different form.
This is why I have a loop in the first place... each iteration of the loop may print a different form
This is ok for printing , but in previewing, user may want to exit out
after first few itrations of the loop.

Regards,
Gerard




>Can you just ask for the printer to use first and print all the report directly? Something like:
lcPrinter = GETPRINTER ()
>SET PRINTER TO (m.lcPrinter)
>
>FOR X = 1 TO MyCount
>    REPORT FORM MyForm TO PRINTER
>ENDFOR
>I have a loop as folows (VFP Ver 8)
>>For x= 1 to MyCount
>> Report Form MyForm Preview
>>Endfor
>>
>>This brings up the Printer Preview each time, but if there are say 300 to print,
>>this can be time consuming .
>>Is there any way of aborting out of a loop like this ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform