Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Changing a date to current date in a found set(list)


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

Recommended Posts

Posted

Hi Jay!

The simplest way would be one script step of: Replace Field Contents [ yourDateField ; Get ( CurrentDate ) ] but, if this is multi-user then you might hit record-locking issues. Replace Field Contents[] will tell you after it finishes that it hit an error and could not set a field (if you trap for the error) but it will not tell you which record didn't set.

On the other hand, you can loop each record setting the value as you go and then you can test that the record set properly. Which would to go would depend upon how often this needs to happen (or is it a one-time thing?), the timeliness (whether the change must take effect immediately or can be ran later), who runs it, the significance of the field being set and so forth ...

Also note that Replace Field Contents[] cannot be undone.

This topic is 4805 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.