Jump to content
Sign in to follow this  
stefangs

auto (re-)lookup?

Recommended Posts

if i have a field that looks up the contents of a calc field in another file, can i somehow have it update automatically when the calc result changes?

i know i can use relookup, but that requires an action, and a live calculation is no good, because i want to use the field for relationships and then i can't be indexed.

Share this post


Link to post
Share on other sites

Why not just make it a calculation where it equals the other field.

Lee

Share this post


Link to post
Share on other sites

stephan, I think you have found the catch-22 of updating match fields. You can't use a calculation that includes related fields because it cannot then be indexed, which means it can't be used in a relationship.

I deal with this issue in three ways, all use a non-calculated match field with scripts to set the value (or relookup)B)

1. Use scripted data entry processes that can also update the match field.

2. Have scripted update scripts that update only the relevant record set at the time the relationship will be needed (this only works for some situations.)

3. Use daily update scripts to go through and update the match field for all records in the database.

Share this post


Link to post
Share on other sites

Oops, I missed the part about the relationship.

Sorry

Lee cool.gif

Share this post


Link to post
Share on other sites

thanks - i almost thought that you couldn't do it as easily. i'll just go for a scripted thingy then... thanks again!

Share this post


Link to post
Share on other sites

I think that you may be able to enfold your function in the Evaluate function, with the triggers being your lookup fields.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.