Results 1 to 4 of 4
  1. #1
    jaworski_m is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    25

    No selection possible in drobdown list in filter by form on concatenated field

    Hello,


    I have form based on the following query (there are more fields then one).

    Code:
    SELECT [name] & " " & [lastname] AS Employee
    FROM tblEmployees;
    When I want to use "Filter by form" on the above concatened field, the dropdown list appears empty.
    Is there a way to show list of possible choices or does "Filter by form" work only with a field based on single table field?

    Thank you for hints.
    Attached Thumbnails Attached Thumbnails EmptyDropdownListInFilterByFormOnConcatField.png  

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I've never built a filter by form (I avoid all of the design wizards). 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.

  3. #3
    jaworski_m is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    25
    Please find attached db.
    There is only 1 tbl, 1qry, 1 form, but behaviour can be reproduced.

    Steps to reproduce:
    1. click "Filter by Form" button on the ribbon ("sort and filter" tab)
    2."Filter by Form" opens
    3. Press dropdownlist of "First and Last Name" field --> empty (why?, is there a workaround?)
    4. txtFirst/txtLastName have values to choose from --> OK

    Thank you for having a look at the issue.
    M.
    Attached Thumbnails Attached Thumbnails FilterByFormEmptyDropdownList.PNG  
    Attached Files Attached Files

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I created a Calculated type field in the table (txtLastFirst), modified query, bound combobox to calculated field, data shows in list in FilterByForm.

    So the answer is - must be field from table, not calculated field in query.
    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.

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

Similar Threads

  1. Filter table based on form selection
    By tylerpickering in forum Forms
    Replies: 2
    Last Post: 12-09-2014, 04:02 PM
  2. Replies: 12
    Last Post: 03-27-2014, 06:14 AM
  3. Replies: 6
    Last Post: 08-15-2012, 04:05 PM
  4. Filter List box from combo box selection
    By thart21 in forum Forms
    Replies: 3
    Last Post: 11-09-2011, 12:00 PM
  5. Formatting a concatenated field
    By kris335 in forum Access
    Replies: 14
    Last Post: 09-21-2011, 09:56 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