Jump to content

Timestamps in Find requests


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

Recommended Posts

FM8

If I'm in find mode I can do a find request in a timestamp field by entering, for example, >01/01/2006 08:00 AM and it will find the appropriate records.

I want to do the same thing in a script where I have set a script variable = to a timestamp value. I

enter find mode

set field (timestampfield; ">$$scriptvariable")

perform find

It doesn't find the appropriate records and if I leave out the perform find, I can see the timestampfield is not filled in. I assume that is because ">$$scriptvariable" resolves to text and not timestamp. If that's the case, how can I enter this constraint in that field via the script. Everything I try seems to result in an error in the script editor.

Thanks for any help.

Link to comment
Share on other sites

This topic is 5604 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
 Share

×
×
  • Create New...

Important Information

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