rexjc Posted November 8, 2003 Posted November 8, 2003 Calualation Field: Month(Today) & Day(Today) Result in a Number (11/7/2003 = 117) This Field in the same record should change every day, Tomorrow would be "118". This field keep the number on the day it was created and does not change from day to day. can someone help me.
Lee Smith Posted November 8, 2003 Posted November 8, 2003 Use the Status(CurrentDate) instead of Today - and be sure that it is unstored. HTH Lee
Henry Posted November 8, 2003 Posted November 8, 2003 you can create another number field to store the result. Then the problem will be solve Regards, Henry
CobaltSky Posted November 8, 2003 Posted November 8, 2003 Hello Rex, Both Lee and Henry have provided possible answers to your problem. Lee's answer is complete and correct - but has the drawback of requiring the field be unstored, rendering it unavailable as a key field for relationships and unsuitable for searching with large numbers of records. If either of these considerations are of concern, very simple alternative would be to implement your existing calculation as an 'Auto Entry by Calculation' option on a number field, then select the option to 'Prohibit modification of value'. From the user's perspective, the field will be indistinguishable from a 'normal' calculation field - but it will calculate only once and from then on will simply be stored (auto enter calcs are not updated when the calc result changes). This may be what Henry had in mind, but if so he was not explicit about it. The auto-entry method would work equally well with either the 'Today' function or the 'Status(CurrentDate)' function that Lee mentioned - but because the resulting value will be stored, it will be able to be indexed and therefore will provide more options (eg efficient searching) than would be possible with an unstored calc.
Recommended Posts
This topic is 7790 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