UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Query question    
 
   
tyla22
post Apr 28 2010, 01:07 PM
Post #1

New Member
Posts: 3



I am trying to come up with 2 queries. I need one to report all of the birthdays of the current month and the other i need to filter out anyone with 8 "points" or greater
Go to the top of the page
 
+
mike60smart
post Apr 28 2010, 02:11 PM
Post #2

UtterAccess VIP
Posts: 8,480
From: Dunbar,Scotland



Hi

In your query to Filter out anyone with Greater Than 8 points in the crieria row for that Field in your query
you will need to put the following:-

<=8

If you want dates that appear in a specific Month then use the following:-

Between [Enter Start Date] and [Enter Ebd Date]
Go to the top of the page
 
+
doctor9
post Apr 28 2010, 03:23 PM
Post #3

UtterAccess VIP
Posts: 9,304
From: Wisconsin



tyla22,

To return people with a birthday in the current month (using the current date to determine the current month), you'd use a WHERE clause along these lines:

WHERE Month([dteBirthDate])=Month(Date())

To figure out how to filter out anyone with "8 'points' or greater", you'd use:

WHERE [intPoints] < 8

This will display all records where the intPoints field is less than 8.

Hope this helps,

Dennis
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 25th May 2013 - 01:08 PM