Jump to content
Server Maintenance This Week. ×

display an image over a container until it has content


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

Recommended Posts

Hello

As I am very new to Fm coming from Access and I hope I am asking my question in the correct area.

Within my database I have included a tab which holds 12 container fields each of these fields (Container) is covered by a Jpg image of a filing cabinet draw-front,

What I am trying to achieve is if the draw in empty then the image is displayed in front of the container and when the container field has content it moves or shows in front of the image. Then I can replicate this across the 12 draws.

Any help you be appreciated.

Regards.

Ozzie Bruce

Link to comment
Share on other sites

That is really simple...

Suppose that the default image has this path:

imagewin:/C:/Documents and Settings/Master/Desktop/logo_aci.jpg

Now all you need to do is set the auto-enter option*** of the container field to be calculated with this calc:

Self & ¶ & "imagewin:/C:/Documents and Settings/Master/Desktop/logo_aci.jpg"

If the container will be cleared, it will display the default image.

***Remember to clear the box: Do not replace existing value for field ( if any )

Link to comment
Share on other sites

This topic is 4763 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.