Xlate error when calling function second time (AREV Specific)
At 24 FEB 1999 06:41:37PM David Todd wrote:
I have a function that counts words in a text that match the words in a list in a record in another table. If I use the function one time in a dictionary routine, it returns the correct answer. However, if I use the function twice in the same dictionary formula, the second answer is wrong (correct answer + 2). I don't understand what could be happening the second time that could affect the result. I'll be happy to give more detail if needed.
At 24 FEB 1999 06:50PM Victor Engel wrote:
It's hard to say without seeing the code or knowing more specifically what the design is. My first instinct is to suspect a collision of @ variables. For example, is what you are calling resetting @DICT or @RECORD? Also, don't forget that XLATE caches records, so if you are doing any updating between XLATE calls, this could be a factor.