Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted (edited)

Hi, I've been unable to work this out. I want to work out a price change after a certain date. eg. After May 19 2008 it has risen from $16.00 to $16.50

I tried IF(Date1=>"5,19,2008";16.5;16) and other more embarrassing attempts which I wouldn't dare to put up here!

With many thanks,

Charles

Edited by Guest
Spelling & grammar
Posted (edited)

Try;

Case ( AnyDate ≥ Date ( 5; 19; 2008); 16.5; 16)

the dollar amounts will need to be formatted at the Layout level.

Lee

[color:red]p.s.

AnyDate represents your current Date Field.

Edited by Guest
p.s.
Posted

The problem with your calculation is that "5,19,2008" is not a date - it's just a meaningless text string. A comparison like:

Date1 ≥ Date ( 5 ; 19 ; 2008 )

would make more sense.

However, this not a good approach overall. Calculations should calculate, not store data. Your prices should be kept in a pricelist as fields/records, and other records that need them should look up the relevant price from there.

Posted

Thank you for your speedy replies, I have now got it sorted. I didn't expect to have a price change mid season. I did have these in separate fields/records in global storage.

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