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.

Select field(s) for printing in layout

Featured Replies

Is it possible to allow a user to select which one of two (or more) fields prints on a particular layout?

Thanks!

Yes, in a manner.

You can make two different layouts (one for each field) and let them choose the layout to print; or you can make one layout with a calculation field that inserts the field based on the user's selection (in a global field).

  • Author

Thanks Vaughan,

I like the calculation field suggestion. The problem is that I am making a automated presciption database. There are 15 doctors. When they prescribe a narcotic, I want to include the doctor's DEA number. Either the program would recognize that the drug selection from a value list was a narcotic and enter the DEA automatically (I don't know how to do this) or the doc whould press a button that would enter the DEA number on a layout (or switch to a different layout, as per your other suggestion). Because there are 15 docs, with the layout system. that would be 30 layouts.

Using a calculation field, I imaging it would work as such: Each Doc's DEA # would be in a separate global. Then by selecting one of 15 buttons, that number would be copied and pasted into a DEA# field in the prescription layout.

I have a field (value list) with doctor's names that is selected at the beginning of the users interaction with the database. By selecting a particular doctor, can I reduce the 15 above buttons down to one? I suppose I could use a conditional value list approach. Or I could write a script with the If command and use a calculation with the substitution function - and substitute the DEA# for the doctors name. Each doctor could be a subscript, and I could run through all 15 subscript each time the "Print DEA#" button is pressed. Does that make sense?

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.