hoggbottom59
Technical User
Um, has to be said I do hate Cross-tab queries.
I'm trying to set-up a cross-tab query which accepts user input parameters. When I originally played with it I'm sure it accepted parameters.
The 'where' is set for a field called 'Opened' which contains dates. The query works if the criteria is set as 'between #01/05/01# and #31/01/02'.
If I insert parameters instead it doesn't -
'Between [First Date] And [Last Date]'
A message "The Microsoft Jet Database Engine does not recognize '[First Date]' as a valid field name or expression" appears.
Why is it being such a pain? I need more coffee.
Thanks,
Leon.
I'm trying to set-up a cross-tab query which accepts user input parameters. When I originally played with it I'm sure it accepted parameters.
The 'where' is set for a field called 'Opened' which contains dates. The query works if the criteria is set as 'between #01/05/01# and #31/01/02'.
If I insert parameters instead it doesn't -
'Between [First Date] And [Last Date]'
A message "The Microsoft Jet Database Engine does not recognize '[First Date]' as a valid field name or expression" appears.
Why is it being such a pain? I need more coffee.
Thanks,
Leon.