DMGoldie Posted July 12, 2004 Posted July 12, 2004 I have a script from a FileMaker 4.1 DB that finds records that were entered in the last 24 hours. I used a Paste Result (Today - 1). I believe "Today" doesn't exist in FM 7.0 - does anyone have an idea how to re-created this script in FM 7? Thanks, David
stanley Posted July 12, 2004 Posted July 12, 2004 David: In FMP 7 you would use Get(CurrentDate), the same way as in earlier versions you would use Status(CurrentDate). The Today function never really worked correctly anyway, and should be replaced in older versions of FMP with Status(CurrentDate). -Stanley
-Queue- Posted July 12, 2004 Posted July 12, 2004 If I recall correctly, Today actually did work fine when used in script steps in previous versions. It is only in calculation fields where Today would not update unless the file was closed and opened every day.
Vaughan Posted July 13, 2004 Posted July 13, 2004 Today assumed that the file would be regularly closed and opened again -- the function only recalculates when the file is opened. Files that are left open for long periods -- like on a FM Host -- will prevent Today from recalculating.
DMGoldie Posted July 13, 2004 Author Posted July 13, 2004 Stanley, Thanks for your reply. I spaced on Get(CurrentDate). It's hard to break old habits... Thanks Again, David
Recommended Posts
This topic is 7699 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