Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report - label doesn't appear in second page (VFP6) 1

Status
Not open for further replies.

Rock4J

Programmer
Jan 14, 2013
94
MY
Hi, can anybody help me to solve this? probably there is code that I can use to prevent the label from disappearing in the second page. :)

Regards,
Rocky
 
By the way, the label doesn't linked or related to any variable or whatsoever. it is simply just a label. I know it is strange, but I hope that there is somebody who can help me here. :D

Regards,
Rocky
 
Here is some screenshots, it might be useful for the explanation.. :)

1) The report form
Screenshot1.JPG


2) Sample of 2 page report
Screenshot2.jpg

Screenshot3.jpg

The label "Shipping Mark" Doesn't appear in the second page (last page) of the report.

3) Sample of 1 page report
Screenshot4.jpg


* Both (2 page & 1 page report) are the same report form "popckml.frx".



Thank you in advance! =)

Regards,
Rocky
 
Here is some screenshots, it might be useful for the explanation.. :)

1) The report form
Screenshot1.JPG


2) Sample of 2 page report
Screenshot2.JPG

Screenshot3.JPG

The label "Shipping Mark" Doesn't appear in the second page (last page) of the report.

3) Sample of 1 page report
Screenshot4.JPG


* Both (2 page & 1 page report) are the same report form "popckml.frx".


Thank you in advance! =)

Regards,
Rocky
 
Your report design is totally weird. You really have tons of fields per record you put into multiple lines in a detail band?

That doesn't explain, why a label would not reprint on page2, but what is your Print When condition? Is there anything in there?

Bye, Olaf.
 
Thanks Olaf and Mike, sorry for the late reply.
I'm still trying to find the problem. I have checked the print code and it seems like no problem. I'll keep digging out first.

Thank you :)

Regards,
Rocky
 
I have checked the print code and it seems like no problem.

I think they meant the 'Print When' condition of the label, which is a label event.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
The "Print When" options are shown if you press on the Print When button, which is shown in the Screenshot you gave.

In more recent VFP Versions there is a "Print When" Tab in Label Properties, I don't know what the VFP popup dialog will show, if you click "Print When", but I assume you get access to the same settings, of which one is the Print When Condition itself, suppressing print of the text, if the expression is .F., eg Print When _pagenum = 1 would only print the text on page 1. In VFP9 there also is the "print repeated values". If that is set to No in a Label/Text, that label also is only printed once, as of course a constant Text IS a repeated value. And there is another section "Also print". All of this influences when or how often the Text is printed.

I think while the report designer UI has changed, also VFP6 had allo these options and settigns behind the "Print When" button.

So, take a closer look there.

Bye, Olaf.
 
Orite Olaf, I will try to look for it. Thanks ! :D

Regards,
Rocky
 
Finally !! It's true Olaf.. You're the greatest.. ;D

Thank you so much !! :)

Print+When.JPG


Regards,
Rocky
 
:)

fine. So it has hidden very well as the last clause, only visible if you pop up the whole expression.

I could only have shrugged, if it hadn't been there.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top