 |
s |
I hope you enjoy this FREE online training. Let me know if you'd like to see more! You can email me
at jmo@filemakerpros.com. And, if you really like this online training, consider one of
my live classes based on my wildly popular book and CD ROM.
Happy FileMaking!
|
Troubleshooting
Even the best FileMaker developers have trouble creating scripts. Unfortunately, FileMaker has no troubleshooting features to help you determine why your script is not working correctly. However, you can use the Show Message script step to help you out. Here is a script that loops through a database and determines what color is on the current record. Once the color has been identified,
it is changed to a different color.
The script below works, so you'll have to imagine a scenario where your script is not working. What the Show Message script step, combined with Pause/Resume Script, allows you to do is determine where you are within a script and pause so you can see what the data looks like at that precise moment. Try running the script below. See how you are able to know where the script is within the long If statement structure and pause to check out how the data is being manipulated. If you didn't insert the Show Message and Pause/Resume Script steps, you would have to wait for the script to finish before you could inspect what happened. Think of the Show Message script step as slowing the action down and letting you step through the process at your own
speed. Sort of like slow motion on a VCR.
Troubleshoot script in MESSAGE.fp5
Previous | Done
|
|
 |
s |
Database Pros offers training classes across the globe. Classes
include the wildly popular Intermediate and Advanced Scriptology training series.
|
|