When you right-click > 'Preview' an object in an EViews database, the default attributes shown are usually Description, Display Name and History. How do you add custom columns for metadata such as 'Source' or 'Units'?
Any help is appreciated.
New attribute for database objects?
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: New attribute for database objects?
The preview window lists all non-empty attributes. As long as the object has an attribute, the preview window will show it.
Follow us on Twitter @IHSEViews
Re: New attribute for database objects?
How can I add an attribute though?
As far as I know, you can only specify leading columns to be Name or Description.
I just want a column that shows metadata when I click 'Preview'.
As far as I know, you can only specify leading columns to be Name or Description.
I just want a column that shows metadata when I click 'Preview'.
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: New attribute for database objects?
You add an attribute to the object in the object's label view. Once the object has that attribute and is stored in the database, the preview will display it.
Follow us on Twitter @IHSEViews
Re: New attribute for database objects?
I've added the attribute in the Label view by typing it out in an empty row but when I store it in the DB and click Preview, it does not show the new attribute. Any reason why?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13315
- Joined: Tue Sep 16, 2008 5:38 pm
Re: New attribute for database objects?
So I got it to work. I was trying to add the new attribute from the workfile window instead of in the object window.
My next question is whether it is possible to do this programmatically?
In other words, how can I get EViews to recognize a column in Excel and add it as custom attribute for the corresponding object?
Thanks Gareth.
My next question is whether it is possible to do this programmatically?
In other words, how can I get EViews to recognize a column in Excel and add it as custom attribute for the corresponding object?
Thanks Gareth.
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 11 guests