| Chat with a LIVE Microsoft
Access Expert! |
||||
|
||||
|
#1
|
|||
|
|||
|
Query help!!!!
I have a basic table that holds all of my shops student records. These records include 22 different classes listed as individual field headings. Under each of the class names is the date each individual completed the course of study. As some of these are recurring training I am trying to build a query that will search through the entire table and list out the dates that are between 10 months ago and earlier and only show those dates. I have gotten a query to show all students who have at least 1 class comming due however it shows the entire record.
Basically I want the query to give me students name, class due, and date completed. Am I asking to much? Do I need to recreate the table under a different format? |
| Sponsored Links |
|
#2
|
|||
|
|||
|
What are the fields of your table? What's your table name?
Here's what I could think of from your question. Query: Code:
SELECT Student_Name, Class_Due, Date_Completed FROM basic_table WHERE Date_Completed <= DateSerial(Year(NOW),Month(NOW)-10,day(NOW)) |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pulling data from several identical tables and returning the results to one big query | morlan | Queries | 5 | 01-23-2007 04:17 AM |
| Adding a Auto increment Text/Number | elliotth123 | Tables | 12 | 09-13-2006 04:18 AM |
| Query by Form (w/Date & Memo fields) | esskaykay | Modules & VBA | 5 | 12-30-2003 01:38 PM |
| Query for a report | morlan | Queries | 1 | 11-16-2003 09:06 PM |
| Help returning blank (no entry) records with a parameter query | rgsmpx | Queries | 2 | 10-09-2001 09:04 AM |