Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A Logical Date Query

Featured Replies

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

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.

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.

  • Author

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.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.