Hi,
I have created a crosstab query(not in the code) and want to pass a parameter(from a form) to it.
E.g - [BusinessProcessDetails_Crosstab].[BusinessArea] = [forms]![formLookup]![txtBusArea]
However I'm getting an error "The Microsoft Jet Database does not recognise [forms]![formLookup]![txtBusArea] as a valid field name or expression"
If I do the following [BusinessProcessDetails_Crosstab].[BusinessArea] = "Bar Mill" it works fine.
I tried to pass the parameter as a string '" & [forms]![formLookup]![txtBusArea] & "'" but it returns nothing.
Can anybody help me with this one. I don't want to do in the code however.
Thanks
I have created a crosstab query(not in the code) and want to pass a parameter(from a form) to it.
E.g - [BusinessProcessDetails_Crosstab].[BusinessArea] = [forms]![formLookup]![txtBusArea]
However I'm getting an error "The Microsoft Jet Database does not recognise [forms]![formLookup]![txtBusArea] as a valid field name or expression"
If I do the following [BusinessProcessDetails_Crosstab].[BusinessArea] = "Bar Mill" it works fine.
I tried to pass the parameter as a string '" & [forms]![formLookup]![txtBusArea] & "'" but it returns nothing.
Can anybody help me with this one. I don't want to do in the code however.
Thanks