|
Davos Adept
Joined: 30 Jan 2003 Posts: 228 Location: USA
|
Posted: Thu Oct 20, 2005 5:04 pm
Matching partial Zone Names |
Im currently using areavnum=%zonenum( @qarea)
to pull the ZoneID out of the mapper but if @qarea isnt an exact name in the mapper it fitters out on me, anyway to get zmud to match partial names like this? |
|
_________________ The Seaworthy |
|
|
|
Larkin Wizard
Joined: 25 Mar 2003 Posts: 1113 Location: USA
|
Posted: Thu Oct 20, 2005 7:09 pm |
Have you taken a look at %mapquery yet? You can use the 'LIKE' syntax from SQL to do partial matches on the map database.
|
|
|
|
Davos Adept
Joined: 30 Jan 2003 Posts: 228 Location: USA
|
Posted: Thu Oct 20, 2005 7:50 pm |
I tried this but it didnt return anything
|
|
_________________ The Seaworthy |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Oct 20, 2005 8:08 pm |
%mapquery is restricted to the ObjTbl, whereas zone names are stored in the ZoneTbl. You can always loop through the zones getting all the names with %zonename and comparing that with %pos.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|