 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Tue Jun 24, 2008 11:34 pm
Databases and retrieving specific columns |
Here's the situation. I have an equipment database, and I really only want to display a couple of columns when I query it. However, the following command does not work:
#FORALL %find("path") {#SAY &Name &Level &Wear &TotalStats}
Instead, it only returns the first record, despite Path being the 33rd record. #SAY %find("path") works and displays the record number, and #SHOWDB %find("path") displays all the information (though not in order of the database itself, which is a bummer).
Any ideas on what I can use? Or is this a bug with databases? This is annoying as I can't just set up my aliases to show whatever I want it to show anymore...
Charneus |
|
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Wed Jun 25, 2008 9:43 am |
#FORALL %find("path") {#DBGET %i;#SAY &Name &Level &Wear &TotalStats}
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Wed Jun 25, 2008 10:33 am |
Hah. Thanks, Vijilante. Once again, you've come to my rescue. :P
Charneus |
|
|
|
 |
|
|
|