Sign Up |  Live StatsLive Stats    Articles 35,345| Comments 159,790| Members 17,820, Newest waheguruhelpme| Online 227
Home Contact
 (Forgotten?): 
    A portrait by Bhagat Singh of Sikhiart.com

   
                                                                     Your Banner Here!    

Sikh Philosophy Network » Sikh Philosophy Network » Current Affairs » Information Technology » Multiple queries into one report or table

Multiple queries into one report or table

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 400 USD, Received: 35 USD (9%)
Please Donate...
Related Topics...
Thread Thread Starter Forum Replies Last Post
Multiple Delete of queries or tables in Access Lizzie Information Technology 0 28-Jul-2006 08:37 AM
Report field queries H2OBOWL Information Technology 1 28-Jul-2006 08:33 AM
Using InputBox data across multiple queries GVR_Mike Information Technology 3 28-Jul-2006 08:28 AM
changing table name after queries created pjm Information Technology 3 28-Jul-2006 08:13 AM
Data on from two queries in one report lpdc Information Technology 3 01-Nov-2005 13:40 PM


Tags
multiple, queries, report, table
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:42 AM
arznwildcat@gmail.com's Avatar arznwildcat@gmail.com
Guest
 
Posts: n/a
   
   
Multiple queries into one report or table

  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 very new to the whole Access program. Over the past couple of
weeks I have managed to create a very nice front end for a somewhat
complex database. I probably did it backwards, but now I am in need of
help with the raw data.
I will do my best to explain and then clarify if need be.
I am creating a Work Order Time Line tracking program. The Work
Orders each have a unique number (used as the Primary Key). These Work
Order numbers are kept on a Master Work Order table. The Work Orders
are able to fall into eight different Work Sequences (some have more or
less steps to get to the final process). Each of these Sequences has
its own table, which are all linked back to the Master table via the
Work Order number. Each of these Sequence tables has criteria that has
to be entered by the user and is specific to that Sequence table/type.
Each table has a query that is built to return dates specific to
that sequence type. A query can return anything from one date for a
Work Order to 6 dates, again depending on the type of sequence that it
is designed for. So this creates eight unique qeries also. I have
created unique reports that match the different queries.
All of this is working great so far. However; my goal is to be able
to generate a report, or table that I could use to see all of the Work
Orders along with the information that is generated by their respective
sequence query.
I'll try to illustrate it now using only 2 examples:

tblMasterWR:
[WorkOrder(Primary Key)] [Designer] [Area]
---------------------------------------------------------------------------------------------------------
tblOverheadOnly:
[WorkOrder(linked to master)] [StartDate] [DayToOffset]

qryOverheadOnly:
[WorkOrder(linked to master)] [OffsetDate] [CompletionDate]
---------------------------------------------------------------------------------------------------------
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/14008-multiple-queries-into-one-report-table.html
tblOverheadPay:
[WorkOrder(linked to master)] [Start Date] [DaysToPay]
[DaysToOffset]

qryOverheadPay:
[WorkOrder(linked to master)] [PayReceiveDate] [OffsetDate]
[CompletionDate]

etc...

It is built so that each table and query cannot create a duplicate Work
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
Order number. I don't think creating a master query and choosing
criteria in there is an answer, because each sequence varies in its
underlying math to find the dates that it returns.
I think that maybe a report with eight subreports might work, but
it seems way to cumbersome and I currently have no idea how I would set
one up. Also, I think a subreport would segregate the information too
much.
I hope that I have given enough information. These forums have been
a HUGE help in getting me to this point, hopefully anyone can help me
get past this.

Thanks!
-Ted






 
Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:42 AM
Pieter Wijnen's Avatar Pieter Wijnen
Guest
 
Posts: n/a
   
   
Re: Multiple queries into one report or table

I'm sorry to say this but you have to learn more about relational databases,
me thinks.
there's no reason I can think of for having seperate Sequence tables.
you should instead make a SequenceSteps table, linked to the Sequence table,
that identifies the steps needed.
that way you don't have to play around with a lot of (what) if's

Sorry if I seem gruff

Pieter

wrote in message
news:1153951259.750539.305410@b28g2000cwb.googlegr oups.com...
>I am very new to the whole Access program. Over the past couple of
> weeks I have managed to create a very nice front end for a somewhat
> complex database. I probably did it backwards, but now I am in need of
> help with the raw data.
> I will do my best to explain and then clarify if need be.
> I am creating a Work Order Time Line tracking program. The Work
> Orders each have a unique number (used as the Primary Key). These Work
> Order numbers are kept on a Master Work Order table. The Work Orders
> are able to fall into eight different Work Sequences (some have more or
> less steps to get to the final process). Each of these Sequences has
> its own table, which are all linked back to the Master table via the
> Work Order number. Each of these Sequence tables has criteria that has
> to be entered by the user and is specific to that Sequence table/type.
> Each table has a query that is built to return dates specific to
> that sequence type. A query can return anything from one date for a
> Work Order to 6 dates, again depending on the type of sequence that it
> is designed for. So this creates eight unique qeries also. I have
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
> created unique reports that match the different queries.
> All of this is working great so far. However; my goal is to be able
> to generate a report, or table that I could use to see all of the Work
> Orders along with the information that is generated by their respective
> sequence query.
> I'll try to illustrate it now using only 2 examples:
>
> tblMasterWR:
> [WorkOrder(Primary Key)] [Designer] [Area]
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
> ---------------------------------------------------------------------------------------------------------
> tblOverheadOnly:
> [WorkOrder(linked to master)] [StartDate] [DayToOffset]
>
> qryOverheadOnly:
> [WorkOrder(linked to master)] [OffsetDate] [CompletionDate]
> ---------------------------------------------------------------------------------------------------------
> tblOverheadPay:
> [WorkOrder(linked to master)] [Start Date] [DaysToPay]
> [DaysToOffset]
>
> qryOverheadPay:
> [WorkOrder(linked to master)] [PayReceiveDate] [OffsetDate]
> [CompletionDate]
>
> etc...
>
> It is built so that each table and query cannot create a duplicate Work
> Order number. I don't think creating a master query and choosing
> criteria in there is an answer, because each sequence varies in its
> underlying math to find the dates that it returns.
> I think that maybe a report with eight subreports might work, but
> it seems way to cumbersome and I currently have no idea how I would set
> one up. Also, I think a subreport would segregate the information too
> much.
> I hope that I have given enough information. These forums have been
> a HUGE help in getting me to this point, hopefully anyone can help me
> get past this.
>
> Thanks!
> -Ted
>



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:42 AM
Pieter Wijnen's Avatar Pieter Wijnen
Guest
 
Posts: n/a
   
   
Re: Multiple queries into one report or table

I'm sorry to say this but you have to learn more about relational databases,
me thinks.
there's no reason I can think of for having seperate Sequence tables.
you should instead make a SequenceSteps table, linked to the Sequence table,
that identifies the steps needed.
that way you don't have to play around with a lot of (what) if's

Sorry if I seem gruff

Pieter

wrote in message
news:1153951259.750539.305410@b28g2000cwb.googlegr oups.com...
>I am very new to the whole Access program. Over the past couple of
> weeks I have managed to create a very nice front end for a somewhat
> complex database. I probably did it backwards, but now I am in need of
> help with the raw data.
> I will do my best to explain and then clarify if need be.
> I am creating a Work Order Time Line tracking program. The Work
> Orders each have a unique number (used as the Primary Key). These Work
> Order numbers are kept on a Master Work Order table. The Work Orders
> are able to fall into eight different Work Sequences (some have more or
> less steps to get to the final process). Each of these Sequences has
> its own table, which are all linked back to the Master table via the
> Work Order number. Each of these Sequence tables has criteria that has
> to be entered by the user and is specific to that Sequence table/type.
> Each table has a query that is built to return dates specific to
> that sequence type. A query can return anything from one date for a
> Work Order to 6 dates, again depending on the type of sequence that it
> is designed for. So this creates eight unique qeries also. I have
> created unique reports that match the different queries.
> All of this is working great so far. However; my goal is to be able
> to generate a report, or table that I could use to see all of the Work
> Orders along with the information that is generated by their respective
> sequence query.
> I'll try to illustrate it now using only 2 examples:
>
> tblMasterWR:
> [WorkOrder(Primary Key)] [Designer] [Area]
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
> ---------------------------------------------------------------------------------------------------------
> tblOverheadOnly:
> [WorkOrder(linked to master)] [StartDate] [DayToOffset]
>
> qryOverheadOnly:
> [WorkOrder(linked to master)] [OffsetDate] [CompletionDate]
> ---------------------------------------------------------------------------------------------------------
> tblOverheadPay:
> [WorkOrder(linked to master)] [Start Date] [DaysToPay]
> [DaysToOffset]
>
> qryOverheadPay:
> [WorkOrder(linked to master)] [PayReceiveDate] [OffsetDate]
> [CompletionDate]
>
> etc...
>
> It is built so that each table and query cannot create a duplicate Work
> Order number. I don't think creating a master query and choosing
> criteria in there is an answer, because each sequence varies in its
> underlying math to find the dates that it returns.
> I think that maybe a report with eight subreports might work, but
> it seems way to cumbersome and I currently have no idea how I would set
> one up. Also, I think a subreport would segregate the information too
> much.
> I hope that I have given enough information. These forums have been
> a HUGE help in getting me to this point, hopefully anyone can help me
> get past this.
>
> Thanks!
> -Ted
>




--
----------------------------------------
I am using the free version of SPAMfighter for private users.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
It has removed 4367 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com/len


Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:42 AM
tedb's Avatar tedb
Guest
 
Posts: n/a
   
   
Re: Multiple queries into one report or table

  Donate Today!  
The reason that I made separate queries with unique calculations, is
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
because I have never seen or come across anything that looked like a
query that different criteria could be used depending on how the main
item needed to be handled. If there is such a thing that is easy to
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
create, manuever, and will get me to where I want to be, I am all for
it. Please let me know how I can create something like this.

I still would like to know if anybody has other ideas to use existing
data.

Thanks for any help!!!

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

» Gurbani Jukebox
Listen to Gurbani while surfing SPN!
» Active Discussions
sikhism Who is "Mohan"?
Today 08:46 AM
22 Replies, 335 Views
sikhism How important is Matha...
Today 08:12 AM
59 Replies, 1,038 Views
sikhism need urgent advice.......
Today 06:46 AM
6 Replies, 81 Views
sikhism ਨਾਮਾ
Today 06:37 AM
2 Replies, 53 Views
sikhism Sikh Diamonds Video...
Today 04:23 AM
6 Replies, 116 Views
sikhism Are Creator and Creation...
Today 01:30 AM
44 Replies, 2,837 Views
sikhism Herman Hesse,...
Today 00:54 AM
13 Replies, 229 Views
sikhism On a Scale of Most...
Yesterday 21:42 PM
30 Replies, 1,277 Views
sikhism I became victim by...
Yesterday 19:50 PM
0 Replies, 44 Views
sikhism Sikh Books downloads
Yesterday 15:39 PM
2 Replies, 66 Views
sikhism Salok Sheikh Farid ji...
Yesterday 09:35 AM
0 Replies, 47 Views
sikhism In Punjab, three farmers...
Yesterday 05:36 AM
0 Replies, 49 Views
sikhism Supernatural Sikhs, what...
Yesterday 03:45 AM
19 Replies, 414 Views
sikhism Sukhmani Sahib Astpadi...
26-May-2012 22:57 PM
0 Replies, 51 Views
Do You Think You Are...
26-May-2012 09:59 AM
94 Replies, 8,258 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.2

All times are GMT +6.5. The time now is 09:52 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.5.2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.52450 seconds with 30 queries