Skip to main content

Dica de If para verificar variável com valor

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 BLANK And
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 And
FC VAR NUM is not equal to NULL And
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

Popular posts from this blog

INFOCUS 2012 - Agenda

JD Edwards 9.1 Standalone Installation Tutorial

Hello and welcome to JDEFUSION.com!

Here's a video tutorial on how to install the newest JD Edwards 9.1 version!

In only six steps and no magic, you will have your JD Edwards up and running, including the Web version! The JD Edwards team did an outstanding job on this new version and I'm proud to be the first to document in video the installation steps and show you the system working after the installation.

The tutorial is divided in the following steps:


Images download - E-DeliveryDirectory preparationOracle 11g 32 bit installationJDE Demo installationPost installation proceduresSystem check

By following the video you'll be able to have your own JD Edwards' instance running directly in your PC or you may also install as a Virtual Machine using Oracle Virtual Box. The base OS I'm using for this tutorial is Linux and as you can see, the Virtual Box VM works fast and is also stable. Please let me know if you need some information on how to setup a Virtual Box instanc…

JDEdwards 9.0 DEMO Installation Tutorial

Hello!
Here's the new tutorial on JD Edwards 9.1


http://www.jdefusion.com/2012/05/jd-edwards-91-standalone-installation.html


You may want to install the 9.0, but I do recommend you to install and try the 9.1 with the new user interface and the "pages" feature. Click the link above and enjoy the video tutorial!


Oracle announced JDEdwards most recent version: 9.0 in September 2008.
Below, a complete tutorial of how to download and install this version.
Feel free to comment if you have any questions about this tutorial.
After that, we'll discuss many new features included in this version, as the new "Save" option. Now you can save your specs in a file and restore in another location without deployment, just using OMW.
So, let's rock!
The first step is to download the DEMO version to your machine.
Go to http://edelivery.oracle.com/ click Continue
1. Media Pack Search
Choose JDEdwards Enterprise One and your platform


Click the first option: JDEdwards Enterprise…