|
solem Beginner
Joined: 16 Mar 2004 Posts: 20
|
Posted: Wed Dec 15, 2004 5:15 am
%find issue. |
I have a database set up that stores zone information. If I issue the following command:
#SHOW %find(The Western Roads,All)
I get the output:
742zo|773zo
Now... If I issue the command:
zone.zname=The Western Roads;#say @zone.zname
I get the output :
The Western Roads
(note:I have comfirmed there are no trailing spaces in the output)
Now, if I issue the command:
#SHOW %find(@zone.zname,All)
I get nothing.
I have seen similar code to %find(@zone.zname,All) in database example scripts here. I don't understand why I can't get it work.
Any help is welcome.
Thank you in advance
Solem of Aardwolf |
|
|
|
nexela Wizard
Joined: 15 Jan 2002 Posts: 1644 Location: USA
|
Posted: Wed Dec 15, 2004 1:18 pm |
hmm try some of these variations (in order of what should be best to use)
%find('@zone.zname',All)
%find({@zone.zname},All)
%find(<@zone.zname>,All) |
|
|
|
solem Beginner
Joined: 16 Mar 2004 Posts: 20
|
Posted: Wed Dec 15, 2004 5:05 pm Tried it at work. |
Nexela,
Thank you for your reply. I installed a client at work so I could test your suggestions and they all work . My original #SHOW %find(@zone.znames,All) also works?! I will test from home tonight but I'm wondering; does this mean I've changed something in my general preferances at home that is preventing it from working?
Thanks
Solem of Aardwolf |
|
|
|
|
|