Page 1 of 1

Displaying object that is in UO but not in WF?

Posted: Tue Dec 13, 2016 9:39 am
by KrilleJ
Hi,

I have another question on user objects.

Suppose that you have generated a user object called uo. Then add a table to the workfile. Call it "test". Then add (without deleting it from the workfile) test to the uo object (with uo.add test).

Next do:

uo.display test --> Will display table in the uo view.
delete test --> Will delete test from workfile
uo.members --> Will show that test still in uo
uo.display test --> Will not display test in uo view.

In the last row, it will say that test is not defined.

Now:

uo.extract test test

will extract the table to the workfile, hence it seems to still exist in the uo. Also, after extract, it can be views in the uo view again. Why can't it be shown in the uo view after it is deleted from the workfile and before it is extracted again?

Best,
Kristian
uotest.png
uotest.png (22.6 KiB) Viewed 4892 times

Re: Displaying object that is in UO but not in WF?

Posted: Tue Dec 13, 2016 10:11 am
by EViews Gareth
.display is for displaying workfile objects inside another object. It has nothing to do with the members of a UO.

Re: Displaying object that is in UO but not in WF?

Posted: Tue Dec 13, 2016 11:21 am
by Krille
Ok. I see, my mistake.

Is there any possibility to view e.g. a table of a UO in the user object window by a command (or meny) or do I have to extract the table to the WF first?

Thanks,
K

Re: Displaying object that is in UO but not in WF?

Posted: Tue Dec 13, 2016 11:27 am
by EViews Gareth
You have to extract it