Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 To: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
Subject: RE: can change Report page layout by code
Thread ID: 438933 Message ID: 438937 # Views: 81 # Ratings: 2
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Sunday, August 7, 2016 11:56:25 PM         
   



> Hello Experts
>
> i have report with 2 columns
>
> ok with if i have 2 images
>
> but when i single image, that time i didn't need 2 column
>
> default i set 2 columns in report
>
> what i need, before running report i will check how many images in table , if more then one
> then ok, otherwise i want to change single column
>
> with using code
>
> please guide me
>
> thanks in advance


HI,

You may find it easier to copy the report and make a second report
form and change the one to be rptOneCol.frx and the other one
called rptTwoCol.frx
Then when calling the reports check for the 1 image or 2 images
and in an If ..Else ..Endif statment call the appropriate report.

Pete "the IceMan", from the Great White North of Canada.
www.marathongriffincomputers.com

ENTIRE THREAD

can change Report page layout by code Posted by prasanna kunder @ 8/7/2016 7:12:07 PM
RE: can change Report page layout by code Posted by Pete Sass @ 8/7/2016 11:56:25 PM
RE: can change Report page layout by code Posted by prasanna kunder @ 8/9/2016 9:15:33 PM