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

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

Recommended Posts

Posted

This sounds the same. Maybe the result of your calculation isn't Date?

Why not tell us in what you are wanting to find with your calculation.

I.e.

Get(CurrentDate) + 6

1/4/2006 + 6 = 1/10/2006

Get(CurrentDate) - 6

1/4/2006 - 6 = 12/29/2005

or,

is it a range of dates such as 1/4/2006...1/10/2006

all files with a date in the range of 1/4/2006...1/10/2006

Lee

Posted

I have a list of bids with due dates that range from years ago to dates in the future. I want to find all bids that are greater than todays date - 6 days ago. I believe the solution provided earlier will only give me the bids for the date of today-6.

Thanks for your help

Posted (edited)

You are talking in circles.

greater than today, but less 6 days???

At least I think I'm understanding that you want a found set of records with a range of 6 days.

Let us know what your example of dates should be, and I'll post a calculation.

Use example of real dates, since your confusing me (us) as to what the result should be.

Lee

[color:red]Maybe this?

Enter Find Mode [ ]

Insert Calculated Result [ YourDateField; Get ( CurrentDate )-6 & "..." & Get ( CurrentDate ) ] [ Select ]

Perform Find [ ]

Edited by Guest
Posted

Sorry for the confusion hopefully this explains things better. If I have bid with the following dates

11/1/05

11/20/05

12/21/05

1/02/06

1/05/06

1/10/06

today being 1/4/06

and

today-6 being 12/29/06

I would like to retrieve all quotes >today-6 which from the example would return 1/02/06, 1/05/06 & 1/10/06.

Thanks for sticking with me on this one.

Posted

Okay, you want to go back six days and forward six days.

This will find what you described.

Enter Find Mode [ ]

Insert Calculated Result [ [color:red] YourDateField; Get ( CurrentDate )-6 & "..." & Get ( CurrentDate )+6 ] [ Select ]

Perform Find [ ]

[color:red] YourDateField = [color:red]Your Date Field

HTH

Lee

Posted

I might be wrong here too, and really, its just down to this or that, but I think he's saying he wants every day that is > (Get(CurrenDate) - 6)

So not just 6 days in advance, but all days in advace.

In which case, in your Find script you would just set the field to:

> (Get(CurrentDate) - 6)

Either way you have plenty of examples! I hope you learned something!

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