Results 1 to 3 of 3
  1. #1
    green369 is offline Novice
    Windows 10 Office 365
    Join Date
    Jul 2020
    Posts
    5

    Combobox should show the values upto the number in the field value of the table

    Dear friends,

    i am having a form PNumberF in which FIDCombo box selected from drop down, TotalP textbox will be populated as per FDetails Table field TotalNoofP value

    My requirement is PNumber combobox should display values upto the number TotalP textbox value as per the selected selected FIDCombo box value

    can you help me with this please suggest any corrections

    i have attached my access file in zip format for your reference


    Thanks & Regards
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,006
    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
    Join Date
    Apr 2017
    Posts
    1,687
    Have a table where are listed numbers from 1 to some value big enough.

    For combos rowsource, use a query like
    Code:
    SELECT NumberVal FROM tblNumberList WHERE NumberVal <= Me.TotalP

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

Similar Threads

  1. Replies: 8
    Last Post: 07-17-2022, 08:48 AM
  2. Replies: 2
    Last Post: 04-09-2016, 01:23 PM
  3. Replies: 5
    Last Post: 05-17-2013, 10:45 AM
  4. Replies: 1
    Last Post: 04-26-2013, 05:30 PM
  5. Combobox to show two field values
    By lnordstrom in forum Forms
    Replies: 2
    Last Post: 03-30-2011, 12:33 PM

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