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

How do I make a field calculate vat?

Featured Replies

I have a ex VAT Field that I need to add VAT onto.

How do I make my inc VAT field calculate 17.5% onto the price?

Also can I make bot fields dynamic so if I enter info into one field it recalculates the other field?

i.e if i enter the ex_vat price, the inc_vat field auto calculates or vice versa if enter the inc_vat price, the ex_vat will auto calculate?

Have you tried the auto-enter calculation option? You'll find it in Define Database by double-clicking on a field. Make sure to uncheck the option to "do not replace existing value (if any)" so the auto-enter occurs anytime referenced fields are modified.

Hi

both fields must be number with option of AutoEnter/Replace a calculation.

The calc for the field "ex_vat" is:

Case(

Get ( ActiveFieldName ) = "ex_vat" ; ex_vat ;

Round ( inc_vat / 1.175 ; 2 )

)

The calc for the field "inc_vat" is:

Case(

Get ( ActiveFieldName ) = "inc_vat" ; inc_vat ;

Round ( ex_vat * 1.175 ; 2 )

)

  • Author

Thats awesome thanks guys.

P.S

John just wanted to say I really like your training courses, have learn't loads has made me want look into Developer Certification.

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.