dbTalk Databases Forums  

Interval search

comp.databases.filemaker comp.databases.filemaker


Discuss Interval search in the comp.databases.filemaker forum.



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

Default Interval search - 09-07-2005 , 05:00 AM






Hi

I currently use the following search criteria in FileMaker 7: Get
(CurrentDate) - 30 & "..." & Get (CurrentDate)

Instead of this criteria I would like to make an interval search, where the
user is prompted to enter the start and end date of the interval.

Does anybody know how that can be done?

Thanks

Daniel



Reply With Quote
  #2  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Interval search - 09-07-2005 , 05:35 AM






Create 2 global date fields 'DateFrom' and 'DateTo' and put them in a
layout such that the user will have to enter dates. The formula becomes
: Interval = DateTo - DateFrom
Remi-Noel

"D" <d (AT) msn (DOT) com> a écrit dans le message de news:
431eba2e$0$172$edfadb0f (AT) dread11 (DOT) news.tele.dk...
Quote:
Hi

I currently use the following search criteria in FileMaker 7: Get
(CurrentDate) - 30 & "..." & Get (CurrentDate)

Instead of this criteria I would like to make an interval search,
where the user is prompted to enter the start and end date of the
interval.

Does anybody know how that can be done?

Thanks

Daniel





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

Default Re: Interval search - 09-07-2005 , 07:55 AM



Quote:
On Wed, 7 Sep 2005 12:35:22 +0200, Remi-Noel Menegaux wrote:
Create 2 global date fields 'DateFrom' and 'DateTo' and put them in a
layout such that the user will have to enter dates. The formula becomes
: Interval = DateTo - DateFrom
Remi-Noel

I'd recommend instead to use DateTo and DateFrom as global fields,
applying the search as directly as

enter find mode
paste result (Date, DateFrom & "..." & DateTo)
perform find

- Martin
Thanks a lot for your fast help!

It worked out perfectly :-)

/Daniel




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.