Newbies nicktg Posted March 23, 2005 Newbies Posted March 23, 2005 I am a long time Filemaker user, but I only recently started using it for my business. I am using a mailing list which has a field that contains a date in the form of 08272005, 10152005 etc. Even though I have defined the field containing this information a a date field, I cannot sort or search that field. If I try to search for all the 2005 dates in that field I get a message saying "the value of the field must be a valid date in the range of years 1 to 4000 and should look like "12/25/2003". Is there a way to convert from the format I have without slashes to that? Or make FM understand the format I have?
Ugo DI LUCA Posted March 23, 2005 Posted March 23, 2005 You cannot search for a Year (which is a number) by entering a Date field. This seems rather logical. If you need the year apart for a search use the Year ( ) function and do the search on it.
sbg2 Posted March 23, 2005 Posted March 23, 2005 If you are willing to convert your current data to a standard looking date then create a new date field and run a script to loop through each record: Show All Go To Record - first Loop Set Field[Your New Date Field, Left(Old Date;2) & "/" & Middle(Old Date;3;2) & "/" & Right(Old Date;4) Go to next record (exit after last) End Loop
Recommended Posts
This topic is 7184 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now