Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can this VFP report problem be solved with version 9.0?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00920703
Message ID:
00920780
Vues:
39
Hi Lisa,

Thanks for helping again.

>[FIRST: this question has absolutely *nothing* to do with the picture template thing I posted about earlier -- just in case anybody else is confused by your terminology (because I was <g>).]
>
>David, before I waste any time trying to repro this...

>... have you already tried your instructions with 9?

Yes I have tried it in 9. It seems the same as 6.0.

>
>There was a definite bug related to what you are talking about -- which I think we fixed. And as far as I know the fix would be good whether you were running old-style or new-style output. Nothing to do with the new rendering mechanism, IOW, a fix to the Engine used for both mechanisms.
>
>Some additional questions for you, which would be required for a repro:
>
>1) Why two detail bands in this case?

With two detail bands, the height is slightly reduced, so it does help a bit. Say the height of the picture template is 3 inches, and the height of the text fields are 0.5 inches. That is a total of 3.5 inches if you have only one detail band. That means that 3.5 inches is the value that the report writer uses to decide if another record can print or not.
However, by putting the picture template in detail band 1 (3 inches height) and the text fields in detail band 2 (0.5 inches) the report seems to use the height of the highest detail band (3 inches), so you have saved 0.5 inches.


>Where are the pictures coming from, IOW (I can't see what you would accomplish by doing this if you're not using multiple related tables -- so I want to remove multi-details from the equation when trying to figure out what's going on).
>

The table has a character field called picname. The pictures (.jpg’s) are all in a separate folder. Just the path and file name are stored in field picname eg: \pics\product23.jpg

>2) Is the varying picture coming from a General field or an indirect reference to a file on disk (text field with filename, variable, or whatever). It matters <s>.
>
Indirect reference to a file on disk. The picture properties are as follows: Control source is selected as ‘Expression or variable name’ and in the textbox below is the string “c:” + product.picname (which would evaluate to c:\pics\product23.jpg)


>3) Please do indicate all the settings for Print When, even if you think they are not involved.
>

For the picture template, in the ‘print when’ tab, “remove line if blank” is ticked. The ‘Print only when expression is true’ contains the following: not empty(product.picname)

Thanks for all your effort Lisa

regards
David Wheeldon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform