Home | Advertising Info94 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
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
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: Search Results from database using LIKE
From: Gary jenkinson
Date: 9/27/1999 8:46:58 AM
IP: 195.166.139.133



 

Hi everybody,
being new to web programming I have come across a question to which I cannot find an answer.

I wish to be able to enter text into a text box on a particular page and show the results on a subsequent page. At the moment I ams using the following SQL string to try and achieve the desired results.

Set rst = Server.CreateObject("ADODB.Recordset")
sqlstring = "SELECT * FROM [Organisations] WHERE [Organisation] LIKE%" & Request.form("Searching")& "%"

The above code is on the results page, but when I run the text box. The reuslts are to say the least wrong.

I sometimes get sertain results which seem to be correct, until I scan the lower records. Other times get all the results, no matter what I enter.

I can only assume the code or the procedure is incorrect. Could anyone please help me.

Gary J


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 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 help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free 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