Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Renaming file can break references

Featured Replies

This post is to let others know about Developer Utilities (DU) since, in all my years in reading several forums, this potential problem has only been mentioned a few times and I keep running into folks (including developers) who are unaware of the importance of using DU to preserve file references when you must rename files.  

 

This is another strong reason that all developers should use FMPA (Pro Advanced).  The following can break if you manually rename a FileMaker file:

1. Relationships

2. Functions:
   GetField()
   Evaluate()
   ExecuteSQL()
   Design functions ...

3. Script steps:
   Set Field By Name
   Open File
   Close File
   Import Records

4. Value lists using a value list in another file

Using Developer Utilities will properly modify file names in your paths in External Data Sources ( relationships).

 

It is my understanding that all files in a solution should be properly closed and added within the DU dialog so that, as you change ANY file's name, all references in all other files will change accordingly.  If there is an external file which isn't included in that batch then its reference to the file being renamed will NOT change.

 

I've always handled it by placing all solution files into a folder (even if I don't think there is the *need) then adding them all (by using shift-select) into the DU dialog and then changing names as needed  Note that, after changing the file names, the Create stays disabled until you specify a Projects folder.

 

* Since there are many places which could be effected, it would be easy to miss a file reference.  By including all files, you are safe.

Thanks so much, LaRetta, for the valuable public service reminder!

 

Mark

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.