dbTalk Databases Forums  

Find Records Between Two Dates

comp.databases.filemaker comp.databases.filemaker


Discuss Find Records Between Two Dates in the comp.databases.filemaker forum.



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

Default Find Records Between Two Dates - 12-04-2005 , 01:36 PM






I have a script that

" insert calculated value: "sold date" field
06/30/2005&"..."&07/05/2005

If I stop the script at this point it finds the appropriate records,
If I continue the scipt with the other "find" parmaters" it does not
work.


Thanks
jc lewis


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

Default Re: Find Records Between Two Dates - 12-04-2005 , 01:48 PM






JC wrote:
Quote:
I have a script that

" insert calculated value: "sold date" field
06/30/2005&"..."&07/05/2005

If I stop the script at this point it finds the appropriate records,
If I continue the scipt with the other "find" parmaters" it does not
work.
That would suggest that the find on the sold date is not the problem.
What other search parameters are you using?

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

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #3  
Old   
JC
 
Posts: n/a

Default Re: Find Records Between Two Dates - 12-04-2005 , 01:49 PM



I "set field" "sold" = "yes"
"type" = "new"


Thanks
jc


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

Default Re: Find Records Between Two Dates - 12-04-2005 , 02:06 PM



Instead of doing it by script, please try doing the same criteria (sold
date, sold and type) in a manual find. Does that work? If not, take a
look at one particular record you would expect to show up in your find
results, just to double-check that it meets your criteria.

Let us know what happens when you try the above. Also, what version of
FileMaker are you using?

JC wrote:
Quote:
I "set field" "sold" = "yes"
"type" = "new"


Thanks
jc

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

FileMaker 7 Certified Developer
Associate Member, FileMaker Solutions Alliance


Reply With Quote
  #5  
Old   
Michael Myett
 
Posts: n/a

Default Re: Find Records Between Two Dates - 12-04-2005 , 02:06 PM



JC wrote:
Quote:
I have a script that

" insert calculated value: "sold date" field
06/30/2005&"..."&07/05/2005

If I stop the script at this point it finds the appropriate records,
If I continue the scipt with the other "find" parmaters" it does not
work.


Thanks
jc lewis

It sounds as if you are performing several finds, one right after the
other. If so, each subsequent find will replace the results of the previous.

You can either take advantage of the constrain or extend find results
function or group into one find request with multiple criteria.

Michael Myett



Reply With Quote
  #6  
Old   
Bill Marriott
 
Posts: n/a

Default Re: Find Records Between Two Dates - 12-04-2005 , 03:19 PM



Assuming you are actually using fields or quoted literals because

06/30/2005&"..."&07/05/2005

evaluates to

".0000997506234414....0006982543640898"


"Michael Myett" <michael.myett (AT) adelphia (DOT) net> wrote

Quote:
JC wrote:
I have a script that

" insert calculated value: "sold date" field
06/30/2005&"..."&07/05/2005

If I stop the script at this point it finds the appropriate records,
If I continue the scipt with the other "find" parmaters" it does not
work.


Thanks
jc lewis

It sounds as if you are performing several finds, one right after the
other. If so, each subsequent find will replace the results of the
previous.

You can either take advantage of the constrain or extend find results
function or group into one find request with multiple criteria.

Michael Myett




Reply With Quote
  #7  
Old   
JC
 
Posts: n/a

Default Re: Find Records Between Two Dates - 12-04-2005 , 06:10 PM



Howard and ALL

Right after that it started Freezing up. So I un-installed and
re-installed FM 7.0v3 and it worked fine.

thanks so much for your time

JC


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.