bens Posted December 19, 2005 Share Posted December 19, 2005 I need a calc. that insert the month before the current and the current year when a new record is created. In december it should be November, 2005, and so on. Link to comment Share on other sites More sharing options...
comment Posted December 19, 2005 Share Posted December 19, 2005 Try: Let ( d = Get (CurrentDate) - Day ( Get (CurrentDate) ) ; MonthName ( d ) & ", " & Year ( d ) ) The result needs to be text. Or you can use just this part: Get (CurrentDate) - Day ( Get (CurrentDate) ) Set the result to date, and format the field to display only the month and the year (the date is always the last day of previous month). Link to comment Share on other sites More sharing options...
bens Posted December 19, 2005 Author Share Posted December 19, 2005 Thank you very much, comment Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6701 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