>>>Hi everybody,
>>>
>>>This expression:
str(val(oJC.HighWeek)-1),6)
>>
>>One reason could be the extra ). Try:
>>str(val(oJC.HighWeek)-1,6)
>
>Thanks, Larry. I was looking at this expression almost 10 min., trying different combinations, before realizing, what's wrong :)
Here's a trick I use (used to use it a lot when proofing FPA galleys). Start at 0 and count the parens. Add one for every left paren and subtract one for every right paren. If you're not at 0 at the end of the code line, something's wrong.
Tamar