Jump to content

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

Recommended Posts

  • Newbies
Posted

Apologies for my lack of experience!

What I want to do is the following but I'm darned if I can figure out how to get FM to do it!

If 'Date A' is between 'Start Date' and 'End Date' then list all values of 'Field A' between 'Start Date' and 'End Date'

I'd then like to be able to export 'Field A' as text but that's a different story..

What is the best format to have the date in for this kind of thing?

Thanks

Posted

Hi, Mr.Tom. You could make a calc date field equal to:


Case ( Start Date < Date A and Date A < End Date , Field A )

The result of this calc for each record will be the value of Field A iff the date is within the range. If you wanted to display all of those on the same record, a portal is probably your best bet.

If you export that field, it should come out as a "normal-looking" date. Are you trying to export it with months spelled out?

HTH,

Jerry

  • Newbies
Posted

Hi Jerry,

Thanks for that. I'm guessing I could have more than one field by just having Field A, Field B, Field C etc

It would be good to have the months in full spelling.

When setting up the calc date field, do the dates need to be of a certain form ie. all numbers?

Thanks

Tom

Posted

When setting up the calc date field, do the dates need to be of a certain form ie. all numbers?

If the original field is a date (and you won't be able to do inequality comparisons if it's not), then make the calculation a date and you should be fine.

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