Chat with a LIVE Microsoft Access Expert!
 
       
 

         

   

Go Back   Access World Forums > Microsoft Access Discussion > Queries

 
 
Chat with a LIVE Microsoft Access Expert!
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-07-2006, 11:49 AM
NDBadger NDBadger is offline
Registered User
 
Join Date: Jul 2006
Posts: 27
NDBadger is on a distinguished road
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?
Reply With Quote
Sponsored Links
  #2  
Old 07-07-2006, 01:27 PM
ctr1085 ctr1085 is offline
Registered User
 
Join Date: Jul 2006
Posts: 26
ctr1085 is on a distinguished road
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))
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off

Forum Jump

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


All times are GMT -8. The time now is 09:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
(c) copyright 2009 Access World