[Stackoverflow] [Progress OpenEdge ABL] Is there a way to get static buffer field's name by static reference?

Status
Not open for further replies.
W

W0lfw00ds

Guest
I know there's way to get static buffer's table name with this:

Code:
DEF BUFFER Customer_B1 FOR Customer.

DEF VAR cTableName AS CHAR NO-UNDO.

cTableName = BUFFER Customer_B1:HANDLE:TABLE.

Is there a similar way to get buffer field handle and it's field name using static reference?

I would like to use static buffers because they are checked at compile time against the configured database. This means that if some table or field is missing, the codes won't compile. I wouldn't like to use field number or string names to get the field handle.

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