David Jondreau Posted May 30, 2007 Posted May 30, 2007 I have a Count field, a CountDate field, and a global CountDate field. When Count is changed, I want to enter the global CountDate into the standard CountDate field. I was using CountDate auto enter = Evaluate("gCountDate"; Count) but then I changed the global field name and things went haywire, until I hunted the issue down. I'd like to have the option of changing field names. So I tried = Let([ C = Count ]; gCountDate) but that triggered whenver gCountDate changed too. Ideas?
Søren Dyhr Posted May 30, 2007 Posted May 30, 2007 More info is required, why is globals chosen over a relational say aggregate function? --sd
David Jondreau Posted May 30, 2007 Author Posted May 30, 2007 comment, Good idea, but the field is doing double duty, both an an auto enter and as the basis for a relationship. I'd like to keep it that way if possible.
comment Posted May 30, 2007 Posted May 30, 2007 I believe you could use an unstored calc = gField for the relationship, but I am not sure I fully understand the problem.
David Jondreau Posted May 30, 2007 Author Posted May 30, 2007 I'm looking for a calculation that will update a an auto enter field with the contents of a global when a third field changes with the following conditions: All fields are in the same table and I can change the name of the global field without having to change the calculation.
comment Posted May 30, 2007 Posted May 30, 2007 Sorry, but what you describe is an abstract riddle, not a real problem. Why do all the fields have to be in the same table? If we knew the real problem behind this, perhaps the solution would NOT have all the fields in the same table - but it would solve the problem at hand nevertheless. P.S. I am only guessing now, but it seems to me your auto-enter should NOT have 'replace existing value' enabled.
Recommended Posts
This topic is 6734 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 accountSign in
Already have an account? Sign in here.
Sign In Now