Skip to Content
0
Former Member
May 14, 2008 at 05:44 AM

declaring data type dynamically

21 Views

Hi all

i am upgrading version 4.7 to 6.0.

In one of the program i came across following statements.

*Select * from (object_type-viewname) into work.*

object_type-viewname has some table name as value which changes with each loop pass.

Earlier in version 4.7 version the structure of work was flat,

but if i use the same in 6.0 it gives dump saying types not compatible.

So the only solution I was able to understand is every time *data type of work should be equal to contents of object_type-viewname.* But how do i achieve that

PLzzz help