ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old March 24th, 2000, 11:58 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Simple Search Form

<i><b>Originally posted by : Charles (cjanco@mindspring.com)</b></i><br />I have an ASP problem that I am desparate for help with. I need a simple search form that searches on the <br />part number for a company. I am able to set it up so it works with the auto number field but cannot get it working <br />with the part number field! The part number field is made up of text and numbers that vary in length. Its located in <br />my Access database. I get the message "either BOF or EOF is true or the current record has been deleted.<br />Can you tell me what I am forgetting. <br /><br /><!-- #include file="db.inc" --><br /><br /><html><br /><br /><%<br />partnumber = request.form("partnumber")<br /><br />strSQL = "select partnumber, producttagline from webproducts where partnumber = ' " & partnumber & " ' "<br />Set objRS = objConn.Execute(strSQL) <br /><br />Response.Write objRS("producttagline")<br /><br />objRS.Close<br />Set objRS = Nothing<br />objConn.Close<br />Set objConn = Nothing<br />%><br /><br /></html><br /><br />Thanks!<br /><br />Charles<br />714-413-8170

Reply With Quote
  #2  
Old March 24th, 2000, 01:34 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve</b></i><br /><br />1st thing is to do in debugging this stuff is to use either access query designer or sql query analyzer to get a sql string you know returns record(s). then copy and paste that into your asp page to see if the same record comes back. Good luck...<br />you code looks right.<br /><br />------------<br />Charles at 3/24/2000 9:58:58 AM<br /><br />I have an ASP problem that I am desparate for help with. I need a simple search form that searches on the <br />part number for a company. I am able to set it up so it works with the auto number field but cannot get it working <br />with the part number field! The part number field is made up of text and numbers that vary in length. Its located in <br />my Access database. I get the message "either BOF or EOF is true or the current record has been deleted.<br />Can you tell me what I am forgetting. <br /><br /><!-- #include file="db.inc" --><br /><br /><html><br /><br /><%<br />partnumber = request.form("partnumber")<br /><br />strSQL = "select partnumber, producttagline from webproducts where partnumber = ' " & partnumber & " ' "<br />Set objRS = objConn.Execute(strSQL) <br /><br />Response.Write objRS("producttagline")<br /><br />objRS.Close<br />Set objRS = Nothing<br />objConn.Close<br />Set objConn = Nothing<br />%><br /><br /></html><br /><br />Thanks!<br /><br />Charles<br />714-413-8170

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Simple Search Form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway