Rajat Sharma
Member
Hello everyone,
I studied about dynamic temp-table and visualized the benefits that we can get from it. i tried the simplest scenario of dynamic temp-table but facing some issues ex:
1. If i am creating the write dynamic temp-table then how could i assign values because at compile time compiler doesn't find 'prac' reference.
Best Regards!
Rajat.
I studied about dynamic temp-table and visualized the benefits that we can get from it. i tried the simplest scenario of dynamic temp-table but facing some issues ex:
Code:
def var qh as handle.
create temp-table qh.
find customer where customer.custnum = 1.
if available customer
then do:
qh:add-new-field('c-num','integer').
qh:add-new-field('c-name','char').
end.
else
qh:add-new-field('available','log').
qh:temp-table-prepare('prac').
Best Regards!
Rajat.
Last edited by a moderator: