+ Reply to Thread
Results 1 to 2 of 2

Thread: Displaying an image conditional on an Access Report

  1. #1
    Registered User
    Join Date
    07-14-2011
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Displaying an image conditional on an Access Report

    Hello, I am fairly novice with Access in general ... but do have a decent amount of ability with VBA (mostly through Excel, though).

    I'm working on a project that is producing a product catalog through an Access Report, and here is what I am stuck on:

    There are advertising banners that they would like to display beneath the main group headers for each product category. We plan on storing these image banners into their own table, and connect to the correct one for the category through there.

    The thing is, though, that not all categories will have a banner to display.

    I'm assuming a simple check to see if an image exists for the current category would take care of whether the image shows or not ... and adjust the group header's height based on that also.

    But which event should I put this code in for it to function correctly?

  2. #2
    Forum Guru davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2007
    Posts
    1,879

    Re: Displaying an image conditional on an Access Report

    Wouldn't you want to put it on the Form_Open event?
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0