I am attempting to use the SGET function to get 2 letters of a string. SET VAR vSgetState = (SGET(.vControl,2,7))
I then use this information to compare to a ship state in another field. The purpose is to make sure the ship state and those two letters are the same. Here is the On Table Exit EEP I use: IF vShipState <> vSgetState THEN PAUSE 2 USING 'Shipstate & C# State must be the same!' CAPTION ' New Order ' ICON STOP SKIP TO vShipstate RETURN ENDIF The problem is that the pause command is popping up even when the variables are equal. I checked the watch variables and both vShipstate and vSgetState are equal. Jim

