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

  • Newbies

I have a small invoicing database that handles Japanese Yen, but sometimes I need to issue invoices in USD. At present I have a pull down menu which indicates which currency and that is linked to two different invoice layouts Yen / USD. I want to simplify this by having the currency symbol change in the accounting fields according to the selection in the currency field. Can any one suggest how I would do this

Thanks.

Basically you need to convert the numbers to text and use a case statement to decide which symbol to you. The conversion of a number to text is easy, but it gets complicated when you want to add commas and two decimal points. For instance, let's say you have a number which you've used the Format Number dialog to appear as $1,234.50. Well, if you use NumToText to convert this number to text (or simply have a calculation with this field and give it a text result) it will appear at 1234.5. You lose the comma and the second decimal.

So, given all of that, here's the calculation, given a field called Currency and a field called Amount

code:


Case(

  • Author
  • Newbies

Thanks Chuck,

I appreciate the help.

Regards

Walter

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.