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

checkbox to define what layout results are displayed in


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

Recommended Posts

Posted

i currently have a script that opens a new window to allow the user to search for records. currently, upon the perform find script running, the user is taken to a layout in List mode that displays the returned results. I'm attempting to add a checkbox to my find window that the user must check to be taken to the other layout in List Mode, but if it isn't checked then the results are displayed on the original layout (in form mode) after the find window closes. 

 

the (global) field that contains the "show results in directory" check box is in a _globals table, however the checkbox isn't editable in find mode. when the text field isn't made a global field then it becomes available to the user, but still doesn't function correctly in my script.

 

when the script runs i have this script (which is generalized to give the gist of what i'm trying to do):

 

if (_globals::search results criteria="show results in directory")

close window

go to layout ... 

perform find

else

close window

perform find

 

what am i doing wrong?

Posted

When you are in find mode you can not read data or let the user set data to read from.

So you need to let the user check the checkbox *before* you enter find mode.

This topic is 4293 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.