473,804 Members | 3,809 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report with picture in detail

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
1 1256
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******** ************@ph obos.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3921
by: Ranman | last post by:
Hi all, I have a simple problem that hopefully has a simple solution, but I have yet to figure it out. In a patient database, I have a physician test order form that populates a report that is then printed and mailed out or faxed. It would be nice to have the doc's electronic signature show up on this report, but we have 4 or 5 docs that order tests. So, I would like to use a combo box on this form to select from a
0
1238
by: Filips Benoit | last post by:
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.
5
2301
by: Erwin | last post by:
At the moment I'm using a report which contains an indicator to show if a Service group of the company isn't working well or is working perfectly. This indicator is a "*" which looks like a traffic light. Example: When a Service groep does hit the target, the indicator will lit up using the following Control Source: =IIf(>0,8*10*;"*") But now, I would like the use a real bitmap, trafficlight bitmaps, to
6
8195
by: Salad | last post by:
Hi: I have a Bill of Lading template from the printer that I saved as a BMP. I created a new report and in the report's picture property told it the BMP file name. It brought the image in just fine. I then placed the fields in the report. Then I previewed the report. The picture resized or something and all of my nice fields were no longer in the same position. It didn't make any difference if I selected Crop, Zoom, or...
1
2774
by: cityrock | last post by:
Hi everyone, I have been searching 3 days stright for an answer, with no luck, so I decided to ask it out loud myself. Here is my problem. I am using a report as a catalog for my company. The main report holds our products with details (each detail is a product based on our products table). Some of the products show up twice on the main report (as they have diffrent specifications per line). I thought that instead of putting the...
1
1966
by: Wayne | last post by:
I have an image control in a report's detail section that gets its image from an invisible bound textbox (PhotoFile) on the report. The following code is placed in the report's Detail_Format event. Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Me.Image1.Picture = Me.PhotoFile End Sub I can't get this to work if I place the image control in the report header or page header and then try to use the...
1
1945
by: Parasyke | last post by:
I have a report that I want to print for a product specification sheet with a photo of the product. I have the photos stored in a separate folder from my Access 2000 database. I have a form that when I choose a product all the info for that product appears on the form appropriately, including the image path (e.g. C:\ABCcompany\Prods\Item894654.jpg). The form's data appears appropriately on the report for that item. How can I place an image...
1
2234
by: urange | last post by:
Hi to all, I am setting up a database which has to store a great number of images. I will therefore store the images not as OLE but as a text link to the file (maybe I'll try the BLOB-solution). While it is no problem to show the image in a form with the .picture property, I am trying to find a way to show the image on a report. So far, I can only do this by the following code sequence: stDocName = "Test_Report"
7
1943
by: PW | last post by:
Hi, I'd like to add a picture in a report where the path to the picture is from a table, depending on the dogid that is on the report (in the detail section). How can I do this? Thanks!
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10325
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9140
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4295
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.