Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: Bebot Chan
  Where is Bebot Chan?
 Riyadh
 Saudi Arabia
 Bebot Chan
 Tags
Subject: RE: Can I change the group setting at runtime?
Thread ID: 22818 Message ID: 22835 # Views: 0 # Ratings: 0
Version: Visual FoxPro 7 Category: Reports and Printers
Date: Monday, April 28, 2003 3:26:49 AM         
   


> > Dear All,
> > I want to change the report setting like start the each group on a new page at run time. Is it possible?
> > Thanks in Advance.
> > Regards,
> > Suvi Joseph
> > www.sssoftwares.com
>
>
> Suvi,
>
> Its possible by hacking the FRX. If your report name is MyReport, you can programmatically open it by USE MyReport.Frx. From there, look into the field OBJTYPE (should be 9) and check out the field EXPR for the Expression that you have GROUPED. Once you've zoomed in on the particular record, change the PAGEBREAK field setting to either T or F.
> Bebot


Hi,
Being the lazy sod that I am... I code the first report, copy it in explore to a different name
and modify it to the 2nd version I want of the report. Copy it again to a new name to the
3rd version of the same report. Then simply call report1, report2, or report3 via command button
options, or a right-click activated shortcut menu. 3 to 4 extra reports in an entire application will
not really code bloat your program.

Pete from the Great White North. (Only in Canada, ay.) Over and Out ...


COMPLETE THREAD

Can I change the group setting at runtime? Posted by Suvi Joseph @ 4/26/2003 2:11:49 PM
RE: Can I change the group setting at runtime? Posted by Bebot Chan @ 4/27/2003 3:41:16 PM
RE: Can I change the group setting at runtime? Posted by Pete Sass @ 4/28/2003 3:26:49 AM
RE: Thanks!!! Posted by Suvi Joseph @ 4/28/2003 10:09:44 AM