>What I meant was :
>
>IF ALLTRIM(gcProduct) == "WASTE" gives the error!
>
>
>I don't need upper as it is already in caps.
>
>The problem is where is the memory vars value going to?
Hi Bernard,
Enter the varible in the debugger and double click the frame to right of it. This will cause a break in execution when the value changes. You can then ACTIVATE WINDOW DEBUG to see what's going on. I suspect that the value either hasn't been declared/initialized or is out of scope.
George
Ubi caritas et amor, deus ibi est