Results 1 to 6 of 6
  1. #1
    FM_5k is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2011
    Posts
    3

    Question Question regarding images

    Hello all!



    I am a bit new to Access, but am currently trying to self teach/take courses related to database structures and so forth.

    I am currently working on a database, and have a question about images on forms.

    I certainly understand how to put an image on the form, and even to get it to change every time the form is opened up, but my question is, is there a way to make the image change automatically on the form? ( similar to a slideslow )

    The form is the opening form for the database, and I would like to "dress" it up a little from the boring one image that is constantly there, since I sometimes am on that form for a time. ( I guess this more for my personal use than any. )

    Any feedback will be greatly appreciated.
    Thanks in advance!

    Cole F.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    One way that comes to mind is to use the form's timer event (and interval). You can put code there to set the image.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    FM_5k is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    3
    Thanks for responding.

    I am currently using the forms timer interval to run a live clock ( Since its a full screen form ).

    The time interval is set at 1000 ( 1 second ) for the clock to continue running through the seconds. If I wanted the images to change every 10-15 seconds, could I do this in the code without changing the actual form timer interval?

    Thanks again

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Sure, you can have a form level variable that you increment each time the code runs. When it gets to 15, change the image and reset the variable.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    FM_5k is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    3
    Ok. That makes perfect sense.

    Thanks again for your help. I'll go try it out and see what happens.

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    No problem, and welcome to the site by the way!

    I'll mention that this isn't the type of thing I'd do in a production application, due to the overhead of the timer and images and the potential performance issues they might cause, but it sounds like a great training exercise.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Combo Box / Images
    By mngisguy in forum Forms
    Replies: 0
    Last Post: 04-18-2011, 08:40 AM
  2. Replies: 17
    Last Post: 08-26-2009, 11:27 AM
  3. Newb- Trying to use images and such.
    By TriAdX in forum Access
    Replies: 3
    Last Post: 08-18-2009, 10:07 AM
  4. Images in report
    By rudyp in forum Reports
    Replies: 1
    Last Post: 03-24-2009, 09:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums