Normalmente quando desejamos verificar se determinada variável tem algum valor, usamos um If da seguinte forma:
If FC VAR ALFA is not equal to BLANKAnd
FC VAR ALFA is not equal to NULL
//
//
End If
Quando a variável é numérica o If fica ainda maior:
If FC VAR NUM is not equal to BLANKAnd
FC VAR NUM is not equal to NULLAnd
FC VAR NUM is not equal ZERO to
//
//
End If
Esses Ifs podem ser substituídos por um bem mais simples:
If FC VAR ALFA is greater than BLANK
Pode também ser utilizado para campo numérico... façam os testes !
If FC VAR NUM is greater than BLANK
Se quisermos verificar se a variável está em branco, é só mudar o comparador lógico.
If FC VAR ALFA is less than or equal to BLANK
Pode também ser usado para variável numérica, que tem valor inicial = 0 (zero)
If FC VAR NUM is less than or equal to BLANK
Bom trabalho !!!
Eduardo Camargo dos Santos
If FC VAR ALFA is not equal to BLANK
FC VAR ALFA is not equal to NULL
//
End If
Quando a variável é numérica o If fica ainda maior:
If FC VAR NUM is not equal to BLANK
FC VAR NUM is not equal to NULL
FC VAR NUM is not equal ZERO to
//
//
End If
Esses Ifs podem ser substituídos por um bem mais simples:
If FC VAR ALFA is greater than BLANK
Pode também ser utilizado para campo numérico... façam os testes !
If FC VAR NUM is greater than BLANK
Se quisermos verificar se a variável está em branco, é só mudar o comparador lógico.
If FC VAR ALFA is less than or equal to BLANK
Pode também ser usado para variável numérica, que tem valor inicial = 0 (zero)
If FC VAR NUM is less than or equal to BLANK
Bom trabalho !!!
Eduardo Camargo dos Santos
Comments
Post a Comment
Thanks for your comment!