Jump 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.

Having a modifiable Calculation field

Featured Replies

Hi people

I have a small problem concerning calculation fields.

I have this calc field, Unit Price that calculates by how many the customer is ordering from us. (case(Quantity > 50 and Quantity < 50; 3.00; 4.00) etc. )

The problem occurs when someone wants to put in their own Unit Price regardless of what the calculation result of the Unit Price should be.

Anyone know how I might get around such problem?

Any nice tips on doing such a thing? smile.gif

Thanxs

Steve Griff

  • Author

One quick question to make sure I get this right. This involves having another field visible for entry yeah?

Is this the case of "one field above the other" trick? I can see how the Case works for this...

I guess this would work?

Steve

Create another field for overriding the calculation.

Then,

if (isempty(FieldForOverride) do the calculation, otherwise use FieldForOverride

Been there, done that...

Make another field, Override, and then change your Case() statement so that the first test is:

Case(Override, Override, ...now put your old tests...)

signal, you're too quick for me! cool.gif

Create an account or sign in to comment

Important Information

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

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.