Results 1 to 5 of 5
  1. #1
    Adam1970 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2023
    Posts
    30

    List/combo box based on other selection

    Hi
    I hav a continuous form where I need a multiple choice selection which is filtered by an field.


    This I have solved however because the combo box is unbound it does not work in continuous form mode.
    Is there an alternative I could use?
    I am a novice access user.
    Thanks
    Adam

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    Not clear what ‘does not work’ means

    certainly an unbound control can be used in a continuous form but it will have the same result for every row

    you need to explain more clearly what you are trying to achieve for alternative suggestions

  3. #3
    Adam1970 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Feb 2023
    Posts
    30
    Hi
    When I select the entries in the combo box it changes all the previous entries to the newly selected option. I need to lock the original selected items so they do not update upon new entries within the continuous form.
    I hope that makes better sense.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    An unbound control is not saving data to a field. The control will display same info for all records unless it is a textbox with a calculation.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    566
    Quote Originally Posted by Adam1970 View Post
    Hi
    I hav a continuous form where I need a multiple choice selection which is filtered by an field.
    This I have solved however because the combo box is unbound it does not work in continuous form mode.
    Is there an alternative I could use?
    I am a novice access user.
    Thanks
    Adam
    Create a subform based on the table that's going to store the data. use a query as the source for the combobox, so that you cannot choose items that have already been added.
    SELECT item
    FROM SourceList s
    WHERE NOT EXISTS (SELECT 1 FROM UsedList ul WHERE ul.ID = s.ID)

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

Similar Threads

  1. Replies: 11
    Last Post: 11-09-2020, 01:56 PM
  2. Replies: 2
    Last Post: 10-29-2019, 02:24 PM
  3. Replies: 10
    Last Post: 08-19-2018, 01:22 PM
  4. Replies: 3
    Last Post: 06-16-2018, 11:12 PM
  5. Replies: 1
    Last Post: 02-03-2012, 03: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