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 6036 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm trying to have the contents of a field (container, global or otherwise) show an image based on the person logged in (username).

If "bob" is the user, his associated image (stored on the server) will be shown on a given layout.

I've read a bunch of the posts in here and in the container sub group, but can't seem to nail down this answer. My initial guess was a calculation "if" statement with the test results simply referencing the filename (bob.jpg), but can't seem to get that to work either.

Posted

I would start with a user preference/session table where you could store the user's image. Make sure that each user's account name is unique. Then as part of the opening script, capture the user's account name in a global text field and with a relationship keyed from this global field to the session table, you should be able to set another global container field with the associated image from the session table. Since the set field is a global field, you can now reference this field anywhere in your solution and it dispaly individual data for each user.

  • Newbies
Posted

Thank you, Thank you!!

You are a gentleman and a scholar Mr. Vodka.

I mistakenly used the "Get Username" for a bit until I realized the error of my ways. Now we're cookin' w/ gas.

-jason.

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