Home | Advertising Info73 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, August 22, 2014  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Error Messages
From: Adam
Date: 6/29/2001 2:56:57 PM
IP: 12.2.27.125



 

Right now I have a form with 3 input fields: employee name, emp. number, and dept. I created an message to appear if the form is submitted but there is no result to avoid the nasty error messages that might scare some people. My code looks like this:
<% If Rs1.EOF and Rs1.BOF Then %>
<table align="center">
<tr>
<td colspan="3" width="610">
<font size="+1" color="#ff0000"><strong>YOUR SEARCH RETURNED NO RESULTS!<br><br>
Please try your SEARCH AGAIN.</strong><br><br></font>
<font face="arial" size="+2"><b><a href="/emp_info/default.asp">New Search</b></a>
<br><br>
</td>
</tr>
</table>
<% Else %>

It works for both the name and department fields. However if one accidentally enters a name into the number field then it goes back to the nasty error message produced by the ASP, not the one I created. I'm stumped so any suggestions would be much appreciated. Thanks!

Follow Up - Re: Error Messages - Harpreet 7/1/2001 7:43:18 AM

Follow Up - Re: Error Messages - David Beal 7/2/2001 4:02:21 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com