Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating a report to a file
Message
From
30/11/2007 03:06:16
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01272197
Message ID:
01272341
Views:
15
>>I have a routine which prints a report to a pdf file (using PDFfactory). After the REPORT FORM clause has been initiated my code continues to run - BUT the subsequent lines of code are dependent upon the PDF having been generated. Sometimes the pdf generation takes several seconds and the subsequent code breaks. I have tried putting in a LOOP statement to check for the PDF file being generated, but this does not seem to work consistently - sometimes just getting stuck in the loop because (I assume) the loop is taking all the processing time and the pdf cannot be completed.
>>
>>I hope this makes sense - and if it does, has anyone any suggestions how to get around the problem?
>>
>>Thanks
>>Barry Sutton.
>
>May be you can try to monitor file creation using Solution Samples -> New in Visual FoxPro 9 -> Binding to Windows Message Events -> File/Folder Shell Events

Naomi, thanks I will give it a go and let you know. Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform