June 9, 200520 yr We have a timestamp field for each record created, however the format shows mm/dd/yy 00:00:00 so searching is impossible (can't search by just date) does anyone have a solution where you can just search by 'date' even though we are using a timestamp or is there a way to just have the timestamp show a 'date' in FM7? (we were able to do that in FM5). THANKS!!!
June 9, 200520 yr Given that FMP will refuse to search a timestamp field unless you are entering a valid timestamp then this looks like a scripted solution is required. For example to find the date 06/09/2005 you will have to do a range find 06/09/2005 00:00:00...06/09/2005 23:59:59. The modification for a range of dates is fairly clear. You will not want to be entering all of this if you do a lot of date searching so you need to script the find.
June 9, 200520 yr Author thanks for the reply! Is there a way to add a 'date' automatically when a record is created or updated? We really don't need the hh/mm/ss information.
June 10, 200520 yr Alanp: Create a field which is a Date field; you can then set it to auto-enter the modification date ("options" in define fields). Likewise you can create another which auto-enters the creation date... -Stanley
Create an account or sign in to comment