Teresa Sampaio Posted April 20, 2006 Posted April 20, 2006 Hi, I have a field that’s a lookup field from another that is a calc field, because, sometimes, I need to change de calc result, and I couldn’t do it in the calc field, so I created a lookup field that gives me a result (changeable) from the other one. The problem is that, almost every time the calc field is changed, the lookup field doesn’t sync with it… so I would have to “recalculate” it, making a find of that specific record so I recalc only that one (there are almost 65.000, and there’s a few that has been changed). Attached, there’s a picture of the lookup. It works as it is, though not every time. I’d appreciate some help. Teresa lookup.bmp
-Queue- Posted April 20, 2006 Posted April 20, 2006 A Lookup is only reevaluated when its local key field is modified or a Relookup is performed on it. A change in the related field (to be looked up) will not cause the Lookup to calculate. So, if this is your problem, you will need to script a method of performing the Relookup (or setting the key field to itself) once a value is changed which triggers a change in the calculation. If this is not your issue, please post more information and a sample of your file structure.
Teresa Sampaio Posted April 21, 2006 Author Posted April 21, 2006 (edited) Thanks for your help, Queue. And that's the issue. In the mean time, I figured a solution to my problem: I replaced the lookup field with set field and a global field (I hope this is clear to you). And it works. Is this a better solution than the one you gave? Edited April 21, 2006 by Guest
-Queue- Posted April 21, 2006 Posted April 21, 2006 I am not sure how you are using the global field, but if it works well, then it is just as good a solution.
Teresa Sampaio Posted April 28, 2006 Author Posted April 28, 2006 The idea was to copy the calculated info to another field so that I could edit it. So I figured that it had to be done with a lookup... Now, I’m using the “set field” (instead of the copy/paste) to do that. Thanks anyway Queue.
Recommended Posts
This topic is 6846 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