dbTalk Databases Forums  

finding a single month

comp.databases.filemaker comp.databases.filemaker


Discuss finding a single month in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim
 
Posts: n/a

Default finding a single month - 10-31-2005 , 06:02 AM






I have a date field. How do I search for all records in a certain month. I
want to find all records for October over a several year peroid.

TJH



Reply With Quote
  #2  
Old   
eyebrown@mindspring.com
 
Posts: n/a

Default Re: finding a single month - 10-31-2005 , 06:31 AM






In article <dk515m$i8n$1 (AT) iruka (DOT) swcp.com>, "Tim"
<hawkdc9 (AT) removethis (DOT) swcp.com> wrote:

Quote:
I have a date field. How do I search for all records in a certain month. I
want to find all records for October over a several year peroid.

TJH
Make a calculation field where the calc is the Month function. It will
look like:

Month (YourDateField)

This field will then contain a single number, one through 12, depending on
the month. Run your find on this field, instead of your date field, and
you can get all records from October, any October.

Steve Brown


Reply With Quote
  #3  
Old   
Matt Wills
 
Posts: n/a

Default Re: finding a single month - 10-31-2005 , 06:32 AM



Tim wrote on (10/31/2005):

Quote:
I have a date field. How do I search for all records in a certain month.
I want to find all records for October over a several year peroid.

TJH
Create a calc field: YourMonth = Month ( YourDate ).

Perform the search on that field.

Look at Month function in Help for more info.

Matt

--



Reply With Quote
  #4  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: finding a single month - 10-31-2005 , 10:05 AM



Tim wrote:
Quote:
I have a date field. How do I search for all records in a certain month. I
want to find all records for October over a several year peroid.
The other answers you've received are quite valid for FileMaker versions
prior to FM8. For FM8, though, it becomes much easier. In find mode,
just enter "10/*/*" (without the quotes). Or to find everyone with a
birthday today, use "10/31/*". Or to find everything that happened on a
Monday, you can actually search in the date field for the word "Monday"
(though this does NOT work in the same way for months).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg (818) 883-2846
FM Pro Solutions Los Angeles, California

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.