AnsweredAssumed Answered

Script Issue

Question asked by FM9NewUser on Jul 22, 2010
Latest reply on Jul 23, 2010 by philmodjunk


Script Issue


Hello all!

Being very new to FM 9, I have taught myself scripts, even managing to get one to pause, waiting for user input.  However, I want to go one step further and have not been able to get it to work.  I am using ScriptMaker because I am not a very good programmer. 

I have a table of referral information - one of my fields is Customer No.  I want the user to be able to input which customer number they are searching for.  However, when I try to add the custom dialog box to the script, I get the error:  There are no valid criteria in this request.  Type a valid request before clicking Find.  Here's my script:

Go to Layout (I specified the layout "Customers" in the "Specify" box)

Show Custom Dialog (In the Options, on the General Tab, I put "What is the Customer Number?" in the Message box.  I then went to the Input Field tab and specified that I wanted it to Show input field #1, "Customers"

Perform Find[]

Can anyone tell me what I am doing wrong?  All the books, posts, webpages I can find just don't spell it out clearly enough for this newbie. 

Thank you in advance!