I have seen something similar when setting up a new file from a clone and the table that contains the global field doesn't have a record. (May be a bug? ). I resolved it by checking to see if there was a record in the startup script and creating the record if three wasn't one.
I can think of several possible issues, but any response on my part would be a major guess. Can you describe how those globals are being set?
Are these data (not calculation) fields and you've confirmed that they have really do have global storage specified?
A screenshot of your script might be enlightening.
Thanks so much - that was it, there was no record in the Globals table. Which begs the question - how/why did it work fine on Windows, and on Win and OS-X in debug, without a record in that table? I've re-tested it, by deleting the Globals record, and it's fine from Windows, but not from the Mac.
I'd love to know why this happens, but for now I'm just glad it's working! Thanks again Bruce.
Thanks for looking, Phil. The issue's now sorted, although still not understood! The fields are simple text fields, with global storage, set for reference later in the application.