473,394 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

query question-2nd request

Hello. I have to apologize in advance but I am a newbie with Access.

I have a select query of which I would like the other select queries
that I create to be dependant on the first query....can any one tell
me how I would go about accomplishing this?

More or less I want the created queries to be dependant upon query
1. The first query is dependant on tblEvents at which time I need
to enter a criteria [Type an EventNumber], that will look up the
EventName, EventDate, EventTime, etc...what I am trying to do is use
the same EventNumber to look up specific job codes in the table called
tblHoursWorked....I need to use the tblVolunteers to lookup the
volunteer's first and last name. See below for more info on my
tables. I have 26 job codes and I need to produce a single report for
each individual job code....which means I have to produce 26
reports....some events don't require all 26 job codes, it all depends
on the event. So I don't want them to have to enter an event number
for each report that is needed.

The table that stores job codes(tblJobCodes) contains the following
fields RecordNumber, JobCode, JobCodeDescription. In my other queries
I use this table to give me the JobCodeDescription.

The table that stores the events (tblEvents) contains these fields:
RecordNumber, EventNumber, EventName, EventDate, EventTime, HouseSize,
HouseLocation, the following are all Yes/No fields within this table:
Concessions, CrownClub, Sort, and Rotation.

The table that stores volunteers(tblVolunteers) has RecordNumber,
VolunteerNumber, FirstName, LastName, Address1, Address2, City, State,
Zip, HomeTel, BusTel, CellTel, EmailAddr, EmergencyContactNm,
EmergencyContactTel and StatusCode. The tblVolunteer in the secondary
queries
finds only the first name and last name of the volunteer using the
VolunteerNumber.

Another table that stores the dates that the volunteers
work(tblWorkHours) contains the following fields: RecordNumber,
VolunteerNumber, JobCode, EventNumber, TimeIn, TimeOut and
DateWorked.

Doris

Apr 24 '07 #1
0 1019

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: cover | last post by:
I have a form with drop down menus to query for name, month, and year to capture activity accordingly by an individual for a given month and given year. But I'd like to also be able to query ALL...
4
by: Spark | last post by:
Hi, Situation: Need a query to return number of ticket records by month of open in a log table where the ticket open record is older than 24 hours then the ticket pending or ticket closed...
3
by: MX1 | last post by:
Here's a simple query question. I have tables. One is an order table and one is an order detail table. tOrder tOrderDetail The tOrder table contains basic info like customer name, date, a...
1
by: Jaycee66 | last post by:
Access 2000 "Between" query question: I am relatively new to MS Access and everytime I think I have a basic concept of the program it pokes me in the eye with something I think would be simple to...
2
by: Erica | last post by:
Hi All, I've searched the usenet/web high and low and cant seem to find any guidelines for the query i'm trying to write. I have made a database that contains all my invoices. Invoices that...
7
by: Scott Frankel | last post by:
Still too new to SQL to have run across this yet ... How does one return the latest row from a table, given multiple entries of varying data? i.e.: given a table that looks like this: color...
3
by: cover | last post by:
I have a table with 50 fields that receive input depending on whether that input came in from a 'shaker' form or a 'conveyor' form. Input from the 'conveyor' form might populate 25 fields while...
10
by: Robert | last post by:
I am an attorney in a non-profit organization and a self-taught programmer. I'm trying to create a client db that will allow me to search for potential conflicts of interest based either on Social...
2
by: Grip | last post by:
Just started teaching myself Access and I've got a newbie question... I have two tables tblPpl and tblOrgs linked by a many-to-one relationship. I'm trying to produce a report that will show a...
3
by: bob laughland | last post by:
Hi All, I have another SQL question, and this one is going to be difficult to explain. I have a table like this rowid name changed 1 a 1 1 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.