November 6, 201312 yr 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
November 6, 201312 yr 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?
November 7, 201312 yr Author 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
November 7, 201312 yr 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.
November 7, 201312 yr 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.
November 7, 201312 yr " 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.
Create an account or sign in to comment