buckbuck Posted November 6, 2013 Posted November 6, 2013 Hello I have a list layout with a title header. I have a calc field Get (Current Date) in the header. I use a script button to run a script, one part of which says, Set Field, calc field, Get (Current Date). While the date changes the printed version does not show the current date. Has anyone an idea of this issue. What am I doing wrong? Thanks Matthew
comment Posted November 6, 2013 Posted November 6, 2013 You cannot set a calculation field, so something's missing in your description. It's also not clear what you mean by "the printed version". Is it the same layout? And if it "does not show the current date", what does it show?
buckbuck Posted November 7, 2013 Author Posted November 7, 2013 The layout is a Lines based layout showing product on order. I mis-spoke if I said set a calculation field. In order to select valid lines there is a script with a Find "Ordered". On this same script I have the Set Field function to set the Get Current Date field to the current date. See attached jpegs. Thanks
LaRetta Posted November 7, 2013 Posted November 7, 2013 You have put Get ( CurrentDate ) also in the repetition place. When you open the script step, the bottom box is for repetition only - remove it from there. To explain … you have: Set Field [ Get ( CurrentDate ) [ Get ( CurrentDate ) ] ; Get ( CurrentDate ) ] … the blue is the repetition section.
comment Posted November 7, 2013 Posted November 7, 2013 In your Set Field script step, under 'Specify target field', set the repetition number to 1 and What LaRetta said. Also make sure the field is a global field.
LaRetta Posted November 7, 2013 Posted November 7, 2013 " there is a script with a Find "Ordered". I also have to mention … immediately following the Set Field[], you have Perform Find[] with a Restore. What is within that Restore please? I wonder if you will still get the results you wish.
Recommended Posts
This topic is 4092 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