Results 1 to 3 of 3
  1. #1
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376

    Trying something new and having issues

    Hello all,



    I am creating a new database and want to have a set up form where the user can select an image to use as the background for all of the forms and also put in a company name that will appear on the forms and reports. I don't know how to set that up and be able to tell it using VB that the image and company name needs to set the properties of each.

    Does that make sense?

    Thanks in Advance
    Dave

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,974
    The easiest method is probably to have a settings table where the company name and image path will be stored as text.
    Then use a template form as the basis for each form where
    1. The company name is obtained using a DLookup in a textbox.
    2. The image control source uses another DLookup
    Or create a function for each that does the DLookup.
    BUT I would advise using a small image control rather than having a background image for the form.
    A large background image will probably need to be a large file or the quality may be poor.
    If so, the form may be slow to load.

    By using a template form as your starting point for all your forms you only need to write the code once
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    Dave14867's Avatar
    Dave14867 is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Location
    Upstate NY
    Posts
    376
    isladogs,

    Thanks, I'll give that a try

    Dave

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

Similar Threads

  1. VBA Sql date issues
    By Larryg in forum Queries
    Replies: 7
    Last Post: 04-02-2017, 02:29 PM
  2. Many to Many Issues
    By chrisdogg in forum Forms
    Replies: 5
    Last Post: 01-11-2017, 05:26 PM
  3. Relationship Issues Help
    By fuecheefang in forum Access
    Replies: 3
    Last Post: 10-08-2015, 09:59 AM
  4. If Statment Issues
    By Wasp1 in forum Modules
    Replies: 3
    Last Post: 04-30-2014, 11:43 AM
  5. VBA debuggin issues....
    By sjl in forum Programming
    Replies: 1
    Last Post: 08-29-2011, 01:47 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