ronniemilsap

Button to add permanent timestamp

Discussion created by ronniemilsap on Nov 30, 2016
Latest reply on Nov 30, 2016 by philmodjunk

Using Filemaker 12 Pro

 

This seems like a simple task and I was close to a solution at one point, but I seem to have lost my way.  I simply want the user to click a "Checkout" button and for the current date and time to be applied to a field that will permanently hold the value (field will no longer be editable). The closest I got was adding a timestamp, but it continued to use the current timestamp every time the button was clicked.  I've edited the script so many times that it has become useless.  At this time I am using:

 

Button Setup

Set Field

Specify Target Field (Chose my field and clicked OK)

Calculated Result:

     Table::Check Out; Timestamp (date ; time)

 

When I click OK, I get error "An Operator (e.g. +,-,*,...) is expected here."  Clearly I have no clue what I'm doing.

 

Any ideas are appreciated.  The closest solution I've found is here: https://www.reddit.com/r/filemaker/comments/2dyaaj/button_timestamp_help/

But it hasn't been much help.

 

Thanks

Outcomes