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.

Moving folder breaks stored reference

Featured Replies

I messed up.  I imported some pictures as 'store reference' but in this instance, I need them inside the database in a container field because I need to move the folder.

 

How do I now say to take that stored reference and replace it with the actual image?

  • Author

The thing is - there are other fields in the table where notes and things have been entered against each picture.  If I reimport them now, they will import again and I can't match the existing records to the new ones.  How can I map an import to update/replace?  Thank you for considering my problem.  Any hints would be appreciated.

You can script this:

 

1. As you have stored as reference then use the GatAsText (data) function on the images to determine their current path.

2. Assign a $var to hold the path

3. INSERT PICTURE using the $var as the source

 

Put all this into a loop for the records to process, and don't forget to the switch storage to internal.

 

Your original folder must still exist for this to work.

  • Author

Mr. Ideal Data, 

 

I have not tried this yet but I know it will work.  And I had discovered the new external containers so once I get this set up right to where I don't lose the internal notes on the graphics then I might move them back to external.  It sounds like a good idea once we are served.

 

If I get stuck on it I'll post but it seems very clear.  I appreciate your help.  

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.