Home | Advertising Info454 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, June 23, 2018  

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.


We didn't realize
the site was so popular.

Other Stuff

PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Re: EOF/BOF problem
From: harlan
Date: 2/16/1999 3:56:55 PM


couple things, most relating to error checking, not your spacific error.
Also, I would use a select case statment not ifs its faster, and better looking.. example:
select case trim(class("type"))
case "type1"
`this is the same as..
`if trim(class("type")) = "type1" then
case "typelast"
case else
end select

now for the error.. first you should probably trap the error.
if class.EOF and class.BOF then
response.write "no records found"
.. do while loop here..
end if

for debug purposes, you might want to do something like instead of
response.write "no records found" do response.write "query: " & query & "<br>"
and then run the query in whatever database your in, and make sure the
query is correct. If it is, make sure the case your looking for
"type1" is the same as what is returned "Type1" if is case sensitive, so
is select case. you may want to lcase() it all before your check.
select case lcase(trim(class("type")))
case "type1"
... stuff here..
end select

if that doesnt help.. do response.writes all over your code, and walk threw it.

Previous Message

Follow Up - Re: EOF/BOF problem - Honna 2/17/1999 5:10:11 PM


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2018 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 a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. 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