Display names in tables

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Redwing153
Posts: 30
Joined: Sat May 30, 2015 5:10 am

Display names in tables

Postby Redwing153 » Tue Apr 05, 2016 4:58 am

Hello,
I have created a table by freezing a group.
Is there a way for me to automatically assign column titles for my series, for instance by using the display name function?

At the moment I am using

Code: Select all

settattr(Display Name) Column Name
to assign a display name, but for my table I have to use

Code: Select all

Tabledata(x,y)="Column Name"
How do I automatically link Tabledata(x,y) to Display Name or is there a better way of achieving this?

Thanks

RW

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Display names in tables

Postby EViews Gareth » Tue Apr 05, 2016 7:56 am

Code: Select all

%dispname = myseries.@displayname tabledata(x,y) = %dispname


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests