Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5695 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 5695 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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