Hello,
I am trying to insert non database items to a temporary table in orcle forms.
tried to run the below query
and not inserting any information from global stint and the block.item checked value
can you please advise.
thanks.
my data in globa variable stores as follow(
0,120,130,140) need the comma separated values in a different row with checked/unchecked value from the blcok
thanks.
forms_ddl('Insert into GLOB_TEMP (EMP_ID,EMP_ID_CHK,EMP_LVL)
SELECT DISTINCT
TRIM(regexp_substr(:global.mystring, ''[^,]+'', 1,:EMP.EMP_ID, level)) value,
level
FROM
dual
CONNECT BY
regexp_substr(:global.mystring, ''[^,]+'', 1, level) IS NOT NULL
ORDER BY
level)'
);
forms_ddl('commit');
go_block('GLOB_TEMP');
execute_query();