A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Can parameter queries working with crosstab queries.



 
 
Thread Tools Display Modes
  #1  
Old November 5th, 2004, 06:38 PM
FatMan
external usenet poster
 
Posts: n/a
Default 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  
Old November 5th, 2004, 06:54 PM
Rick Brandt
external usenet poster
 
Posts: n/a
Default

"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  
Old November 5th, 2004, 07:10 PM
FatMan
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 08:43 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.