Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing problem - only 1 record is printed in a report?
Message
From
12/10/1999 19:29:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Printing problem - only 1 record is printed in a report?
Miscellaneous
Thread ID:
00275667
Message ID:
00275667
Views:
63
Dear all,
First of all I thank all who have given me helping hands before - too many names to mention! I am an amateur programmer without formal training in computer. I managed to finish many projects(of course with your helps!)
This time I faced with a printing problem with VFP V 6.0:
1. I use a command button to print a report.
2. Before that I zap a temporary file and append records into it.
3. I issue REPORT FORM .... TO PRINTER NOCONSOLE
4. Details of the report: the textbox is associated with the fields in the temporary file. No data environment is added to the report.
5. This routine works fine for me for a number of projects. It doesn't work this time! Only 1 record is printed!
I have spent nearly two days attempting to solve this problem. But it failed. Here's the findings:
1. The report works well independently - all records are printed.
It doesn't work within the program.
2. After running the program I examine the temporary file - all records are there!
3. If I print the report twice in the program the first one out is with 1 record and the second is alright.
4. If I insert SET SAFETY ON before ZAP and I select NOT ZAP, the outcome is alright. If I select YES it is not alright.
5. If I choose a wrong printer and choose IGNORE the printout is alright.
6. I have tried many ways - sometimes work but afterwards fail and there is no consistency.

I have really exhausted all methods I can think of.

******* I look foreward to a helping hand! ********

Thanks in advance.

Harry Mak
Next
Reply
Map
View

Click here to load this message in the networking platform