|
cstegmann Beginner
Joined: 30 Sep 2004 Posts: 14
|
Posted: Thu Jan 27, 2005 3:50 pm
Accessing the Number in a database record |
Hey there,
i'm trying to make an alias that will find a certain name in a database record and then give me the corresponding number.
#VAR List {name1|2345|name2|5436|name3|86743} {_nodef}
How would i be able to get the number of name2 and put it into an alias?
Thanks, chris |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Thu Jan 27, 2005 4:04 pm |
%db(@list, name1) should return the value for name1, and the same for name2, name3, etc., assuming that the above is meant to be a rec var and not just a string list.
|
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
cstegmann Beginner
Joined: 30 Sep 2004 Posts: 14
|
Posted: Thu Jan 27, 2005 4:08 pm |
thanks, that works great
|
|
|
|
|
|