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.

Featured Replies

Hi, first off I'm using FM11 so it's not super containers

 

I have stored the reference only to several thousand files (mainly pdf and zip) for which the path has been C:/mypath .. but we are upgrading our systems so I can't use the C: drive anymore.

 

Is there a way to change the path to E:/mypath ?

 

thanks

 

 

 

 

If you are saying that you have a text field with a path to a file, it is very easy to replace the contents of all fields containing C:/mypath.... with E:/mypath... using the "Replace Field Contents" option in the "Records" menu to update a field in all records of the current found set.  There is no undo, so do it on a copy of your database to make sure you're getting the expected result.  If you have FMP Advanced you can try the calculation in the data viewer first to make sure you're getting what you want.

 

The calc could look something like "Substitute ( self ; "C:/" ; "D:/" ).  If not all records need to be changed you could use "Case"

 

Supercontainer is a third party product by 360Works, not a feature of FMP12 but FMP12 does have a similar feature.

 

Best,

 

Danny

  • Author

Hi Danny,

 

the field is a container field  .. documents::file (ie not a text field)  which holds the reference to the zip file, eg "100341.zip"  

 

I've a calc field to show the full path ... GetAsText(documents::file) which shows  filewin:/c:/zips/100314.zip .. however that can't be replaced / altered as it's a calc.  

 

I don't know how .. or even if it's possible .. to amended the "reference" in the actual container field

 

the only work around I can figure is to do a script that will basically delete the contents of all the existing container fields then re insert the new reference for the zip file ... the 100341 in the above example is our file reference number so I "should" be able to match the right zip with the right record :-) .. I'll practice on a a back up first !

 

regards 

Cateleb

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.