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.

Getting Current Price

Featured Replies

How would I parse out an array to get the current price of a product that has multiple prices based on Effective and End dates?

ie...

Price file

Effective End Price

1/01/2005... 12/31/2005 $31.00

1/01/2006... 12/31/2006 $31.50

1/01/2007... 12/31/2007 $33.00

1/01/2008... 12/31/2008 $33.50

1/01/2009... 12/31/2009 $34.00

I tried working with an If statement to test the current date against the Effective and End dates, but I am not looking at it as an array.

You can look up prices with look-up option.

Define a new table for price array. Enter dates and prices for products. Define a relationship with date field.

Open options dialog box of the price field (tha table you want to get value in, not in price table).

Select Look Up value.

Select Relationship you have just defined and select price field.

Date fields can not match exactly, to solve this select "Copy Next Lower Value" or "Copy Next Upper Value" to get price value.

F. Osman Cabi

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.