Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6591 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a container field that displays the contents of an image file located on a specific PC directory. The path and filename never change, but the image in the file can be edited/replaced by the user. I haven't found any standard feature to cause FileMaker to refresh the container displayed on a layout when the image changes. Is it possible to run a looping script (with delay) as a "background operation" to handle this?

Thanks for any suggestions.

Posted

Thanks for the response.

I thought so, too. But going to another layout and back doesn't do it. Right now I'm using a script that consist of GoToField and InsertPicture to force a refresh. Should the container be a calculated field?

Posted (edited)

I've also tried making it a global and adding the Always Validate option. It didn't help. Neither does a Refresh Window operation tied to a button on the same layout.

(Yes, the container is "reference only".)

Let me add one more puzzle: closing the application (but not FileMaker) and restarting it doesn't update the contents of the container, yet the container is global! It must have something to do with the file cache in XP.

Edited by Guest
added update
Posted

O.K., I think I've found something.

My InsertPicture script step used "imagewin:/C:/MyPath/MyFile.png" in the Specify Picture File dialog. No specific file was ever placed into the container on the layout. (It depended on the InsertPicture, which seemed to work.)

When I placed the same text "imagewin:/C:/MyPath/MyFile.png" in the container itself, the container tracks any changes to the image file.

This means (I think) that there is at least one subtle difference in behaviour according to how the image gets into the container in the first place. (on XP, anyway)

If anyone knows why this is so (by design or otherwise) please feel free to add to this!

  • 3 months later...
Posted

I recently added a container field with a calc. for displaying an image through a reference to an existing and large db. No image was showing on the previously recorded records. Only when a change in the record was made would the image display. I could not picture myself going one by one to each and every record to update them !

I used Records --> Replace Field Contents and entered the same calculation I had in the container field... all records are now showing their images. No not quite... only those with an existing image file !!

Philippe

This topic is 6591 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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