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 5373 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

We are trying to find a way to set how much to pay for mileage based on date.

Example: anything before May 1st 2010 is 46 cents per mile and anything after that date is 50 cents a mile.

I'm thinking that we can use an If function to determine if the date is before or after and then based on which it is pay a certain amount for the mileage.

Before we would have to create two seperate mileage reports and manually go through and assign them by date and its honestly a big pain, any help would be greatly appreciated.

Posted

This is best done by a lookup, not a calculation. Create a table of Costs with two fields: FromDate and Cost. Define a relationship between Costs and your current table, matching on date. Set the Cost field in your current table to lookup the value from Costs table, copying next lower value if no match.

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