Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I'd like to have a global container field that holds my corporate logo to use in the header on all reports.

I know that when using FM Server, a Global is actually "local" to the current user, so I thought I could solve the problem with the following setup:

Table "Graphics" which contains 1 record.

Logo (a regular container field)

gcLogo = Logo (a calculation field that is a Container with global storage)

However, I can verify that gLogo is blank.

Next, I tried a similar setup, but used a self-relationship in the graphics file to make sure the global calc was working:

Logo (a regular container field)

Constant1 = "1"

gcLogo = SelfRelation::Logo (a calculation field that is a Container with global storage)

This also failed.

If I turn off "global" storage on the gcLogo field, it shows the logo properly, but then I can't reference this field from my other tables (I get the "Unrelated Table" message).

Is there a way to do what I want (A) without scripting and (B) without having to relate every table to my graphics table?

Posted

If you set the contents of a global field while you are hosting the file (open locally rather than through FMS), that value should stick when the file is accessed remotely. If the remote user were to change that value, then close and open the file again, the original value would be back. So make the field non-editable, and you shouldn't need to worry about it again.

J

Posted

That will work, but the problem is, I'd like the artist to be able to edit the logo, and I'm certainly not comfortable giving them enough access to start / stop filemaker server.

I ended up just writing a script that sets a bunch of globals when you open the solution. Inelegant, but it works and allows me to keep the file hosted 24/7.

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