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.

Featured Replies

I

quote:

Originally posted by Simon Bowler:

As a calculated field, [transaction_amt] is not alterable or storable and will change if any of its determinig fields change. This gives some difficulties since the line item will change if in the future the price changes. In addition, from time to time the value needs to be altered in an ad hoc way at the time of entry - not possible with a calculated field.

It seems that what you need is a related database that stores "default" transaction_amt for your line items. For the sake of this post let's call it default_amt.fp5.

Set transaction_amt in your line items database to Lookup values based on a relationship, this relationship based on one of your "determining fields".

Whenever a value is entered (or modified) in the determining field in a record in your line items database, the transaction_amt value will change as well. You will also be able to change transaction_amt without affecting the "default" or other records with the same line item determining field.

However, otherwise the transaction_amt value will not change at all, even if you change its "default" value in default.amt.fp5. This way previously-created line item records will retain the information entered, and new ones will take on the new value.

I hope this gives you a good start!

There is a way to do this with an auto-enter calculation if you set it up properly. You have to use a case statement to make sure that all of the referenced fields have valid values before calculating the result. For example, suppose you want to calculate an invoice charge as follows:

InvoiceAmount = Quantity * UnitPrice * DiscountRate

You would set it up like this:

Case( IsEmpty(Quantity) ,"",

IsEmpty(UnitPrice),"",

IsEmpty(DiscountRate),"",

Quantity * UnitPrice * DiscountRate)

[ January 09, 2002: Message edited by: BobWeaver ]

  • Author

The Bridge and Bob - thanks for the replies. Bob - worked perfectly - onwardsd and upwards.

Cheers

Simon Bowler

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.