Copyrighted Material
Total Page:16
File Type:pdf, Size:1020Kb
24_786489 bindex.qxp 5/30/06 6:56 PM Page 343 Index • Symbols and • A • Numerics • access privileges. See privilege sets; privileges & (ampersand) access.log file, 252 as concatenation operator, 58 Actions table example phone number formatting example, 75–76 adding as subtable in layout, 117–120 * (asterisk) as multiplication operator, 59 adding to database, 47–48 ^ (caret) as operator for powers, 59 Data Categories, 46–47 - (dashes) in script names, 184 Add Account function, 281–282 $ or $$ (dollar sign) as variable prefix, 191 address data validation, 189–190 “ (double quotes) Adjust Window function, 282 phone number formatting example, 75–76 admin user account password, changing, strings enclosed by, 162 231 for text in calculations, 58 Align Right Edges tool, 106–107 = (equals sign), calculation operators aligning objects in layouts, 106–107 using, 59 Allow Toolbars function, 283 > (greater than sign), calculation operators Allow User Abort function, 249, 283–284 using, 59 ampersand (&) # (hash sign) for comments, 181 as concatenation operator, 58 < (less than sign), calculation operators phone number formatting example, 75–76 using, 59 analysis for application design - (minus sign) as subtraction operator, 59 initial questions, 80–82 ( ) (parentheses) listing requirements, 82–84 for grouping functions and calculations, systems analyst for, 82 58 and operator, 59 phone number formatting example, 75 AppleScript For Dummies (Trinko), 279 . (period) for indenting script names in AppleScript (Mac OS), 275, 279 listing, 184 application notes (AppNotes) script, + (plus sign) 183–184 as addition operator,COPYRIGHTED 59 application.log MATERIALfile, 252 replacing spaces in Google formatting, Arrange All Windows function, 284 190 Arrange menu (Layout mode), 20 / (slash) as division operator, 58 Arrange toolbar (Layout mode), 23 1-Away relationships, 54 arranging objects with relationships graph, 24U Software plug-ins, 278 53 88 color palette, 26 asterisk (*) as multiplication operator, 59 216 color palette, 26 Auto Start code for scripts, 268 256 color palette, 26 auto-centering layouts, 185–186 24_786489 bindex.qxp 5/30/06 6:56 PM Page 344 344 FileMaker Pro Design & Scripting For Dummies Auto-Enter options for fields radio, 147–149, 242 Calculated Value, 39, 61, 62 resizing, 142 Creation, 38 ShipMover database example, 175–176 Data, 39 to sort columns, 136–137 Looked-up Value, 40 tooltips for, 113–114 Modification, 38 uses for, 139–140 Prohibit Modification of Value During web browser display of, 242 Data Entry, 40 Serial Number, 34, 38–39 Value From Last Visited Record, 39 • C • AVI files, playing in FileMaker, 267–268 cache memory preferences, 26–27 Calculation Editor. See also calculations operators in, 58–59 • B • overview, 55–57 background in ScriptMaker, 60, 63–68 color for alternate rows, 118 syntax in, 57–58 color for fields, changing, 271–273 calculations. See also Calculation Editor; locking picture in, 109, 261 scripts picture in layout, 109, 259–261 for adding values to global variables, BASIC (.bas) export format, 203 169–170 Beep function, 284–285 for auto-centering scripts, 185–186 body part, 97 building in ScriptMaker, 63–68 borders for buttons, 110 database status dialog box example, 68–72 Box tool (Layout mode), 17 for dynamic text, 263–264 Browse mode embedding in database, 60–62 allowing editing for fields in, 111 for phone number formatting, 72–76 button for custom search, 129–132 RollDice example, 66–68 button to sort columns, 136–137 uses for, 55 default tab for, 119 canceling sorting, 134 overview, 12, 13 caret (^) as operator for powers, 59 previewing layouts in, 103 carriage return, 58 sorting in, 132–137 cascading style sheets (CSS), 242 summary fields in, 124 CenterMe script, 185–186 Tool palette, 13–14 Change Password function, 285 View menu in, 19 ChangeText script, 160–162 browsers. See web browsers; Web check boxes, 147–148, 242 compatibility Check Found Set function, 286 Button tool (Layout mode), 17 Check Record function, 286 buttons Check Selection function, 286 adding functionality to layout, 139–143 child tables. See also portals or subtables assigning scripts to, 171–172 defined, 46 borders for, 110 defining relationships with parent table, changing cursor to hand when over, 48–50 142, 258 ID fields in, 47, 48 for custom search criteria, 129–132 setting up, 46–48 duplicating to create set, 143 subtables in layouts, 117–120 hidden, 257–259 Circle tool (Layout mode), 17 moving in layouts, 142 Clear function, 286–287 pictures for, 109–110, 259–262 clients, 196. See also networking 24_786489 bindex.qxp 5/30/06 6:56 PM Page 345 Index 345 Clipboard, copying and pasting script controls, defined, 24 steps using, 164 Convert File function, 289 Close File function, 287 Copy All Records/Requests function, Close Window function, 266, 287 290 Codd, Edgar F. (relational database Copy function, 291 originator), 86 Copy Record/Request function, 290 CodeTemplate script, 182 copying. See duplicating Cohen, Dennis R. (FileMaker Pro 8 Bible), 2 Correct Word function, 291 collapsing tables in relationships graph, 51 creating a database colors adding an ID field or primary key, 33–35 for button border, 110 adding fields to hold data, 35–38 for field background, changing, 271–273 adding tables, 31–32 palette preferences, 26 building relationships between tables, for portal background, alternate rows, 45–54, 87 118 identifying fields required, 84–86 in relationships graph, changing, 53 listing data for, 29 themes for layouts, 93 organizing fields into tables, 86 column headers, sorting by clicking, renaming tables, 32 136–137 setting Auto-Enter options for fields, comma-separated variable (CSV) files, 203, 38–40 211–212 setting Storage options for fields, 43–45 Comment function, 288 setting Validation options for fields, 40–43 comments starting from scratch, 30–31 adding to scripts, 181 CSS (cascading style sheets), 242 application notes script for, 183–184 CSS Web Design For Dummies (Mansfield), for data fields, 36 242 deleting from fields, 36 CSV (comma-separated variable) files, 203, example code, 180–181 211–212 guidelines, 181 cursor header, 182 changing to hand over buttons, 142, 258 for ID fields, 35 setting focus on a field, 266 importance of, 180 Custom Privilege feature, 236–237 Commit Records/Requests function, 248, Customers.xls file, 208 266, 288 Customers.xml file, 217 Constrain Found Set function, 289 customizing menus, 151–154 contact management Cut function, 291–292 FileMaker Pro’s usefulness for, 10 Google Maps example, 189–190 parent and child tables for, 46 • D • sending e-mail from FileMaker, 269–270 dashes (-) in script names, 184 Container fields data elements as script parts, 159 adding items to, 150 Data Entry Only access privilege, 230, 232 creating, 149–150 data integrity, 228. See also security described, 149 data interchange format (DIF) for for global variables, 271–272 exporting, 203 options, 150–151 Database Design Report, 224–225 playing movies in, 267–268 database status dialog box, 68–72 Web compatibility issues, 242 DatabaseNames function, 69, 72 24_786489 bindex.qxp 5/30/06 6:56 PM Page 346 346 FileMaker Pro Design & Scripting For Dummies databases. See also creating a database creating a well-designed database, 84–87 adding layouts, 91–93 grouping related menu items, 153–154 distributing, 222 identifying fields required, 84–86 embedding calculations in, 60–62 initial questions to answer, 80–82 normalization of, 86 listing requirements, 82–84 publishing on the Web, 250–253 organizing fields into tables, 86 relational versus flat file, 46 systems analyst for, 82 on remote computer, 196 Dial Phone function, 294 sharing over a network, 196–202 dialog boxes structuring script listing for, 184 database status, adding to database date application, 68–72 current, inserting, 107, 307–308 Perform Without Dialog option for in database status dialog box, 68–72 functions, 136, 142 dBASE (.dbf) export format, 203 preferences for sizes and positions, 25 decision logic Dicey.fp7 database creating global variable for, 167–168 adding calculations with ScriptMaker, Hey Neighbor script example, 168–171 64–68 overview, 166 embedding calculations in, 61–63 ShipMover script example, 176–177 DIF (data interchange format) for Define Scripts dialog box features, exporting, 203 165–166 disabling. See also enabling; turning on defining and off custom menus, 151–154 script steps, 163 file references, 219–220 updates to current window, 265 fonts for entry, 27 Web publishing temporarily, 253 predefining variables (Google Maps distributing your database and database example), 189 files, 222 privilege sets, 232–236 documentation. See also comments relationships between tables, 48–50, 87 application notes script for, 183–184 scripts in ScriptMaker, 164–166 Database Design Report, 224–225 user accounts, 228–231 header comments template for, 182 Delete Account function, 292 dollar sign ($ or $$) as variable prefix, 191 Delete All Records function, 292 double quotes (“) Delete button, function for, 142 phone number formatting example, 75–76 Delete Portal Row function, 293 strings enclosed by, 162 Delete Record/Request function, for text in calculations, 58 142, 293 downloading. See online resources deleting drag and drop allowing for portal records, 118 adding layout parts, 120 clearing script steps, 163 moving objects in layouts, 100, 101 comments from fields, 36 turning on and off, 24 hidden buttons for clearing data when drivers testing, 258 for JDBC, 223 scripts, 166 for ODBC, 212, 223 selected objects