LPARAMETERS toObject LOCAL loState, lcState, lcType loState = toObject.GetState() lcState = loState.Get(1) lcType = loState.Get(2) IF lcType = "PROJECTS" DO CASE CASE lcState = 'SAVE' This.Parent.ClientsObj.Requery() OTHERWISE RETURN .F. ENDCASE ENDIFThe problem with it is the line: lcType = loState.Get(2) - it returns a logical .F.