Search found 12 matches

by pekaype01
Tue Mar 25, 2014 2:05 am
Forum: Programming
Topic: string object program fill
Replies: 7
Views: 7132

Re: string object program fill

Thanks Gareth for the heads up with run vs execute. As for the string object fill, I have done what you suggested before and get following failure message: "series assigned to string". Please have a look at this example: I have explanatory variables (exchange rates) in the structure rx_???...
by pekaype01
Fri Mar 21, 2014 7:10 am
Forum: Programming
Topic: string object program fill
Replies: 7
Views: 7132

Re: string object program fill

This may sound like a stupid question, but is it possilbe to create a string object e..g string _X (which works) and update the string within the program in a for loop rather than manually opening string and typing it in? Thanks in advance Sorry that was late at night, just realised that this quest...
by pekaype01
Thu Mar 20, 2014 11:02 pm
Forum: Programming
Topic: string object program fill
Replies: 7
Views: 7132

string object program fill

This may sound like a stupid question, but is it possilbe to create a string object e..g string _X (which works) and update the string within the program in a for loop rather than manually opening string and typing it in?

Thanks in advance
by pekaype01
Wed Feb 05, 2014 1:47 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

oh man...wasted 30 minutes on a typo: Mistake in the parenthesis after seriesname(i). Its missing an exclamation mark before the I. In case it helps anyone, this is the correct code: for !i = 1 to errorgroup_sa_d.@count %model = @mid(errorgroup_sa_d.@seriesname(!i), 10) %sedan = "D_CA_SDN_"...
by pekaype01
Wed Feb 05, 2014 1:23 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

Sorry the initial post contained the code of the orginail workfile whcih I had to trim down because of upload limitations...thats what happend This is the code matching the workfile I want to extract all seriesnames containing *SDN* in the name and add the to the group "group_CA_SA_sedan":...
by pekaype01
Wed Feb 05, 2014 1:10 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

Sorry thats a mistake because of the adapted workfile
by pekaype01
Wed Feb 05, 2014 1:04 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

sorry instead of the smilie it should be "9)"

and the last line should be group_CA_SA_sedan.add.....
that was just a type not affecting the failure message

Thank you so much
by pekaype01
Wed Feb 05, 2014 1:03 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

Sorry took me a while. Here is the code that I am Using again: for !i = 1 to errorgroup_sa_d.@count %model = @mid(errorgroup_sa_d.@seriesname(i), 8) %sedan= "D_CA_SDN" + "%model" group_CA_SA_sdn.add {%sedan} Next Error message: group_CA_SA_SDN is not defined in "do_group_CA_...
by pekaype01
Wed Feb 05, 2014 12:53 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

one second..the workfile is too large to be uploaded. I will resize it
by pekaype01
Wed Feb 05, 2014 12:41 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

Thank you so much Gareth that did the trick!!!works like a charm. Based on this logic I have continued the following way, data structure same as before e.g. D_CA_XXX_* I now have a group named "errorgroup_sa_d" which exctracted certain seriesnames by writing another loop which worked fine....
by pekaype01
Sun Jan 12, 2014 8:24 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

A group is simply a list of series names. It contains no data of its own. Thus you cannot rename a series within a group without renaming the underlying series, since they are the same thing. I don't understand your second question. THank you for your reply! ad Question 1: Ok. in that case, is it t...
by pekaype01
Sun Jan 12, 2014 6:12 pm
Forum: Programming
Topic: Getting the Names of the series in my group
Replies: 15
Views: 12992

Re: Getting the Names of the series in my group

Is it also possible to rename the seriesnames within a group without affecting the original series? Simply renaming it results in only the original seriesname to remain in the group but the values turning into NA. Alternatively is it possible to access members of a group by recognizing word stems of...

Go to advanced search