Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan Through Table for Printing
Message
 
À
24/07/2002 14:20:45
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00682187
Message ID:
00682229
Vues:
12
Hi,

Probably the same as the problem I encountered with cascade delete
in the database. Try doing your delete at the end using delete for
instead of deleting within the scan loop.

HTH,
Arriyel

>Why does the following code only pick the first record for printing?
>
>Select inittbl
>Scan
>
>edrno = AllT(inittbl.nedrno1)
>edr_subno = inittbl.nmsub
>
>SET PROCEDURE TO WWAPI ADDITIVE
>SET PROCEDURE TO WWPDF ADDITIVE
>SET PROCEDURE TO nadatest ADDITIVE
>oPDF=CREATE("wwPDF40edrs")
> llResult = oPDF.PrintReport("newbedrform.frx",;
> "\\gvmain\applications\foxapps\edrmanagement\edrhold\" + AllT(edrno) + AllT(Str(edr_subno)) + "1.pdf")
>
>Delete
>EndScan
>Set Printer To Default
Speak using soft and sweet words in case you have to eat them later.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform