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.

calculation embedded in a calculation

Featured Replies

Is there anything wrong in using an unstored calculation field within another calculation?

I have a database that is used to print barcoded container labels. In this database, I have a quantity field and an external function that uses a calculation field to create the barcode. One of my customers requires leading zeros for the quantity field. To accommodate this requirement, I created a calculation field, qty_8_chr, that is an unstored calculation:

Right ("0000000" & qty;8)

The barcode calculation is Barcode(qty_8_chr,1,0,1)

It seems to work properly, however, I wasn't sure if this is good practice?

Any advice?

If that's the only thing it's needed for, why not make the barcode calculation =

Barcode ( Right ( "0000000" & qty ; 8 ) ; 1 ; 0 ; 1 )

and eliminate the field?

  • Author

Well, I need a "human readable" portion above the barcode, so I need a text field to display "0000018". My current qty field only displays "18".

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.