Forum Post: Re: Transforming The String Value Into A Table Field

Status
Not open for further replies.
T

Tim Kuehn

Guest
The following code'll create a dynamic buffer for the table, then reference the field for that buffer that you want. Because you're creating a dynamic object, you'll also need to delete it from memory when you're done. DEFINE VARIABLE hBuffer AS HANDLE NO-UNDO. DEFINE VARIABLE hField AS HANDLE NO-UNDO. CREATE BUFFER hBuffer FOR TABLE ENTRY(1, tt-param.c-to, ".") . hField = hBuffer:BUFFER-FIELD(ENTRY(2, tt-param.c-to, ".")). MESSAGE hField:BUFFER-VALUE VIEW-AS ALERT-BOX INFO BUTTON OK. DELETE OBJECT hBuffer.

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