Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    LittleRock Z is offline Novice
    Windows 10 Access 2007
    Join Date
    Feb 2024
    Posts
    18

    combobox population

    Quote Originally Posted by Bob Fitz View Post
    Well, IMHO, the best and easiest solution would be to use a combo box in the Header section of the form.
    Does that mean the combobox would have every possible LOT number for the user to choose from?
    How does it get populated when a new record is incerted into the input table?

  2. #17
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,566
    Yes, just create a table with all the possible lot numbers and use that. As you type 23, it will jump to 230. Providing you ordered it correctly.
    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. #18
    Micron is online now Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,424
    If you already have a field with your lot numbers, don't duplicate them in another table for this. Use a query to get all of them and base the combo rowsource on that. If the lot number records have unique id's and those values are foreign key fields in the table where you want to 'jump to' some record, you might want to include these values in the 1st combo column (but hidden) and filter the records you want to go to as in

    WHERE myTableRecords.ID field = combo column(0)

    Not exactly like that, as that is more English than code.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 11-17-2021, 04:50 PM
  2. Replies: 4
    Last Post: 10-29-2016, 12:20 AM
  3. Replies: 1
    Last Post: 10-27-2016, 10:51 PM
  4. Replies: 4
    Last Post: 06-01-2013, 11:32 PM
  5. Replies: 0
    Last Post: 11-22-2011, 09:10 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