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.

Finding and displaying in new window

Featured Replies

I'm going to be kicking myself when I read the answer to this question but I can't for the life of me figure it out on my own.

I'd like to be able to press a button in my main window to pop up a new window with a layout for data entry. In this window, I'd like to only see the one record I wanted to create the entry for.

The scenario:

Each patient has a number of notes associated with them. The way I've got it set up right now, is that I can flip through patient info in my "main" window. From there, there are various buttons that I'd like to trigger a script to open a new window with only the current patient as the found set. If the button triggers a script to go to the layout, it does go to the proper record, but I don't need other records to be accessible from that window. Does that make any sense?

I'm going attach a file with the database so you can see what I'm referring to. Under the layout called "Dates and Links" there's a button that says "BPSA". I'd like clicking on that to do the same thing as opening a new window with the layout "BPSA" and finding records based on "patientID_pk" in that window.

New_CH.fp7.zip

Use Go to Related Record, not just go to layout.

Also I am unsure what you are trying to do with this globals table in your file. The field is not even set as global. Second. The one script that you have in the file doesnt really make sense.

The first step alone is setting the supposed global field to either a value of 1 or 0.

globals::patientID_fk=New CH::patientID_pk

If it is supposed to be capturing the customer ID, then just set the global field to:

New CH::patientID_pk

Also your perform find step shouldnt have that restore criteria because it isnt set to anything.

  • Author

Yeah. That script was in mid revision when I threw my hands up and decided to post here.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.