Cecil
19+ years progress programming and still learning.
OE 11.3.1
How do I specify the SERIALIZE-NAME or SERIALIZE-HIDDEN attribute for a field in a dynamically created temp-table? I know how to do it for the temp-table it's self but not the fields????
How do I specify the SERIALIZE-NAME or SERIALIZE-HIDDEN attribute for a field in a dynamically created temp-table? I know how to do it for the temp-table it's self but not the fields????
Code:
CREATE BUFFER hnClientEvent FOR TABLE 'ClientEvent'.
CREATE TEMP-TABLE hnTempTable.
hnTempTable:ADD-LIKE-FIELD( 'ClientGUID', hnClientEvent:BUFFER-FIELD('ClienTGUID') ).
hnTempTable:ADD-LIKE-FIELD( 'Created', hnClientEvent:BUFFER-FIELD('Created') ).
hnTempTable:ADD-LIKE-FIELD( 'ErrorStatus', hnClientEvent:BUFFER-FIELD('ErrorStatus') ).
hnTempTable:ADD-LIKE-FIELD( 'RemoteAddress', hnClientEvent:BUFFER-FIELD('RemoteAddress') ).
hnTempTable:ADD-LIKE-FIELD( 'RequestedURL', hnClientEvent:BUFFER-FIELD('RequestedURL') ).
hnTempTable:ADD-NEW-INDEX('idxCreated' ,false,false).
hnTempTable:ADD-INDEX-FIELD('idxCreated','Created','desc').
hnTempTable:SERIALIZE-NAME = 'ClientLogins'.
hnTempTable:TEMP-TABLE-PREPARE("ttClientEventy").