3 Replies Latest reply on Jan 21, 2013 10:17 AM by philmodjunk

    Changing filename

    EP

      Title

      Changing filename

      Post

           I have a live file on FMS12.  I want to close it, download it and rename the file; then upload and open it on FMS12.  Pretty straightforward, however I'm wondering if changing the filename can lead to any issues.  Thanks

        • 1. Re: Changing filename
          JimMac

               yes, if you have external file references or vice versa.

               No, if you are just a singe file database with no fixed file paths to folders.

               Jim....

          • 2. Re: Changing filename
            Jade

                 There are some functions that use the filename as a parameter to watch out for as well

                 (e.g.: ValueListIDs, ValueListItems, ValueListNames).

            • 3. Re: Changing filename
              philmodjunk

                   Ask yourself if there is any part of your database where you use your file's file name in quotes. This text won't automatically change when you rename the file.

                   Most of the time, you can replace such quoted text with a calculation that uses the get ( FileName ) function to protect your design from issues when you rename the file.

                   ValueListItems ( Get ( FileName ) ; "CustomerNames" )

                   For example, will not break when you rename the file.

                   ValueLIstItems ( "MyFileNameHere.fmp12" ; "CustomerNames" )

                   will break when the file's name is modified.