Can I group detail in a report and display by a different name?

G

Guest

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
 
G

Guest

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

Klatuu said:
Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


Mina said:
I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


Mina said:
It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

Klatuu said:
Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


Mina said:
I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

Klatuu said:
Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


Mina said:
It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

Klatuu said:
Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


Mina said:
I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

Klatuu said:
Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


Mina said:
It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

Klatuu said:
There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


Mina said:
I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

Klatuu said:
Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Sorry, Mina, you did not list the fields in a way I can understand.
Is Raw Packageing a field name or a value in a field. Same with Flexible
Packaging.
Please tell me the field names you want to return and I will be happy to
post back with a good answer.
--
Dave Hargis, Microsoft Access MVP


Mina said:
I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

Klatuu said:
There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


Mina said:
I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

:

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Sorry I misunderstood! Raw and Flexible Packaging are both values in a
field, not field names. I have the projects sorted by these commondities, so
for example, there is the header "Raw Packaging" and then listed under this
heading is all the projects that deal with raw packaging.

Klatuu said:
Sorry, Mina, you did not list the fields in a way I can understand.
Is Raw Packageing a field name or a value in a field. Same with Flexible
Packaging.
Please tell me the field names you want to return and I will be happy to
post back with a good answer.
--
Dave Hargis, Microsoft Access MVP


Mina said:
I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

Klatuu said:
There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


:

I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

:

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Last chance, Mina, I need the Name of the Fields you want in your Query,
please.
--
Dave Hargis, Microsoft Access MVP


Mina said:
Sorry I misunderstood! Raw and Flexible Packaging are both values in a
field, not field names. I have the projects sorted by these commondities, so
for example, there is the header "Raw Packaging" and then listed under this
heading is all the projects that deal with raw packaging.

Klatuu said:
Sorry, Mina, you did not list the fields in a way I can understand.
Is Raw Packageing a field name or a value in a field. Same with Flexible
Packaging.
Please tell me the field names you want to return and I will be happy to
post back with a good answer.
--
Dave Hargis, Microsoft Access MVP


Mina said:
I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

:

There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


:

I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

:

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Forget it. I will figure it out myself. Thank you for your help.

Klatuu said:
Last chance, Mina, I need the Name of the Fields you want in your Query,
please.
--
Dave Hargis, Microsoft Access MVP


Mina said:
Sorry I misunderstood! Raw and Flexible Packaging are both values in a
field, not field names. I have the projects sorted by these commondities, so
for example, there is the header "Raw Packaging" and then listed under this
heading is all the projects that deal with raw packaging.

Klatuu said:
Sorry, Mina, you did not list the fields in a way I can understand.
Is Raw Packageing a field name or a value in a field. Same with Flexible
Packaging.
Please tell me the field names you want to return and I will be happy to
post back with a good answer.
--
Dave Hargis, Microsoft Access MVP


:

I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

:

There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


:

I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

:

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 
G

Guest

Best of Luck to you
--
Dave Hargis, Microsoft Access MVP


Mina said:
Forget it. I will figure it out myself. Thank you for your help.

Klatuu said:
Last chance, Mina, I need the Name of the Fields you want in your Query,
please.
--
Dave Hargis, Microsoft Access MVP


Mina said:
Sorry I misunderstood! Raw and Flexible Packaging are both values in a
field, not field names. I have the projects sorted by these commondities, so
for example, there is the header "Raw Packaging" and then listed under this
heading is all the projects that deal with raw packaging.

:

Sorry, Mina, you did not list the fields in a way I can understand.
Is Raw Packageing a field name or a value in a field. Same with Flexible
Packaging.
Please tell me the field names you want to return and I will be happy to
post back with a good answer.
--
Dave Hargis, Microsoft Access MVP


:

I listed them below. I need "Raw Packaging" and "Flexible Packaging" to
appear together under the heading "Packaging" and the table they are from is
called "COGS Category".

:

There are too many problems to list, (sorry), how about you tell me the table
name and the field names you want included in the query.


--
Dave Hargis, Microsoft Access MVP


:

I created it using Microsoft Help. It's probably terribly wrong...don't
laugh! As I mentioned before, I need "Raw Packaging" and "Flexible
Packaging" to appear together under the heading "Packaging" and the table
they are from is called "COGS Category". Thank you in advance for your help!!

SELECT [ALL] {[*COGS Category.*] [COGS Category.] Raw Packaging [AS
Packaging] [, [COGS Category.] Flexible Packaging [AS Packaging] from COGS
Category

:

Post back with the SQL you are using and we can have a look.
--
Dave Hargis, Microsoft Access MVP


:

It is saying that the syntax is incorrect!! I'm sorry...I'm very new to
Access. HELP!

:

Use a query for your report and a calculated field to return the commodity.
Here is an example of how you can combine the two into packaging and leave
the rest as is.

SELECT IIf([Commodity] LIKE "*Packaging*", "Packaging", [Commodity]) As
Something
--
Dave Hargis, Microsoft Access MVP


:

I am creating a report that lists projects and is sorted by commodity. There
are several commodities listed. Two of them are "Rigid Packaging" and
"Flexible Packaging". Is there a way that I can have all the projects under
these two fields grouped together and be displayed simply as "Packaging"?
The only thing I can think to do is change them in the table they are tied
to. However, I want to keep them separate so I don't want to change the
information in the table. I just simply want to group them together for this
one report.
 

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