November 2, 200421 yr Newbies I just made the jump to 7 and my new Custom Dialogs do not work as I would have expected. I simplified my script down to: Set Error Capture [ On ] New Record/Request Show Custom Dialog [ Title: "TITLE"; Buttons: "OK", "not OK"; Input #1: records::name record fill out, "test" ] If [ Get ( LastMessageChoice ) = 1 ] Beep End If Commit Records/Requests gives me only the value in my target field (+ the beep) when I push button 1. By contrast, when I push button 2, no beep (correct) but the target field remains empty
November 2, 200421 yr Author Newbies In the Custom Dialog ("records::name record fill out" is the name of the field). But don't forget that the the target field contains the value entered into the dialog if I choose button 1 !
November 2, 200421 yr "when I push button 2, no beep (correct) but the target field remains empty " Eddy, Custom Dialog only accepts input and sets a field based upon default 1. If you want to accept user input to a field, it must be 1 (or OK). Reverse them and it should work as expected.
November 2, 200421 yr Author Newbies Thanks MoonShadow. I knew it was something silly but after almost an hour of testing slightly modified scripts, I had not found the reason yet
Create an account or sign in to comment