1785d Multiple queries into one report or table
Sign Up |  Live StatsLive Stats    Articles 37,322| Comments 177,198| Members 19,408, Newest ssarabjeet61| Online 465
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 » 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: 500 USD, Received: 115 USD (23%)
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/14008-multiple-queries-into-one-report-table.html
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]
---------------------------------------------------------------------------------------------------------
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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
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





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: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
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
> 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]
> ---------------------------------------------------------------------------------------------------------
> tblOverheadPay:
> [WorkOrder(linked to master)] [Start Date] [DaysToPay]
> [DaysToOffset]
>
> qryOverheadPay:
> [WorkOrder(linked to master)] [PayReceiveDate] [OffsetDate]
> [CompletionDate]
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
>
> 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...
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
>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]
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
>
> 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.
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
because I have never seen or come across anything that looked like a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14008
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
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

» Active Discussions
How does Sikhi help you...
Today 14:19 PM
20 Replies, 832 Views
Keeping Amrit Vela
Today 13:45 PM
6 Replies, 793 Views
Health Exercise And...
Today 13:30 PM
0 Replies, 6 Views
SSGS with English...
Today 12:55 PM
9 Replies, 105 Views
Losing My Religion: Why...
Today 11:52 AM
11 Replies, 248 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 01:44 AM
310 Replies, 7,531 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 01:30 AM
174 Replies, 4,447 Views
Dalai Lama’s Lessons for...
Today 00:11 AM
0 Replies, 41 Views
30 Day Amrit Vela -...
Yesterday 23:49 PM
45 Replies, 669 Views
What Do You Think of...
Yesterday 22:56 PM
39 Replies, 710 Views
How Religions Change...
Yesterday 19:33 PM
0 Replies, 78 Views
Do you believe in...
Yesterday 12:00 PM
184 Replies, 3,911 Views
Thought of the Moment!
Yesterday 10:07 AM
109 Replies, 5,156 Views
Amrit
Yesterday 09:17 AM
5 Replies, 364 Views
What I believe Hukam to...
Yesterday 03:15 AM
13 Replies, 185 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 14:33 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.58667 seconds with 32 queries
0