Consultor Eletrônico



Kbase P95631: How to delete all database table and field validations using 4GL?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/29/2004
Status: Unverified

GOAL:

How to delete all database table and field validations using 4GL?

FIX:

The following code removes all database table and field validations:
/* Delete all table and field validations */
FOR EACH _File WHERE _Tbl-Type ="T":
ASSIGN
_File._Valexp = ""
_File._Valmsg = ""
.
FOR EACH _field OF _file:
ASSIGN
_Field._Valexp = ""
_Field._Valmsg = ""
.
END.
END.