09-03-2009, 11:15 PM
Debug it.
I think I had a similar problem. It wasn't picking up the ItemNum value and was returning zero in one of the checks. That is what caused it to go out of range.
Have a browser through and Step Into the function to check what the values are.
I think I had a similar problem. It wasn't picking up the ItemNum value and was returning zero in one of the checks. That is what caused it to go out of range.
Have a browser through and Step Into the function to check what the values are.