kisscass Posted September 26, 2004 Posted September 26, 2004 Hi, I'm purchased a calendar solution which I've been changing to reflect the UK date format (day/month/year). The only problem is in various scripts which navigate to a certain selected month. As part of these scripts, the selected year is inserted into the Day_1 field: Insert Calculated Result [ Calendar::Day_1; Calendar::Go_Year ] but what happens then is that for some strange reason it also inserts :00:00 at the end of the date so the result is Day/Month/Year:00:00, which of course is not accepted by the field validation and stalls the script. I can't see why this is inserted into the field as the Go_Year field is just a global text field. Can anyone help? Thanks
-Queue- Posted September 26, 2004 Posted September 26, 2004 There's no need for Insert Calculated Result here. Try using a Set Field instead. Do you get the same result?
Ugo DI LUCA Posted September 26, 2004 Posted September 26, 2004 the selected year is inserted into the Day_1 field: Insert Calculated Result [ Calendar::Day_1; Calendar::Go_Year ] I can't see how this would work if your Day_1 field is a date field ?
kisscass Posted September 27, 2004 Author Posted September 27, 2004 hi, Thanks for replying. I sorted it out in the end by deleting that script step and adding the required data to a previous script. Oh well, it's all an education. Thanks again.
Recommended Posts
This topic is 7709 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