[mapserver-users] Query error messages

Matthew Hatcher MJHatcher@space.qinetiq.com
Mon, 9 Sep 2002 08:56:46 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C257D6.71E5F930
Content-Type: text/plain; charset="ISO-8859-1"

Hi everyone.
 
This is probably a really optimistic question, but is there any way to
customise the error messages you get from a query without using MapScript?
 
What I want to do is have a query that yields no results go to a custom page
of my choice, rather than simply show the "Search returned no results"
message.
 
Is this possible?
 
Cheers,
Matt Hatcher
 


**********************************************************************
The information contained in this email and any subsequent
 correspondence is private and is intended solely for the 
intended recipient(s). For those other than the intended
 recipient(s) any disclosure, copying, distribution, or any 
action taken or omitted to be taken in reliance on such 
information is prohibited and may be unlawful.
**********************************************************************


------_=_NextPart_001_01C257D6.71E5F930
Content-Type: text/html; charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Hi 
everyone.</FONT></SPAN></DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>This is probably a 
really optimistic question, but is there any way to customise the error messages 
you get from a query without using MapScript?</FONT></SPAN></DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>What I want to do is 
have a query that yields no results go to a custom page of my choice, rather 
than simply show the "Search returned no results" message.</FONT></SPAN></DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Is this 
possible?</FONT></SPAN></DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=00085807-09092002><FONT face=Tahoma size=2>Matt 
Hatcher</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><CODE><FONT SIZE=3><BR>
<BR>
**********************************************************************<BR>
The information contained in this email and any subsequent<BR>
 correspondence is private and is intended solely for the <BR>
intended recipient(s). For those other than the intended<BR>
 recipient(s) any disclosure, copying, distribution, or any <BR>
action taken or omitted to be taken in reliance on such <BR>
information is prohibited and may be unlawful.<BR>
**********************************************************************<BR>
</FONT></CODE>
</BODY></HTML>

------_=_NextPart_001_01C257D6.71E5F930--