>Naomi
>
>lcTemp[1] = iif(isnull(lcTemp[1], 1, lcTemp[1]+1)
>
>result too many arguments
>
>I added a missing ")" as below, but still the message continues
>
>lcTemp[1] = iif(isnull(lcTemp[1], 1, lcTemp[1]+1))
Sorry, should be
lcTemp[1] = nvl(lcTemp[1],0)+1
In my previous code I missed a ) after IsNull(lcTemp[1])
If it's not broken, fix it until it is.
My Blog