jsaltzman Posted April 3, 2003 Posted April 3, 2003 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.
Mike D. Posted April 3, 2003 Posted April 3, 2003 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.
Fitch Posted April 3, 2003 Posted April 3, 2003 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.
Recommended Posts
This topic is 7909 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