February 19, 201312 yr 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?
February 20, 201312 yr 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.
Create an account or sign in to comment