Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Procedure Within a Loop
Message
De
09/04/1999 11:56:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Printing Procedure Within a Loop
Divers
Thread ID:
00206923
Message ID:
00206923
Vues:
46
I use Foxpro 2.0 for dos. I have an array that I want to loop through and print a job cost for depending on certain criteria in two of the columns of the array. I use a for loop but it always prints the first valid job cost over and over. I check for the criteria and if the row meets the criteria then I do a procedure which is the report print done in code, not a report done with the report wizard. It seems like the loop is only going until it finds the first valid row, prints, and then starts looping at the beginning again. Is there something in the print procedure that is terminating the loop? I set the printer on, set device to printer in the procedure, set printer off, and set device to screen all in the print procedure. I have tried moving the set on commands to run before the loop, and the set off ones after the loop, but this doesn't make any difference. Any ideas? Thanks

Rhea Urusky
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform