not repeating text boxes in reports with columns

R

REGREGL

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

Duane Hookom said:
Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

Duane Hookom said:
Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



Duane Hookom said:
Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

Duane Hookom said:
Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



Duane Hookom said:
Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


Duane Hookom said:
I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



Duane Hookom said:
Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Actually, on further review, it appears to be totaling the numbers correctly.
Now my problem is creating a report for this data. How do I do this? I now
have The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

I looked at the other link you included in the string. However, i was
unable to determine how I could apply that info to this report.

REGREGL said:
I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


Duane Hookom said:
I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


Duane Hookom said:
I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

Duane Hookom said:
What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


Duane Hookom said:
I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

Duane Hookom said:
What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

Duane Hookom said:
Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

Duane Hookom said:
What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

Duane Hookom said:
Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

Duane Hookom said:
Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

Duane Hookom said:
Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

Duane Hookom said:
Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

I would like the report to display in the following manner:


Product Oct-07
Nov-07
[Product] [Quantity10] [Monthly Revenue 10] [Quantity11] [Monthly Revenue
11]


and so forth so that that date range would be from whatever the earliest
date in the [Production Pending-adjusted] table is to the latest date.

The query I designed, utilizing the instructions you provided, transforms
and combines the date fields with the records in the [prod pending 2] table
(which are Quantity and Monthly Revenue). the results is fields named
[Quantity 1], [Quantity 9], [Quantity 10], [Quantity 11], [Quantity 12],
[Monthly Revenue 1], [Monthly Revenue 9], [Monthly Revenue 10], [Monthly
Revenue 11], [Monthly Revenue 12] & [Product].



Duane Hookom said:
You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

Duane Hookom said:
Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

So what is different from the columns desired and the columns returned in the
query? If you are concerned about the columns not being the same every time
then use an expression that finds the month difference between "the earliest
date" and the [date] field. This datediff() will create columns numbered from
0 (earliest month) to X (the latest month). This matches exactly with the
sample I have suggested as a dynamic monthly crosstab report.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I would like the report to display in the following manner:


Product Oct-07
Nov-07
[Product] [Quantity10] [Monthly Revenue 10] [Quantity11] [Monthly Revenue
11]


and so forth so that that date range would be from whatever the earliest
date in the [Production Pending-adjusted] table is to the latest date.

The query I designed, utilizing the instructions you provided, transforms
and combines the date fields with the records in the [prod pending 2] table
(which are Quantity and Monthly Revenue). the results is fields named
[Quantity 1], [Quantity 9], [Quantity 10], [Quantity 11], [Quantity 12],
[Monthly Revenue 1], [Monthly Revenue 9], [Monthly Revenue 10], [Monthly
Revenue 11], [Monthly Revenue 12] & [Product].



Duane Hookom said:
You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

:

Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

Duane Hookom said:
So what is different from the columns desired and the columns returned in the
query? If you are concerned about the columns not being the same every time
then use an expression that finds the month difference between "the earliest
date" and the [date] field. This datediff() will create columns numbered from
0 (earliest month) to X (the latest month). This matches exactly with the
sample I have suggested as a dynamic monthly crosstab report.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I would like the report to display in the following manner:


Product Oct-07
Nov-07
[Product] [Quantity10] [Monthly Revenue 10] [Quantity11] [Monthly Revenue
11]


and so forth so that that date range would be from whatever the earliest
date in the [Production Pending-adjusted] table is to the latest date.

The query I designed, utilizing the instructions you provided, transforms
and combines the date fields with the records in the [prod pending 2] table
(which are Quantity and Monthly Revenue). the results is fields named
[Quantity 1], [Quantity 9], [Quantity 10], [Quantity 11], [Quantity 12],
[Monthly Revenue 1], [Monthly Revenue 9], [Monthly Revenue 10], [Monthly
Revenue 11], [Monthly Revenue 12] & [Product].



Duane Hookom said:
You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

:

Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
R

REGREGL

hmmm...I posted a reply but it cameup blank. Anyways...

The difference is that the query returns no dates. The [quantity] and
[monthly revenue] fields are numeric values. The query combined these
headings with Month1, Month2, Month3, etc. So, although all of the data I
need appears to be in the query, I don't see how I can get that into a report
where the months are identified in a month-yy format.



Duane Hookom said:
So what is different from the columns desired and the columns returned in the
query? If you are concerned about the columns not being the same every time
then use an expression that finds the month difference between "the earliest
date" and the [date] field. This datediff() will create columns numbered from
0 (earliest month) to X (the latest month). This matches exactly with the
sample I have suggested as a dynamic monthly crosstab report.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I would like the report to display in the following manner:


Product Oct-07
Nov-07
[Product] [Quantity10] [Monthly Revenue 10] [Quantity11] [Monthly Revenue
11]


and so forth so that that date range would be from whatever the earliest
date in the [Production Pending-adjusted] table is to the latest date.

The query I designed, utilizing the instructions you provided, transforms
and combines the date fields with the records in the [prod pending 2] table
(which are Quantity and Monthly Revenue). the results is fields named
[Quantity 1], [Quantity 9], [Quantity 10], [Quantity 11], [Quantity 12],
[Monthly Revenue 1], [Monthly Revenue 9], [Monthly Revenue 10], [Monthly
Revenue 11], [Monthly Revenue 12] & [Product].



Duane Hookom said:
You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

:

Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 
D

Duane Hookom

The solution I suggested created columns that didn't resemble dates or
months. They did represent the number of months relative to an actual date.
You can add the number of relative months to the actual date to derive a date
value for each column. This is what the solution I suggested does.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
hmmm...I posted a reply but it cameup blank. Anyways...

The difference is that the query returns no dates. The [quantity] and
[monthly revenue] fields are numeric values. The query combined these
headings with Month1, Month2, Month3, etc. So, although all of the data I
need appears to be in the query, I don't see how I can get that into a report
where the months are identified in a month-yy format.



Duane Hookom said:
So what is different from the columns desired and the columns returned in the
query? If you are concerned about the columns not being the same every time
then use an expression that finds the month difference between "the earliest
date" and the [date] field. This datediff() will create columns numbered from
0 (earliest month) to X (the latest month). This matches exactly with the
sample I have suggested as a dynamic monthly crosstab report.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


REGREGL said:
I would like the report to display in the following manner:


Product Oct-07
Nov-07
[Product] [Quantity10] [Monthly Revenue 10] [Quantity11] [Monthly Revenue
11]


and so forth so that that date range would be from whatever the earliest
date in the [Production Pending-adjusted] table is to the latest date.

The query I designed, utilizing the instructions you provided, transforms
and combines the date fields with the records in the [prod pending 2] table
(which are Quantity and Monthly Revenue). the results is fields named
[Quantity 1], [Quantity 9], [Quantity 10], [Quantity 11], [Quantity 12],
[Monthly Revenue 1], [Monthly Revenue 9], [Monthly Revenue 10], [Monthly
Revenue 11], [Monthly Revenue 12] & [Product].



:

You do have a date field in [Production Pending-adjusted]. You don't need a
date on a form. This could be any date (if you need a sliding window of
months) or just use the Month([Date]).

Questions:
Do you need to display a range of months/dates in your report or just simple
use the Month() of the date field?

What columns does your query display and what do you want to display in your
report?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I am assuming that you are referring to the article on creating Dynamic
Monthly Crosstab Reports. There are a few reasons I dont see how this can
apply to my situation.

This article seems to be referring to a FormA which I do not have (I don't
have any forms for this table). It also refers to a [sale date] field which
I do not have (there are no date fields on the query I built utilizing the
instructions in the article you showed me). There are only fields entitled
[Product], [Monthly Revenue1], [Monthly Revenue9], [Monthly Revenue10],
[Monthly Revenue 11], [Monthly Revenue12], [Quantity1], [Quantity9],
[Quantity10], [Quantity11] & [Quantity12].

Unless I am to utilize my production pending table for thsi query, in which
case I guess I would'nt need the query I built from your instructions...

This is my confusion....

:

Don't you want to show the month/quantity month/cost values in your report?
The solution I suggested allows you to define month values using the month
difference between a reference date (could be current date or the value on a
form control) and your [Date] field.

The solution I suggested would allow you to create a report very much like
your first posting.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Yes but I ddin't see how I could use that info for this report. Maybe I am
missing something.

:

Did you check out my other link to creating crosstab reports with dynamic
monthly headings?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Well, I'm not sure that you saw my second post, there. The query seemd to be
running fine. I need to create a report to present the date now. But all I
have is The fields of Product, Monthly Revenue 1, 9, 10,11 & 12 & Quantity 1,
9,10,11 & 12. I believe that I just want Product, Monthly Revenue and
Quantity to appear on the report.

the fields I setup in the [fldname] are Quantity and Monthly Revenue

:

What are the values in [Prod Pend Table 2].FldName?
--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

I followed the instructions best I could and came up with a crosstab query
with two values. However, it only shows the Monthly Revenue value and not
the quantity value. Actually, it shows the monthly revenue value twice, in
bothe the monthly renenue and quantity columns.

Here is the SQL:

TRANSFORM Sum(IIf([FldName]="quantity",[Quantity],[Quantity]*[Recurring
Charge])) AS test
SELECT [Production Pending-adjusted].Product
FROM [Prod Pend Table 2], [Production Pending-adjusted]
GROUP BY [Production Pending-adjusted].Product
PIVOT [FldName] & Month([Date]);


:

I don't think you need to worry about different product "fields" since your
desired output has products as row headings and months as column headings. To
sort out your column headings, check out this link
http://www.tek-tips.com/faqs.cfm?fid=5466.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Ok, thanks for the link. That may work. However, how do I make a report
out of this as the query will identify each product individually and I cannot
manually make fields for each product as they will change daily? Also, the
information must show as monthly totals, not daily entries.

Thanks for your help.



:

Consider applying the multi-value solution found at
http://www.tek-tips.com/faqs.cfm?fid=4524.

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Because you can specify only one value in a crosstab query. I need two
values ([quantity] & [value])

:

Is there a reason you don't use a crosstab query?

--
Duane Hookom
Microsoft Access MVP
If I have helped you, please help me by donating to UCP
http://www.access.hookom.net/UCP/Default.htm


:

Hello,

I am trying to create a report with columns without repeating certain text
boxes. Here is an example of what I would like to create:

[Date] "Month1" [Date] "Month2"
[Date] "Month3"
[Product] "Product1": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product2": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product3": [quantity] [value] [quantity] [value] [quantity]
[value]
[Product] "Product4": [quantity] [value] [quantity] [value] [quantity]
[value]
etc...

Unfortunately, when I utilize columns, what I get is...

[Date] "Month1"
[Date] "Month2"
[Product] "Product1": [quantity] [value] [Product] "Product1":[quantity]
[value]
[Product] "Product2": [quantity] [value] [Product] "Product2":[quantity]
[value]
[Product] "Product3": [quantity] [value] [Product] "Product3":[quantity]
[value]
[Product] "Product4": [quantity] [value] [Product] "Product4":[quantity]
[value]

Since the products will change on a daily basis, I need the columns to be
driven by month with all of the products on the report to be listed only in
the first column (much like in a crosstab query).

any ideas would be greatly appreciated.

Thanks
 

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