September 17, 200817 yr Hi. Im looking to display variables directly onto the screen somehow. I was thinking of putting these variables (get(accountname) etc) into a field, but as the user is multi-user it would not work correctly as each user would override it. How can I schieve this please? Cheers, Greg
September 18, 200817 yr If you have FMP Advanced you can see variables in the data viewer. "I was thinking of putting these variables (get(accountname) etc) into a field, but as the user is multi-user it would not work correctly as each user would override it" Variables are like global fields; each user has their own values anyway. But Get( AccountName ) isn't a variable; it's a function. It should change for each user.
September 18, 200817 yr Author Hi Vaughan, Thanks for the reply. I do use the data viewer for debugging and what-not, but need to display some of these variables on the screen for the user for current login name, and other basic system info. I dont think they should have to go into the data viewer. No way of displaying them as part of a layout? Greg
September 18, 200817 yr Author Hi DJ. Ok, I'll give that a whirl. Its just the multiuser bit that worries me a bit, but I suppose if it's unstored it shouldnt matter. Thanks, Greg
September 18, 200817 yr Calculations that use the Get() functions *must* be unstored to work correctly, otherwise their value is never updated.
September 18, 200817 yr Either an unstored calculation field or a global field set by the opening script should work fine. The global field has the advantage of being accessible from unrelated TO's, so you can place it on any layout.
Create an account or sign in to comment