Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4092 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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?

Posted

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

post-104472-0-84097000-1383782806_thumb.

post-104472-0-50560200-1383782820_thumb.

Posted

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.

Posted

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.

Posted

" 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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.