If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Can parameter queries working with crosstab queries.
I have a query that gets its criteria from a form. This query is complicated
in the fact that it draws part of its information from a crosstab query. Because I am using a parameter query when I run the query I get the following error message: “The Microsoft Jet database engine does not recognize ‘Forms![frmIntakeStorageLocationReport]![comStorageLocationIDFrom]’ as a valid field name or expression.” Can anyone tell me if it is possible to use a parameter query in conjunction with a crosstab query? If so how? Thanks, FatMan |
#2
|
|||
|
|||
"FatMan" wrote in message
... I have a query that gets its criteria from a form. This query is complicated in the fact that it draws part of its information from a crosstab query. Because I am using a parameter query when I run the query I get the following error message: "The Microsoft Jet database engine does not recognize 'Forms![frmIntakeStorageLocationReport]![comStorageLocationIDFrom]' as a valid field name or expression." Can anyone tell me if it is possible to use a parameter query in conjunction with a crosstab query? If so how? Go into the query in design view, right click in the upper portion on a blank area and select "parameters" from the shortcut menu. In most queries Access will resolve parameters automatically. With Crosstabs Access insists that you explicitly enter them and provide the appropriate datatype. You not only need to do this for Crosstab queries, but also for any other queries that you use as inputs to a Crosstab query. -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
#3
|
|||
|
|||
Rick:
You da man! Thanks - it worked like a charm. Thanks, FatMan "Rick Brandt" wrote: "FatMan" wrote in message ... I have a query that gets its criteria from a form. This query is complicated in the fact that it draws part of its information from a crosstab query. Because I am using a parameter query when I run the query I get the following error message: "The Microsoft Jet database engine does not recognize 'Forms![frmIntakeStorageLocationReport]![comStorageLocationIDFrom]' as a valid field name or expression." Can anyone tell me if it is possible to use a parameter query in conjunction with a crosstab query? If so how? Go into the query in design view, right click in the upper portion on a blank area and select "parameters" from the shortcut menu. In most queries Access will resolve parameters automatically. With Crosstabs Access insists that you explicitly enter them and provide the appropriate datatype. You not only need to do this for Crosstab queries, but also for any other queries that you use as inputs to a Crosstab query. -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Form based Parameter queries and tri-state tick boxes | Dale Walker | Using Forms | 11 | October 21st, 2004 04:26 PM |
Combining Parameter Queries with Results in a Form | Staci | Running & Setting Up Queries | 3 | October 11th, 2004 05:43 PM |
Access CrossTab queries | DIR | Running & Setting Up Queries | 1 | October 1st, 2004 05:09 AM |
Parameter Queries | Chris | Worksheet Functions | 1 | January 3rd, 2004 09:31 PM |