Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan Through Table for Printing
Message
 
To
24/07/2002 14:20:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00682187
Message ID:
00682229
Views:
13
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform