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

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

Recommended Posts

Posted

One field in my database indicate record's status. I flag this field with "New" when a record is created. the flag should be changed to "Old" two days later. I try to run a script as:

goto record/request/page [first]

loop

go to field["status"]

if [current date - created date > 2]

Perform Find/Replace["New", "Old", "Replace"]

end if

goto record/request/page [exit after last, next]

end loop

But seems the Perform Find/Replace[] doesn't work.

Help me please!!!

Posted

Why not have it do it automatically. Just make the "status" field a calculation:

Case(Date +2 >= Status(CurrentDate), "New",

Date < Status(CurrentDate) + 2, "Old" )

Lee

smile.gif

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