By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,490 Members | 896 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,490 IT Pros & Developers. It's quick & easy.

Report with picture in detail

P: n/a
Dear All,

I want a report for a list of products with its picture on the leftsite of
the Productname and the P-price.
So 3 controls in the detail-section: image (unbound, hight=5cm), P-name and
P-price (bound)

I have put the code in the Details_Print event to bound the image-controle.
image.picture = Path & "\" & Product-name.gif
This works fine.

But if there is no picture - test by Dir() - for a product the detail-hight
should be only 1 cm and not 5 cm.

Now my report has to many blanc places !!

HOW DO I SOLVE THIS PROBLEM !!

THANKS

Filip
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
try setting the canShrink property of the detail to true
just a though, not tested it
Dave
"Filips Benoit" <be***********@pandora.be> wrote in message
news:Bw********************@phobos.telenet-ops.be...
Dear All,

I want a report for a list of products with its picture on the leftsite of
the Productname and the P-price.
So 3 controls in the detail-section: image (unbound, hight=5cm), P-name and P-price (bound)

I have put the code in the Details_Print event to bound the image-controle. image.picture = Path & "\" & Product-name.gif
This works fine.

But if there is no picture - test by Dir() - for a product the detail-hight should be only 1 cm and not 5 cm.

Now my report has to many blanc places !!

HOW DO I SOLVE THIS PROBLEM !!

THANKS

Filip

Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.