Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7909 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.