I have this in one procedure:
DEF VAR vh_TblBuf AS HANDLE NO-UNDO.
CREATE BUFFER vh_TblBuf FOR TABLE "temp_table_name".
The temp_table_name is TEMP TABLE!
And receave error here:
Could not create buffer object for table temp_table_name. (7334)
If I move this code in the main block of the program - it's working.
If the temp_table_name in not temp table - it's working!
Is it possible to create a buffer for temp table in some procedure or triger?
DEF VAR vh_TblBuf AS HANDLE NO-UNDO.
CREATE BUFFER vh_TblBuf FOR TABLE "temp_table_name".
The temp_table_name is TEMP TABLE!
And receave error here:
Could not create buffer object for table temp_table_name. (7334)
If I move this code in the main block of the program - it's working.
If the temp_table_name in not temp table - it's working!
Is it possible to create a buffer for temp table in some procedure or triger?