December 7, 200718 yr i can't seem to get the "allow user abort (off)" feature to work. I am creatinga add record popup and don't want users to be able to exit the script . Here is the script: Allow User Abort [ Off ] If [ (Get (AccountName)) = "yalon" ] Adjust Window [ Hide ] New Window [ Name: "New Patient Popup"; Height: 350; Width: 320; Top: 100; Left: 100 ] Go to Layout [ "New Patient Pop-up" (hn database original data) ] ShowlHide Status Area [ Lock; Hide ] ShowlHide Text Ruler [ Hide ] Else Show Custom Dialog [ Message: "You do not have permission to perform this action!"; Buttons: "OK" ] End If Thanks Ok forget it I figured it out. I forgot to pause the script indefinitely Edited December 7, 200718 yr by Guest
December 7, 200718 yr You have nothing in this script which a User can abort. They have Custom Dialog in which they can choose but that's not the same as an abort. Can you explain what you want to do? Are you trying to keep them from closing the window? LaRetta
December 7, 200718 yr Author yes, i figured it out. I put a pause script indefinitely at the end. thanks
Create an account or sign in to comment