IDFromName ( _Name ; _Type ; _File )
Rate this function: Average rating: 3.5 (11 votes) Discuss this Custom Function
Thomas Seidler, The Good Book Company
http://www.harmlesswise.com/it
Gets static FileMaker IDs for layouts, scripts, fields, tables, valuelists
Sample Input:
IDFromName ( "Account: Data Entry" ; "Layout" ; "" )
& sister function...
NameFromID ( 432 ; "Layout" ; "" ) |
|
Sample Output:
|
Description:
Obvious thanks to Ray Cologon and bigging up the FileMaker 9 bible. Very heavy book and ideas. Good stuff. Thank you! I didn't want separate functions for Layouts, Scripts, Tables etc - one can do them all.
This function is kind of pointless without its twin sister - IDFromName...
The big advantage of using FileMaker's internal IDs for layouts, fields and scripts is that the number *never* changes, you may change the layout name, but if you are internally referencing by the ID, you're fine, you can easily nick the current name - for which purpose see sister function to this... NameFromID].
You can change the order, rename the layout, but it's still got the same ID.
Any bugs tell me and i'll fix, but i've been using this for the last few months particularly with layouts.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 2. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 3. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 4. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 5. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 6. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 7. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
| 8. |
CenterWindow in Window vert horiz (demension) |
| |
(Fri, Jan 06, 12:25pm) |
 |
|