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

    Filter by form shows only "Is Null" and "Is Not Null" value in split database

    Hello,

    I split database into FE (forms, queries...) and BE (tables with data) for distribution.
    When Filter by Form is active only 2 values are available in combobox filter ("Is Null", "Is Not Null"). All other functionalities of the form work fine (data display).
    In the unsplit database Filter by Form works as expected.

    All the forms behave like this. See attached file showing behavior in unsplit (filter by form is OK) and split database (filter by form is NOK)


    Recordsource for forms are queries.

    type of filtered fieleds - TEXT (no memo fields)

    What is the reason of this behavior and how can it be fixed so that filter by form works in split database?
    Thank you for hints


    Click image for larger version. 

Name:	Filter_By_Form_Combox_In_Split_Database_Show_Only_Is_Null_Values.png 
Views:	13 
Size:	73.3 KB 
ID:	19408

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the combobox filter control, being a drop down, must have a record source - - inspect that record source ......

  3. #3
    jaworski_m is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    25
    Thank you for reply.
    Unfortunately, your answer is not clear to me.

    None of the fields (text) on the form I want to "filter by form" is a combobox - text fields only.

    As I mentioned in my post, the entire form is based on a query, which behaves in the same way as the form. Once filter by form is chosen only "Is null" and "Is Not Null" are available.

    What exactly must be modified (form or query it is based on) to make "filter by form" work correctly?

    I would appreciate more detailed explanation.

  4. #4
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    the pic in your post is pointing to a field that is commonly referred to as a drop down....though in Access this type of control is called a combobox.....it is based on a query - this field/control has its own record source (row source) independent of the form's record source....this is what is generating the options you see and must be inspected......

  5. #5
    jaworski_m is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2015
    Posts
    25
    If properties of the text box (FilterLookUp property) is changed from "Database default" to "Always" the problem is solved.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-03-2014, 03:27 AM
  2. Replies: 3
    Last Post: 11-13-2013, 08:56 AM
  3. Replies: 4
    Last Post: 04-18-2012, 12:09 PM
  4. Passing criteria "NULL" or "IS NOT NULL" to a query
    By SgtSaunders69 in forum Forms
    Replies: 1
    Last Post: 12-24-2011, 02:22 AM
  5. Update query from form "invalid use of null"
    By Lady_Jane in forum Programming
    Replies: 4
    Last Post: 08-16-2011, 01:37 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