Thanks again Allan,
Obviously I do not know much about these bound columns,
even after reading the help what it is all about.
The AssetType table is a simple to column table. First
column is the primary key, which has the Number Data type.
The second column is the text, which is the
AssetTypeDescription.
The properties of the combo box under the data tab in a
simple form is:
Control source : none
Imput mask : none
Row source type : Table/Queiry
Row source : SELECT [AssetType].[AssetTypeID],
[AssetType].[AssetTypeDescription] FROM [AssetType]
Bound column : 1
When activating the macro, the parameter query window
overrides the open table, not alowing to select the
AssetType for the query. However,the simple table is opened
in the background.
It seemed so simple, but is getting a bit more serious than
I thought.
Thanks for your help,
Aniko
-----Original Message-----
If the first column of the combo is also text, and the text matches, then it
should be fine.
Actually, just noticed you don't have the "s" in Forms:
WHERE AssetType.AssetTypeDescription =
[Forms].[frmAssetsInquery].[cmbAssetType]
HI,
When you open the AssetType table in design view, what is
the Data Type of
AssetTypeDescription?
It is a text
You need the bound column of your combo box to match that
kind of value.
The bound column value is 1.
I thing it is the parameter in the query which is wrong,
but not sure how to get the value of the combo box.
Aniko