Hello all those Filemaker experts out there,

I have a problem that I hope you can help me solve. The basic requirement is
to link certain name records by a group id. I have created a global field
"gGroupCount" and a number field "GroupID"  I then have a script which
creates a groupid by
 1) Set Field ["gGroupCount","gGroupCount +1"]
2) Set Field ["GroupID","gGroupCount"]

This script works perfectly on a stand-alone version of Filemaker. (keeping
track of the current group id and then adding 1 to create the next id).
However when running on Filemaker server, whenever Ebase is closed and
restarted, the global gGroupCount is reset; therefore not storing the
previous group id.

What is the correct way for storing a global variable across Server?  Or is
there a better way to create a unique number "on the fly"?

Any help would be greatly appreciated!!

Andrea Barnhart
Reliacom CSD
www.reliacom.org
(202) 797-9735 x351 


Reply via email to