> 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