[Stackoverflow] [Progress OpenEdge ABL] how to create a temp-table for code_mstr in progress 4gl?

Status
Not open for further replies.
H

Hugh Jass

Guest
I want to create a temp-table for generalized code maintenance(code_mstr) such that the input I give in GCM does not hit the database but instead is stored in a temporary table from where I can update or delete the records. which has the fields

Code:
code_fldname
code_value
code_cmmt
code_group

I am very new to progress and this task is a little daunting as I am not understanding how to begin, I have been going through examples and syntax of temp-table, the only thing I managed to write so far is this code which Im not sure is correct or not

Code:
define temp-table tt_gcm no-undo
field tt_fldname like code_fldname
field tt_value like code_value
field tt_cmmt like code_cmmt
field tt_group like code_group   
field tt_domain like global_domain
index tt_idx
      tt_domain
      tt_fldname
      tt_value.

and after this I defined a form for the same

Code:
form
code_fldname
code_value
code_cmmt
code_group
with frame a side-labels

now I need to fetch the records from code_mstr and store it in the table and display them which I am totally not getting how to do, any help would be appreciated.

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