Results 1 to 5 of 5
  1. #1
    TestUser0 is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2025
    Posts
    2

    Question Help with microsoft acces forms

    Let's say I have a list 3 tables:



    1) Customer table called tblCustomer - table with all customers each with unique CustomerID
    2) A food look up table called lkpFood - table with all the different foods and their category as well as a unique FoodID.
    3) A junction table called juntblCustomerFood - a table with relationships to CustomerID and FoodID and then also the number of items of that food item that were ordered.


    Now I am creating a Customer form and I want to figure out whats the most user-friendly way to display the foods and allow user to fill the form. Ideally the foods would be separated by category and all the user would have to do is to tick a check box of the food and then enter how much of that item was used. Can I get some help on the best way to do this (ideally with using little to no VBA code).

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    I would have thought VBA would be needed.

    I might have a combo for category. A multi select listbox that depends on that combo.

    Then a button to create records in a continuous form that holds a control for the amount of each item.

    I use a FAYT combo to find foods, regardless of category in my Diabetes DB. However that is just a simple continous subform.
    Attached Thumbnails Attached Thumbnails Screenshot 2025-08-21 125732.png  
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    TestUser0 is offline Novice
    Windows 11 Office 365
    Join Date
    Aug 2025
    Posts
    2
    Quote Originally Posted by TestUser0 View Post
    Let's say I have a list 3 tables:

    1) Customer table called tblCustomer - table with all customers each with unique CustomerID
    2) A food look up table called lkpFood - table with all the different foods and their category as well as a unique FoodID.
    3) A junction table called juntblCustomerFood - a table with relationships to CustomerID and FoodID and then also the number of items of that food item that were ordered.


    Now I am creating a Customer form and I want to figure out whats the most user-friendly way to display the foods and allow user to fill the form. Ideally the foods would be separated by category and all the user would have to do is to tick a check box of the food and then enter how much of that item was used. Can I get some help on the best way to do this (ideally with using little to no VBA code).
    I have tried that but the user said he prefers to have all the foods visible so that he can just tick the relevant ones and choose the qty.

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    I have tried that but the user said he prefers to have all the foods visible so that he can just tick the relevant ones and choose the qty.
    why tick a box? just enter a quantity?

    and how many foods are there ? Less than can be displayed in one column on the screen? More? If more is the user happy to scroll?

    do the foods need to be grouped in some way? Viewed alphabetically? By expiration date?

  5. #5
    jojowhite's Avatar
    jojowhite is offline Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    430
    maybe frmOrders on the attached db can be of help to you.

    Attachment 53203
    Attached Thumbnails Attached Thumbnails orderfrm.png  
    Attached Files Attached Files
    Last edited by jojowhite; 08-22-2025 at 04:27 AM.

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

Similar Threads

  1. Acces normal forms what buttons do I use.
    By patricia2626 in forum Access
    Replies: 0
    Last Post: 02-22-2020, 05:04 PM
  2. Replies: 3
    Last Post: 11-19-2013, 11:13 AM
  3. Replies: 2
    Last Post: 10-24-2012, 10:43 AM
  4. Acces DB Setup Help.
    By dbalilti in forum Access
    Replies: 4
    Last Post: 06-01-2012, 01:05 PM
  5. acces listbox hatası(acces debug)
    By carso in forum Access
    Replies: 1
    Last Post: 09-22-2009, 04:11 AM

Tags for this Thread

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