dbTalk Databases Forums  

Changing globals on the fly

comp.databases.filemaker comp.databases.filemaker


Discuss Changing globals on the fly in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
NScheffey
 
Posts: n/a

Default Changing globals on the fly - 04-10-2007 , 10:14 AM






Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows


Reply With Quote
  #2  
Old   
Ursus
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 10:16 AM







"NScheffey" <NScheffey (AT) gmail (DOT) com> schreef in bericht
news:1176218062.254165.50700 (AT) n76g2000hsh (DOT) googlegroups.com...
Quote:
Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows

I'm not quite sure but perhaps variables might be the way to go.

Keep well, Ursus




Reply With Quote
  #3  
Old   
NScheffey
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 10:45 AM



On Apr 10, 11:14 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote:
Quote:
Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows
Thank much Ursus for the input
Well, one of the globals I'm talking about is a container field for
the graphic interface of the solution, so a variable wouldn't work
there. The other is the company's street address, which doesn't change
very often, but they just asked me to put their PO Box in, and so now
I'm debating wether globabls were even the best way to handle this
from the beginning.
So at this point I'm thinking: global container fields for graphics =
good, but will need to log everyone out to change (not horrible),
global variables for company address set by a script? Or maybe one
record of non-global company information?
Thanks,
Nate



Reply With Quote
  #4  
Old   
cw
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 10:49 AM




"NScheffey" <NScheffey (AT) gmail (DOT) com> wrote

Quote:
On Apr 10, 11:14 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote:
Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows

Thank much Ursus for the input
Well, one of the globals I'm talking about is a container field for
the graphic interface of the solution, so a variable wouldn't work
there. The other is the company's street address, which doesn't change
very often, but they just asked me to put their PO Box in, and so now
I'm debating wether globabls were even the best way to handle this
from the beginning.
So at this point I'm thinking: global container fields for graphics =
good, but will need to log everyone out to change (not horrible),
global variables for company address set by a script? Or maybe one
record of non-global company information?
Thanks,
Nate


For globals like the address, I use an opening script to set all these sorts
of things. then I don't have to go through all that closing down and
opening single user.





Reply With Quote
  #5  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 03:49 PM



In article <1176218062.254165.50700 (AT) n76g2000hsh (DOT) googlegroups.com>,
"NScheffey" <NScheffey (AT) gmail (DOT) com> wrote:

Quote:
Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows
The usual solution for chageable "Global" fields in a multi-user
environment is to instead use a separate Table with one normal record
that has the appropriate NORMAL fields pretending to be global fields.
These of course can be accessed via a Relationship.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
  #6  
Old   
Ursus
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 04:34 PM




"NScheffey" <NScheffey (AT) gmail (DOT) com> schreef in bericht
news:1176219947.865568.117680 (AT) w1g2000hsg (DOT) googlegroups.com...
Quote:
On Apr 10, 11:14 am, "NScheffey" <NSchef... (AT) gmail (DOT) com> wrote:
Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows

Thank much Ursus for the input
Well, one of the globals I'm talking about is a container field for
the graphic interface of the solution, so a variable wouldn't work
there. The other is the company's street address, which doesn't change
very often, but they just asked me to put their PO Box in, and so now
I'm debating wether globabls were even the best way to handle this
from the beginning.
So at this point I'm thinking: global container fields for graphics =
good, but will need to log everyone out to change (not horrible),
global variables for company address set by a script? Or maybe one
record of non-global company information?
Thanks,
Nate

Exept the separate table, you could also use the variables storing a
reference to your GUI graphics. The graphics self would reside in a folder.

Keep well, Ursus




Reply With Quote
  #7  
Old   
JF
 
Posts: n/a

Default Re: Changing globals on the fly - 04-10-2007 , 08:02 PM



You can also use your open script to set new define value for your Global
field, so any one who will open the solution will have the new value set
every time.

JF Fortier



"Helpful Harry" <helpful_harry (AT) nom (DOT) de.plume.com> a écrit dans le message de
news: 110420070849158148%helpful_harry (AT) nom (DOT) de.plume.com...
Quote:
In article <1176218062.254165.50700 (AT) n76g2000hsh (DOT) googlegroups.com>,
"NScheffey" <NScheffey (AT) gmail (DOT) com> wrote:

Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows

The usual solution for chageable "Global" fields in a multi-user
environment is to instead use a separate Table with one normal record
that has the appropriate NORMAL fields pretending to be global fields.
These of course can be accessed via a Relationship.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)



Reply With Quote
  #8  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Changing globals on the fly - 04-11-2007 , 08:26 PM



In article <4BfTh.55270$MD2.314702 (AT) wagner (DOT) videotron.net>, "JF"
<bizouman_takethisout (AT) hotmail (DOT) com> wrote:

Quote:
"Helpful Harry" <helpful_harry (AT) nom (DOT) de.plume.com> a écrit dans le message de
news: 110420070849158148%helpful_harry (AT) nom (DOT) de.plume.com...
In article <1176218062.254165.50700 (AT) n76g2000hsh (DOT) googlegroups.com>,
"NScheffey" <NScheffey (AT) gmail (DOT) com> wrote:

Hey all-
Although I fear I already know the answer, here goes: Is it possible
to change globals on the fly in a multi-user deployment, without
logging everyone out, logging in as single user, and changing the
global in question?
Thanks,
Nate
FMP Adv 8.5 Windows

The usual solution for chageable "Global" fields in a multi-user
environment is to instead use a separate Table with one normal record
that has the appropriate NORMAL fields pretending to be global fields.
These of course can be accessed via a Relationship.

You can also use your open script to set new define value for your Global
field, so any one who will open the solution will have the new value set
every time.
Using a separate table with real records will mean they don't have to
re-open the database. Simply refreshing the screen (eg. change layouts,
re-enter Browse Mode) should pull in the new values.

Of course, the down-sides are that:

- the values are ALWAYS pulled from the server and not
stored locally (as "Global" field values are), which
for graphical elements on a slow computer / network
can be annoying.

- Find mode will be a pain. It would probably be best
to create your own fake Find function using Global
fields rather users using the true FileMaker Find mode.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.