Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

FIlemaker 5.5 - Searching by Date (ugh)

Posted on 2002-04-02
6
Medium Priority
?
391 Views
Last Modified: 2010-04-27
I'm having a problem trying to perform a find on a date field.  Basically, I'm trying desparately to search a date range.  The first paramter for the date range is a field, and the second is Today (or `//`).  Everytime I try to do a scipted or manual find, is craps out trying to figure out the date field (by crap out, I mean it doesn't find anything).  This is becoming an issue as we are working mainly with date ranges throughout this whole project.  Luckily, it's just beginning, but this is problem enough to bug me.

All help would be appreciated.  If you could show me how to search by date ranges that would be great.
0
Comment
Question by:mgonyea
6 Comments
 
LVL 30

Expert Comment

by:weed
ID: 6913614
Cant reproduce the problem here. Command-F to initiate a Find. In the date field i enter the start date, select the popup that indicates range "..." and also for the todays date parameter "//". Hit the find button and it pops up the correct range. It may be a problem with your field being set to something other than Date. Or perhaps the date field wants a different format for the dates. 1/1/01 instead of 1/1/2001. Something to think about.
0
 

Expert Comment

by:smphoto
ID: 6914973
First check to see how your system is set for date formatting.
Filemaker defaults to the system setting, but prefers the following format - m/d/yyyy. If you use this format on your system for data entry, it will work better. For reports you can customize the date format to suit you.

Second, if you are trying to make this work in a script, then you have to use the script command - Insert Calculated Result - to input the date range into the date field you are searching on.
The calculation inserted should be as follows:
DateToText(1st_date_field &"..."& Today).

This inputs the date as text provided the date in the 1st_date_field is in the proper format - m/d/yyyy.

This should work. Let me know.
0
 
LVL 30

Expert Comment

by:weed
ID: 6915036
smphoto: please read the guidelines for posting comments and answers.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:ComTech
ID: 6915378
Hello smphoto, your commnet could still be considered, but please use the Comment vs. the Answer button, here is why:

Advice for Experts on Providing Solutions Through Comments or Answers

Experts may post solutions to your question in the form of a comment or answer, so be sure to check every email notification as soon as it arrives. Often, an Expert posts the solution to your problem as a comment because it is early in the collaboration process and other issues may be involved. In addition, it is common etiquette in some topics areas to always post comments and not answers. There are several reasons behind this thinking:

Questions do not become prematurely locked and the collaboration process is not inhibited when the question is indexed as open for proposed solutions.
The question-asker has the power to select the best solution rather than one that is simply suggested as an answer.
**Watch out for unclear or multiple-part questions. You can send a comment to the member requesting that they rephrase or break up the question before you submit an answer.
**If you don't know the answer, leave the question for someone else.
**If you are unsure of your solution, post it as a comment rather than an answer. Members can accept comments as solutions and award points for them.
**You are only responsible for providing one reasonable answer.
**You may review information about a member, including their grading history, by clicking on their member name.

Taken from the Site Rules on Answering a Question.  

Regards,
ComTech
CS Admin @ EE
0
 

Accepted Solution

by:
smphoto earned 300 total points
ID: 6915636
First check to see how your system is set for date formatting.
Filemaker defaults to the system setting, but prefers the following format - m/d/yyyy. If you use this
format on your system for date entry, it will work better. For reports you can customize the date format
to suit you.

Second, if you are trying to make this work in a script, then you have to use the script command - Insert
Calculated Result - to input the date range into the date field you are searching on.
The calculation inserted should be as follows:
DateToText(1st_date_field &"..."& Today).

This inputs the date as text provided the date in the 1st_date_field is in the proper format - m/d/yyyy.

This should work. Let me know.
0
 
LVL 1

Author Comment

by:mgonyea
ID: 6926053
Dang.  I came up with a different solution than yours, smphoto; however, your solution also worked, so I'm awarding the points anyways.

Thanks a bunch.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question