April 3, 200322 yr I want to make a message box pop up and ask the user for an order number, they will input a number and press enter, then it will ask them for any more, if they leave it blank it will continue to the next step or they can put in more numbers and the script will use those numbers for later. Also, where is a good place to read up filemaker script basics. Thanks for any help.
April 3, 200322 yr The two references I use are Special Edition Using Filemaker Pro 5 and Scriptology - FileMaker Pro 3.0/4.0 Demystified. Both books are excellent and come with CDs full of examples. For your current situation, you would probably want a new layout with an input field for the order number and a button to control the "continue" script.
April 3, 200322 yr FileMaker 6 has a Specify Custom Dialog script that allows data input in the dialog. Earlier versions of FileMaker require a plugin such as the excellent Troi Dialog to do this. Your script would look something like: Show Custom Dialog ["Order Entry", "Enter a number", "OrderNum"] If [isEmpty(OrderNum)] ..#whatever the "next step" is... Else ..#not sure if this is exactly what you mean... ..New Record/Request ..Perform Script [this script] End If http://www.hms.harvard.edu/it/swinfo/fmpro_scripts.html http://www.afilemakeraffliction.com/list.html http://www.fmfiles.com/ A good way to learn is by downloading files and examining their scripts.
Create an account or sign in to comment