×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Multiple images on a report

Multiple images on a report

Multiple images on a report

(OP)
I am using MS Access 2007, Windows 8.1.

I input the FilePath to 11 Chapter Officer images and names on a form using a table source. That Works oK.

My Table:
Org (Organization number to re-org the officers if needed).
ChapterOffice (President, VP, Membership, etc)
OfficerName (Tom, Bill, Mike, Etc)
FilePath (C:\Chapter\.*)

I want to preview all 11 images with the officers names on one report page. Not sure how to do it. I have created a query with additional field names: FilePath1, FilePath2 etc, and filtered each field for the correct FilePath. I identify the appropriate query field in the control source and it puts the image where I want it. Problem is when I preview the report I get record per page.

It might work if I could insert all FilePaths and Officer Names in one record or imbed the image in the table. The file size is small and it would seem simpler.

Any help??

Ron

RE: Multiple images on a report

Hi Ron,

I assume you are using the Print Preview mode. If only one record is being displayed per page then I assume
  • your detailed section is too tall to fit multiple records on a single page
  • your margins and other section heights are too tall
  • you have something that forces a new page per record such as a page break control
You haven't provided any heights or margins so it's a bit difficult to state exactly what your problem might be.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

RE: Multiple images on a report

(OP)
Duane:

I'm creating a chapter directory, 8.5"H x 5.5"W. The pictures are each 1.125"H x .8125"W and fit in a 3 x 3 array on the page with two photos at the top. I can and have copy/copied the photos to the controls individually but I'm thinking long-term for the guy that follows me and may not know how to do this procedure.

I'm using DoCmd.OpenReport stDocName, acPreview in the form SUB to display my images.

Ron

RE: Multiple images on a report

Hi Ron,
Apparently you are storing the path to the image file in your record and not using an attachment field?

You can use code in the On Format event of the detail section of your report to set the Picture property of an image control to the image file. Is that what you are doing?

CODE --> vba

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
    'assuming your fully qualified picture file name is stored in FilePath
    Me.Image1.Picture = Me.FilePath
End Sub 

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close