Hello,
I have a question concerning how to interact with dynamic temp-tables via the Java OpenClient through an Application Server. From what I'm reading in the Open Client docs I need a temp table defined with a BEFORE-TABLE to be able to add / modify / delete records via Java. Unfortunately I'm using a dynamic temp table (CREATE TEMP-TABLE) who's definition looks like :
Does anyone know how to define a dynamic table that contains a BEFORE-TABLE? I don't see where this can be done syntactically.
-Chad Johnson
I have a question concerning how to interact with dynamic temp-tables via the Java OpenClient through an Application Server. From what I'm reading in the Open Client docs I need a temp table defined with a BEFORE-TABLE to be able to add / modify / delete records via Java. Unfortunately I'm using a dynamic temp table (CREATE TEMP-TABLE) who's definition looks like :
Code:
DEFINE INPUT PARAMETER pcTableName AS CHARACTER NO-UNDO.
DEFINE INPUT PARAMETER pcTempTableName AS CHARACTER NO-UNDO.
DEFINE OUTPUT PARAMETER TABLE-HANDLE tt.
CREATE TEMP-TABLE tt.
tt:CREATE-LIKE(pcTableName).
tt:TEMP-TABLE-PREPARE(pcTempTableName).
Does anyone know how to define a dynamic table that contains a BEFORE-TABLE? I don't see where this can be done syntactically.
-Chad Johnson