1d7ce Problem with combining same field query!!!!!
Sign Up |  Live StatsLive Stats    Articles 37,321| Comments 177,193| Members 19,408, Newest ssarabjeet61| Online 480
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Problem with combining same field query!!!!!

Problem with combining same field query!!!!!

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
combining different drop down fields in one record into one field Nancy Information Technology 4 28-Jul-2006 08:35 AM
Problem with combining tables!!!! Kwgame Information Technology 2 28-Jul-2006 08:27 AM
Convert Output of Query result field to a single field Ruth Information Technology 1 18-Nov-2005 14:00 PM
Re: Combining Field Data Stacy Information Technology 0 29-Oct-2005 12:35 PM
Re: Copy results in query field to another field Joseph Meehan Information Technology 0 29-Oct-2005 12:35 PM


Tags
problem, combining, same, field, query
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:25 AM
Kwgame's Avatar Kwgame
Guest
 
Posts: n/a
   
   
Problem with combining same field query!!!!!

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I am creating a database for my job that deals with getting information about
workload in different areas. What I want to do is bar chart the information
in way that would compare each area but what I need to do first is create a
query that has each area listed so I can chart each individual field. The
comparison all comes from one field (Design Hours) which is located in my
table and I need to come up with a new query that will divide the Design Hour
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11929-problem-with-combining-same-field-query.html
field into three different areas. So to sum up what I want, basically I want
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
to filter out the Design Hours field from the table and then in the query
have Area1 field and the design hours for that area, Area2 field and the
design hours for that area, and Area3 field and the design hours for that
area. I am an intern and I am extremely new to access, this is my first
database so can anyone help me please!!!!


Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:25 AM
Wolfgang Kais's Avatar Wolfgang Kais
Guest
 
Posts: n/a
   
   
Re: Problem with combining same field query!!!!!

Hello "Kwgame".

"Kwgame" wrote:
> I am creating a database for my job that deals with getting information
> about workload in different areas. What I want to do is bar chart the
> information in way that would compare each area but what I need to
> do first is create a query that has each area listed so I can chart each
> individual field. The comparison all comes from one field (Design Hours)
> which is located in my table and I need to come up with a new query
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> that will divide the Design Hour field into three different areas. So to
> sum up what I want, basically I want to filter out the Design Hours
> field from the table and then in the query have Area1 field and the
> design hours for that area, Area2 field and the design hours for that
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> area, and Area3 field and the design hours for that area. I am an
> intern and I am extremely new to access, this is my first database
> so can anyone help me please!!!!


How is the table designed? Does it contain an area field?

--
Regards,
Wolfgang


Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:25 AM
Kwgame's Avatar Kwgame
Guest
 
Posts: n/a
   
   
Re: Problem with combining same field query!!!!!

Hey "Kais"

"Wolfgang Kais" wrote:

> Hello "Kwgame".
>
> "Kwgame" wrote:
> > I am creating a database for my job that deals with getting information
> > about workload in different areas. What I want to do is bar chart the
> > information in way that would compare each area but what I need to
> > do first is create a query that has each area listed so I can chart each
> > individual field. The comparison all comes from one field (Design Hours)
> > which is located in my table and I need to come up with a new query
> > that will divide the Design Hour field into three different areas. So to
> > sum up what I want, basically I want to filter out the Design Hours
> > field from the table and then in the query have Area1 field and the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > design hours for that area, Area2 field and the design hours for that
> > area, and Area3 field and the design hours for that area. I am an
> > intern and I am extremely new to access, this is my first database
> > so can anyone help me please!!!!

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
>
> How is the table designed? Does it contain an area field?
>
> --
> Regards,
> Wolfgang
>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:25 AM
Wolfgang Kais's Avatar Wolfgang Kais
Guest
 
Posts: n/a
   
   
Re: Problem with combining same field query!!!!!

Hello "Kwgame".

"Kwgame" wrote:
>>> I am creating a database for my job that deals with getting information
>>> about workload in different areas. What I want to do is bar chart the
>>> information in way that would compare each area but what I need to
>>> do first is create a query that has each area listed so I can chart each
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
>>> individual field. The comparison all comes from one field (Design Hours)
>>> which is located in my table and I need to come up with a new query
>>> that will divide the Design Hour field into three different areas. So to
>>> sum up what I want, basically I want to filter out the Design Hours
>>> field from the table and then in the query have Area1 field and the
>>> design hours for that area, Area2 field and the design hours for that
>>> area, and Area3 field and the design hours for that area. I am an
>>> intern and I am extremely new to access, this is my first database
>>> so can anyone help me please!!!!


>> How is the table designed? Does it contain an area field?


> Hey "Kais"


This is too little information to answer your question ;-)

--
Regards,
Wolfgang



Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:25 AM
Kwgame's Avatar Kwgame
Guest
 
Posts: n/a
   
   
RE: Problem with combining same field query!!!!!

Thanks for your response Karl. I implemented the SQL but I keep getting
that I have to enter the parameters. I changed Cutomer to my table name.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
What I want my new query to look like is I want field 1 to be sorted with the
names that are in charge of that area ("name", "name2") and then in the
second field in that query I want have all the Design Hours associated with
those names. I don't even need to sum them up cause that automatically
happens in the chart which is where I want to take the information from the
query. The two fields I am trying to take from my table are User Contact
("name") and Design Hours. Can you please tell me what I need to do?

"KARL DEWEY" wrote:

> Substitute your table name for Customer.
>
> SELECT Customer.Area, Sum(Customer.Design_Hours) AS SumOfDesign_Hours
> FROM Customer
> GROUP BY Customer.Area;
>
>
> "Kwgame" wrote:
>
> > I am creating a database for my job that deals with getting information about
> > workload in different areas. What I want to do is bar chart the information
> > in way that would compare each area but what I need to do first is create a
> > query that has each area listed so I can chart each individual field. The
> > comparison all comes from one field (Design Hours) which is located in my
> > table and I need to come up with a new query that will divide the Design Hour
> > field into three different areas. So to sum up what I want, basically I want
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > to filter out the Design Hours field from the table and then in the query
> > have Area1 field and the design hours for that area, Area2 field and the
> > design hours for that area, and Area3 field and the design hours for that
> > area. I am an intern and I am extremely new to access, this is my first
> > database so can anyone help me please!!!!

Reply With Quote
  #6 (permalink)  
Old 28-Jul-2006, 08:25 AM
Kwgame's Avatar Kwgame
Guest
 
Posts: n/a
   
   
RE: Problem with combining same field query!!!!!

Here is a little more help with showing you what I want.
from table:
UserContact DesignHours
Name1 34
Name1 56
Name2 55
Name3 23
Name2 65

new query:
DesignHoursName1 DesignHoursName2 DesignHoursName3
34 55 23
56 65 22
66 36 44
45 25 27

I want each field to be sorted by the name associated with those Design
Hours. So basically I want each field to be based on two field from the
table and then output to the new query.

"KARL DEWEY" wrote:

> Substitute your table name for Customer.
>
> SELECT Customer.Area, Sum(Customer.Design_Hours) AS SumOfDesign_Hours
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> FROM Customer
> GROUP BY Customer.Area;
>
>
> "Kwgame" wrote:
>
> > I am creating a database for my job that deals with getting information about
> > workload in different areas. What I want to do is bar chart the information
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > in way that would compare each area but what I need to do first is create a
> > query that has each area listed so I can chart each individual field. The
> > comparison all comes from one field (Design Hours) which is located in my
> > table and I need to come up with a new query that will divide the Design Hour
> > field into three different areas. So to sum up what I want, basically I want
> > to filter out the Design Hours field from the table and then in the query
> > have Area1 field and the design hours for that area, Area2 field and the
> > design hours for that area, and Area3 field and the design hours for that
> > area. I am an intern and I am extremely new to access, this is my first
> > database so can anyone help me please!!!!

Reply With Quote
  #7 (permalink)  
Old 28-Jul-2006, 08:25 AM
KARL DEWEY's Avatar KARL DEWEY
Guest
 
Posts: n/a
   
   
RE: Problem with combining same field query!!!!!

This will give you one row in the results.
TRANSFORM Sum(Kwgame.DesignHours) AS SumOfDesignHours
SELECT Kwgame.x
FROM Kwgame
GROUP BY Kwgame.x
PIVOT Kwgame.UserContact;

Your results example shows four rows. What would make the output contain
four rows?

It would be a whole lot easier and less time consumming if you posted your
table structure and a sample of data like Wolfgang suggested.

"Kwgame" wrote:

> Here is a little more help with showing you what I want.
> from table:
> UserContact DesignHours
> Name1 34
> Name1 56
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> Name2 55
> Name3 23
> Name2 65
>
> new query:
> DesignHoursName1 DesignHoursName2 DesignHoursName3
> 34 55 23
> 56 65 22
> 66 36 44
> 45 25 27
>
> I want each field to be sorted by the name associated with those Design
> Hours. So basically I want each field to be based on two field from the
> table and then output to the new query.
>
> "KARL DEWEY" wrote:
>
> > Substitute your table name for Customer.
> >
> > SELECT Customer.Area, Sum(Customer.Design_Hours) AS SumOfDesign_Hours
> > FROM Customer
> > GROUP BY Customer.Area;
> >
> >
> > "Kwgame" wrote:
> >
> > > I am creating a database for my job that deals with getting information about
> > > workload in different areas. What I want to do is bar chart the information
> > > in way that would compare each area but what I need to do first is create a
> > > query that has each area listed so I can chart each individual field. The
> > > comparison all comes from one field (Design Hours) which is located in my
> > > table and I need to come up with a new query that will divide the Design Hour
> > > field into three different areas. So to sum up what I want, basically I want
> > > to filter out the Design Hours field from the table and then in the query
> > > have Area1 field and the design hours for that area, Area2 field and the
> > > design hours for that area, and Area3 field and the design hours for that
> > > area. I am an intern and I am extremely new to access, this is my first
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > > database so can anyone help me please!!!!

Reply With Quote
  #8 (permalink)  
Old 28-Jul-2006, 08:25 AM
Kwgame's Avatar Kwgame
Guest
 
Posts: n/a
   
   
RE: Problem with combining same field query!!!!!

What I really want to do is compare the hours for 4 different groups in a
chart format and to do this I have to make a query with the 4 different group
hours since I cannot take the DesignHour coloumn from four different query or
I get a message
that says I can't take fields from a table and a query based on a table.
Access really sucks when it comes to graphing!!

"KARL DEWEY" wrote:

> This will give you one row in the results.
> TRANSFORM Sum(Kwgame.DesignHours) AS SumOfDesignHours
> SELECT Kwgame.x
> FROM Kwgame
> GROUP BY Kwgame.x
> PIVOT Kwgame.UserContact;
>
> Your results example shows four rows. What would make the output contain
> four rows?
>
> It would be a whole lot easier and less time consumming if you posted your
> table structure and a sample of data like Wolfgang suggested.
>
> "Kwgame" wrote:
>
> > Here is a little more help with showing you what I want.
> > from table:
> > UserContact DesignHours
> > Name1 34
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > Name1 56
> > Name2 55
> > Name3 23
> > Name2 65
> >
> > new query:
> > DesignHoursName1 DesignHoursName2 DesignHoursName3
> > 34 55 23
> > 56 65 22
> > 66 36 44
> > 45 25 27
> >
> > I want each field to be sorted by the name associated with those Design
> > Hours. So basically I want each field to be based on two field from the
> > table and then output to the new query.
> >
> > "KARL DEWEY" wrote:
> >
> > > Substitute your table name for Customer.
> > >
> > > SELECT Customer.Area, Sum(Customer.Design_Hours) AS SumOfDesign_Hours
> > > FROM Customer
> > > GROUP BY Customer.Area;
> > >
> > >
> > > "Kwgame" wrote:
> > >
> > > > I am creating a database for my job that deals with getting information about
> > > > workload in different areas. What I want to do is bar chart the information
> > > > in way that would compare each area but what I need to do first is create a
> > > > query that has each area listed so I can chart each individual field. The
> > > > comparison all comes from one field (Design Hours) which is located in my
> > > > table and I need to come up with a new query that will divide the Design Hour
> > > > field into three different areas. So to sum up what I want, basically I want
> > > > to filter out the Design Hours field from the table and then in the query
> > > > have Area1 field and the design hours for that area, Area2 field and the
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > > > design hours for that area, and Area3 field and the design hours for that
> > > > area. I am an intern and I am extremely new to access, this is my first
> > > > database so can anyone help me please!!!!

Reply With Quote
  #9 (permalink)  
Old 28-Jul-2006, 08:25 AM
KARL DEWEY's Avatar KARL DEWEY
Guest
 
Posts: n/a
   
   
RE: Problem with combining same field query!!!!!

  Donate Today!  
If you are unwilling to provide the sample data and table structure as I
asked I can not help you.

"Kwgame" wrote:

> What I really want to do is compare the hours for 4 different groups in a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> chart format and to do this I have to make a query with the 4 different group
> hours since I cannot take the DesignHour coloumn from four different query or
> I get a message
> that says I can't take fields from a table and a query based on a table.
> Access really sucks when it comes to graphing!!
>
> "KARL DEWEY" wrote:
>
> > This will give you one row in the results.
> > TRANSFORM Sum(Kwgame.DesignHours) AS SumOfDesignHours
> > SELECT Kwgame.x
> > FROM Kwgame
> > GROUP BY Kwgame.x
> > PIVOT Kwgame.UserContact;
> >
> > Your results example shows four rows. What would make the output contain
> > four rows?
> >
> > It would be a whole lot easier and less time consumming if you posted your
> > table structure and a sample of data like Wolfgang suggested.
> >
> > "Kwgame" wrote:
> >
> > > Here is a little more help with showing you what I want.
> > > from table:
> > > UserContact DesignHours
> > > Name1 34
> > > Name1 56
> > > Name2 55
> > > Name3 23
> > > Name2 65
> > >
> > > new query:
> > > DesignHoursName1 DesignHoursName2 DesignHoursName3
> > > 34 55 23
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11929
> > > 56 65 22
> > > 66 36 44
> > > 45 25 27
> > >
> > > I want each field to be sorted by the name associated with those Design
> > > Hours. So basically I want each field to be based on two field from the
> > > table and then output to the new query.
> > >
> > > "KARL DEWEY" wrote:
> > >
> > > > Substitute your table name for Customer.
> > > >
> > > > SELECT Customer.Area, Sum(Customer.Design_Hours) AS SumOfDesign_Hours
> > > > FROM Customer
> > > > GROUP BY Customer.Area;
> > > >
> > > >
> > > > "Kwgame" wrote:
> > > >
> > > > > I am creating a database for my job that deals with getting information about
> > > > > workload in different areas. What I want to do is bar chart the information
> > > > > in way that would compare each area but what I need to do first is create a
> > > > > query that has each area listed so I can chart each individual field. The
> > > > > comparison all comes from one field (Design Hours) which is located in my
> > > > > table and I need to come up with a new query that will divide the Design Hour
> > > > > field into three different areas. So to sum up what I want, basically I want
> > > > > to filter out the Design Hours field from the table and then in the query
> > > > > have Area1 field and the design hours for that area, Area2 field and the
> > > > > design hours for that area, and Area3 field and the design hours for that
> > > > > area. I am an intern and I am extremely new to access, this is my first
> > > > > database so can anyone help me please!!!!

Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
Losing My Religion: Why...
Today 11:52 AM
11 Replies, 227 Views
SSGS with English...
Today 07:52 AM
7 Replies, 80 Views
Keeping Amrit Vela
By Alisa
Today 02:39 AM
5 Replies, 785 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:44 AM
310 Replies, 7,522 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:30 AM
174 Replies, 4,440 Views
Dalai Lama’s Lessons for...
Today 00:11 AM
0 Replies, 38 Views
30 Day Amrit Vela -...
Yesterday 23:49 PM
45 Replies, 652 Views
How does Sikhi help you...
Yesterday 22:59 PM
19 Replies, 825 Views
What Do You Think of...
Yesterday 22:56 PM
39 Replies, 708 Views
How Religions Change...
Yesterday 19:33 PM
0 Replies, 74 Views
Do you believe in...
Yesterday 12:00 PM
184 Replies, 3,904 Views
Thought of the Moment!
Yesterday 10:07 AM
109 Replies, 5,155 Views
Amrit
Yesterday 09:17 AM
5 Replies, 364 Views
What I believe Hukam to...
Yesterday 03:15 AM
13 Replies, 185 Views
Should SPN Keep the...
Yesterday 02:02 AM
19 Replies, 691 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 12:43 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.55059 seconds with 32 queries
0