Jump to content

Recommended Posts

Posted

Bom dia,
Preciso de criar uma regra que não deixe fazer alteração a Clientes que estejam inativos, eu tenho a regra abaixo 

IF cl.inactivo = 1
return .f.
ENDIF
RETURN .T.

Sublinhei tambem a expressão é um programa

Mas dá o seguinte erro:

Regra com nº interno : 150 Código: 107 Linha: 1 Mensagem 1: Operator/operand type mismatch. Mensagem 2: Local: XRULE15020241007115537 Chamada: MAINPHC MAINMAIN SCL.GRAVAR.NOSSOBUTTON1.CLICK SCL.CHECKRULE PRGRUN XRULE15020241007115537 ON...


 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.