[stackoverflow] [progress Openedge Abl] How To Read Table Field's Default Value?

Status
Not open for further replies.
A

Ashton Woods

Guest
I want to read a table field's default value. I'm currently using the following syntax:

DEF VAR iDefaultValue AS INT NO-UNDO.

iDefaultValue = BUFFER MyTable:BUFFER-FIELD("MyField"):DEFAULT-VALUE.


However, when this field gets renamed or there is a typo, it will go thru the compiling process successfully and the possible error is thrown later at the runtime.

Is there any other way to read this value without writting and passing it as string? I'd like to catch any typos or errors with simple syntax check.

Continue reading...
 
Status
Not open for further replies.
Top