How to find or check if an object is available/exists in a workfile?

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

JC198998
Posts: 2
Joined: Thu Jan 02, 2025 7:13 pm

How to find or check if an object is available/exists in a workfile?

Postby JC198998 » Wed Jan 08, 2025 11:03 pm

Hello,

I have a workfile with hundreds of objectives (graphs, equations, tables, etc). Is there a command (or line of code) I can run to open a certain object instead of having to look through the workfile each time?

EViews Steve
EViews Developer
Posts: 829
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: How to find or check if an object is available/exists in a workfile?

Postby EViews Steve » Thu Jan 09, 2025 8:13 am

Just select the correct workfile page (if there are multiple), then type in:

Code: Select all

show x

to display the X object. If you type this into the Command window, you should see a dropdown after typing the first letter of the object name so you can pick from matching names.

Help page: show

To test if an object exists, use @isobject

JC198998
Posts: 2
Joined: Thu Jan 02, 2025 7:13 pm

Re: How to find or check if an object is available/exists in a workfile?

Postby JC198998 » Thu Jan 09, 2025 6:30 pm

It works, thank you!


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 0 guests