Crosstab Query - Invalid Procedure Call message

G

Guest

Hi,

I have created a crosstab query to show orders by product by month, using
product name as my row heading and order date as my product heading and sum
of quantity of ordered as the value.

The problem I am having is I have attempted to format the order date to
mmm-yy so my column headings read jan-05, feb-05... etc. The field reads -

Month:format([Date Ordered],"mmm-yy")

However every time I run the query I am getting a warning message - !
Invalid Procedure Call

I have created cross tab queries using this technique in the past but I just
can not see what I am doing wrong in this instance.

Can anybody help?

Thanks in advance
 
W

Wolfgang Kais

Hello Stuart.

Stuart said:
Hi,

I have created a crosstab query to show orders by product by month,
using product name as my row heading and order date as my product
heading and sum of quantity of ordered as the value.

The problem I am having is I have attempted to format the order date
to mmm-yy so my column headings read jan-05, feb-05... etc.
The field reads -

Month:format([Date Ordered],"mmm-yy")

However every time I run the query I am getting a warning message
-! Invalid Procedure Call

I have created cross tab queries using this technique in the past but
I just can not see what I am doing wrong in this instance.

This is probably a vba problem. Open a module in design view and check
Tools, References... and fix all "MISSING:" entries.
 
D

Duane Hookom

If your references are ok, you might want to make sure you don't have any
records with no [Date Ordered].

--
Duane Hookom
MS Access MVP


Wolfgang Kais said:
Hello Stuart.

Stuart said:
Hi,

I have created a crosstab query to show orders by product by month,
using product name as my row heading and order date as my product
heading and sum of quantity of ordered as the value.

The problem I am having is I have attempted to format the order date
to mmm-yy so my column headings read jan-05, feb-05... etc.
The field reads -

Month:format([Date Ordered],"mmm-yy")

However every time I run the query I am getting a warning message
-! Invalid Procedure Call

I have created cross tab queries using this technique in the past but
I just can not see what I am doing wrong in this instance.

This is probably a vba problem. Open a module in design view and check
Tools, References... and fix all "MISSING:" entries.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top