Newbies EddyR Posted November 2, 2004 Newbies Posted November 2, 2004 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
Ugo DI LUCA Posted November 2, 2004 Posted November 2, 2004 Where do you set the Target in this script ?
Newbies EddyR Posted November 2, 2004 Author Newbies Posted November 2, 2004 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 !
MoonShadow Posted November 2, 2004 Posted November 2, 2004 "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.
Newbies EddyR Posted November 2, 2004 Author Newbies Posted November 2, 2004 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
Recommended Posts
This topic is 7329 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 accountSign in
Already have an account? Sign in here.
Sign In Now