dbTalk Databases Forums  

Table Names - a simple question

comp.databases.filemaker comp.databases.filemaker


Discuss Table Names - a simple question in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Buckbuck
 
Posts: n/a

Default Table Names - a simple question - 07-26-2010 , 11:23 AM






FM 8.5

If one changes table name or field names or value list names will any
of these changes affect the relationships, calculations or look ups?
Is Filemaker tracking these names through a discreet numbering system
or is it strictly recognizing the name?

Thanks

Reply With Quote
  #2  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: Table Names - a simple question - 07-26-2010 , 12:23 PM






On 7/26/2010 9:23 AM, Buckbuck wrote:
Quote:
FM 8.5

If one changes table name or field names or value list names will any
of these changes affect the relationships, calculations or look ups?
Is Filemaker tracking these names through a discreet numbering system
or is it strictly recognizing the name?
FileMaker uses internal IDs to track fields, tables, etc. It will only
effect things if the literal field name has been used as part of a
calculation. Functions such as GetField() might use literal text of a
field name as a function parameter. Or there might be an If[] statement
in a script that tests, for example, that get(activefieldname) =
"FirstName". These will break if the field and/or table names are changed.

But generally speaking, most people who haven't had a professional
developer will probably never have used any of these questionable
functions and so should likely not run into any problems after changing
table, table occurence or field names.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker Certified Developer
Associate Member, FileMaker Business Alliance

Reply With Quote
  #3  
Old   
Lynn Allen
 
Posts: n/a

Default Re: Table Names - a simple questionX-TraceApproved - 07-26-2010 , 12:27 PM



On 2010-07-26 09:23:45 -0700, Buckbuck <buck.matthew74 (AT) yahoo (DOT) com> said:

Quote:
If one changes table name or field names or value list names will any
of these changes affect the relationships, calculations or look ups?
Is Filemaker tracking these names through a discreet numbering system
or is it strictly recognizing the name?
Changing the name of any FM object will propagate that change
throughout the solution, in scripts, relationships, calculations, etc,

EXCEPT when the name is hardcoded into a script step or calc such as

If ( Get(ActiveFieldName) = "TableName::MyFieldName") etc.

In that case, the name inside the quotes will not change.

FM stores a hidden ID for each object in a solution, and refers to them
that way, not by name. When an object is referred to by name, FM
translates to the hidden ID, then back, so that the propagation of
changes can happen as described above.
--
Lynn Allen
--
www.semiotics.com
Member FBA
FM 10 Certified Developer

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.