= = = = = =
On 2008 Jun 25, at 7:46, Brad Lowry wrote:
Heck, probably most of us used to group our scripts by way of one
step "ExitScript()" scripts bracketing our script "groups" and
named accordingly -- I like FM's Script Groups better.
= = = = = =
Richard chimes in:
FWIW, my own contribution to the "best practices" discussion.
I group my scripts by function under these headings:
--- STANDARD ---
--- FIND ---
--- SORT ---
--- LINK ---
--- CREATE ---
--- ACT ---
--- HELP ---
--- ROUTE ---
--- SETUP ---
--- OUTPUT ---
and occasionally
--- DUPE CHECK ---
--- DUPE KILL ---
Each individual script that's unique to a particular table has a 3-
letter abbreviation indicating WHICH table. For example, "Go to Org -
List - Simple" takes me to a layout used by the "Organizations"
table, while "Sort by Name*" has an asterisk, meaning that I've got
"Else If ( LayoutTableName ) = "xxx"" statements inside it that tell
FMP what field to sort on depending on what table it finds itself in.
The asterisks tell me quickly which scripts I need to modify if I add
a new table or change the name of an existing one.
= = = = = =
Richard S. Russell, a Bright (http://the-brights.net)
2642 Kendall Av. #2, Madison WI 53705-3736
608+233-5640 • [EMAIL PROTECTED]
http://richardsrussell.livejournal.com/
= = = = = =
Theory is when you know everything and nothing is working.
Organization is when nothing is working and everyone knows why.
Practice is when everything is working and no one knows why.