Help

Table Of Contents
FILEMAKER PRO HELP 10
Creating and editing charts in Layout mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Column, bar, line, and area charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
Pie charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407
Scatter and bubble charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Formatting and scaling chart axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Specifying the data source for a chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Changing the look of a chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Placing your chart in the appropriate layout part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Charting tips, tricks, and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Example: Charting delimited data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
Creating scripts to automate tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .419
Planning a script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Creating and editing scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
Managing scripts using folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Saving a script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Deleting a script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426
Copying and pasting scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Running scripts on FileMaker Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Importing scripts from other FileMaker files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Scripting with ActiveX Automation (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Using FileMaker Pro ActiveX Automation (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . . 430
ActiveX Automation objects, methods, and properties (Windows) . . . . . . . . . . . . . . . . 432
ActiveX Automation example (Windows) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Scripting with Apple events (OS X) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Apple events troubleshooting (OS X) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Apple events error: "Apple event timed out" (-1712) . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Apple events error: "Expected expression but found unknown token" . . . . . . . . . . . . . 438
Apple events error: "Invalid object containment" (-1723) . . . . . . . . . . . . . . . . . . . . . . . 438
Apple events error: "Object not found" (-1728) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Apple events error: "Data is being accessed by another user, script, or transaction" (-10011)
439
Apple events error: "Set Data failed. Invalid data was supplied" (-17005) . . . . . . . . . . 439
Apple events error: "Event failed. User canceled the event processing" (-17006) . . . . 440
Apple events error: "Create failed. Invalid data was supplied" (-17007) . . . . . . . . . . . . 440
Working with the Scripts menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Using buttons with scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 440
Defining a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
Copying a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Changing a button definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Deleting a button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
Script examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443
If structure examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Loop structure examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 444
Startup script examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Perform Script and script parameter examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
Protecting databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
About protecting databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
About accounts, privilege sets, and extended privileges . . . . . . . . . . . . . . . . . . . . . . . 448
About the Admin and Guest accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Using the predefined privilege sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
Planning security for a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Password-protecting a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Creating and managing accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Viewing and reordering accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 454