Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records are not printed
Message
From
11/05/2004 02:37:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Records are not printed
Miscellaneous
Thread ID:
00902724
Message ID:
00902724
Views:
74
Hi Guys,

I created a report in VFP8 which has a problem and I can't figure out the solution. I created 2 cursors one acts as the parent and the other one as the child. The parent cursor is bound to a grid control in a form. From there I can navigate to the specific parent record that I want to print. Upon choosing a record then printing it, I execute a series of code that cleans and repopulates the child cursor for the specific details of the parent cursor. I then preview the report and the output looks just fine. The details from the child cursor are displayed in the previewed report. The problem starts when I click the print button, the printer prints the report with no details coming from the child cursor.

The child records are displayed in the preview mode of the report but are not physical printed on the paper. What seems to be the problem?

I also did some few tests that might help isolate the problem.

before previewing the report, I executed a BROWSE command to check the records of the child cursor, then I proceed in printing the report and walla the output in the paper is exactly the output in the preview.

My big question is that, why do I need to browse the cursor first before printing the report to get a correct output?

Maybe I just missed something.

Please Help

Thanks in advance...
Music Rocks www.musicreserve.blogspot.com
Success is 1% Inspiration & 99% Perspiration
God Sometimes Delays His Help to Test Our Faith and Energize Our Prayers
Our Boat May Be Tossed While He Sleeps, But He Wakes Up Before it Sinks.
Next
Reply
Map
View

Click here to load this message in the networking platform