ACC: "Type Mismatch in Join expression" Error with Filter by FormID: Q178112
|
Novice: Requires knowledge of the user interface on single-user computers.
When you use a combo box or list box control to perform a Filter By Form,
you may receive the following error message
Type mismatch in JOIN expression
Microsoft Access didn't apply the filter.
The control is bound to a field that is of a different data type than the bound column in the Lookup field's row source. If the list box or combo box has a control source, it should be of the same data type as the fields populating the list.
Change the data type of either the control source or the bound column of the Lookup field so that they match.
Microsoft has confirmed this to be a problem in Microsoft Access 7.0 and 97.
Table: Table1
------------------------
Field Name: Id
Data Type: Number
Field Name: Name
Data Type: Text
Id Name
---------------
10001 Apples
10002 Pears
10003 Oranges
Table: Table2
---------------------
Field Name: Test
Data Type: Text
Display Control - Combo Box
Row Source Type - Table/Query
Row Source - Table1
Bound Column - 1
Column Count - 2
Column Heads - No
Column Widths - 0";1"
For more information about Filter By Form or Filter By Selection, search
the Help Index for "Filter By Form" or "Filter By Selection," or ask the
Microsoft Access 97 Office Assistant.
For more information about Lookup fields, ask the Microsoft Access 97
Office Assistant "What is a Lookup field?"
Additional query words: dropdown drop pra filtered filtering problems
Keywords : FmsProp
Version : WINDOWS:7.0,97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 27, 1999