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.

Too novice to figure this out on my own. NEED HELP

Featured Replies

  • Newbies

Okay, it seems simple enough, but I give up. How does one define the following fields and get them to play together nicely.

The fields are:

Gross price = Net * 1.15

Net price = Gross * .85

Sometimes Gross price will be entered first into the database and sometimes Net price. How do I get them to behave and not tell me I'm attempting to make a circular definition? I've fumbled long enough with the "If" function to know that I don't know enough. Can someone please help me, immediately if not sooner.

:crazy:

The secret is that you need four fields:

GrossPriceEntry (number)

NetPriceEntery (number)

cGrossPrice (calculation, number) = If(notIsEmpty(GrosstPriceEntry), GrossPriceEntry, Round(NetPriceEntry*1.15, 2))

cNetPrice (calculation, number) = If(notIsEmpty(NetPriceEntry), NetPriceEntry, Round(GrossPriceEntry*0.85, 2))

On your layout in Layout Mode, using Format --> Field Format, uncheck the "allow entry" option for cGrossPrice and cNetPrice. Also in Layout Mode, format cGrossPrice and cNetPrice as opaque, stack cNetPrice on top of NetPriceEntry and stack cGrossPrice on top of GrossPriceEntry.

How it works: If you click on the net price "stack" of fields you will go to the lower field (NetPriceEntry). The same thing works for the gross price "stack". This allow either entry or calculation for one of both fields.

-bd

  • Author
  • Newbies

thanks for the rapid reply. Your help is truly appreciated. For an even more elegant solution, check out the second reply to my query from LiveOak (administrator)

Many thanks for taking the time to respond!

  • Author
  • Newbies

Many thanks LiveOak. You solution is elegant in both its ease and simplicity. I really appreciate it!

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.