Home | Advertising Info109 USERS CURRENTLY ONLINE   
   Site Search Contact Us Monday, October 24, 2016  

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

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds

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


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


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">
<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>
<% 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 - 2016 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 programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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