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

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

Recommended Posts

Posted

Hi homepress,

You might try:

Enter Find Mode [ ]

Insert Calculated Result [ dateField ; Status(CurrentDate) - 30 & "..." & Status(CurrentDate) ]

Perform Find [ ]

The datefield must be on the layout.

With vs. 7, you don't need the date field on the layout because you can use:

Enter Find Mode [ ]

Set Field [ dateField ; Get(CurrentDate) - 30 & "..." & Get(CurrentDate) ]

Perform Find [ ]

You will of course want to insert an Allow User Abort [ Off ] and Set Error Capture [ On ] at the beginning and trap for errors (such as no records found) yourself.

LaRetta wink.gif

Posted

One tweak: you need to enclose 'Status(CurrentDate) - 30' and 'Status(CurrentDate)' with DateToText( ).

Posted

Thanks JT. I'm having trouble remember pre-7 speak. I should have tested it - my apology for the error, Homepress - I was in a bit of hurry. As it was, I had to really think about what Get(CurrentDate) replaced. smile.gif

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