ACC2000: "Type Mismatch in Join expression" with Filter By FormID: Q202269
|
When you use a combo box or list box control to perform a Filter By Form, you may receive the following error message
followed by: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 row source of the Lookup field. If the list box or the 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 the Microsoft products listed at the beginning of this article.
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, click Microsoft Access Help on the
Help menu, type "form, filter" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
For more information about Lookup fields, click Microsoft Access Help on the
Help menu, type "Work with lookup fields" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned.
Additional query words: dropdown drop pra filtered filtering problems
Keywords : kberrmsg kbdta FmsProp
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: May 18, 1999