Wrox Programmer Forums
|
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2004, 03:33 AM
Authorized User
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Pharasite Send a message via Yahoo to Pharasite
Default Number of records

faced with another dilemma, i want to know how many records my search found within the current recordset, using myRS.Find "Codes LIKE '*CR21*'". i know that there are let's say 7 records, but i would like to use that value found to display only those records the search found matching my search.

michael j hemmington
__________________
michael j hemmington
 
Old June 30th, 2004, 03:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

You got to use % instead of *

_________________________
- Vijay G
Strive for Perfection
 
Old June 30th, 2004, 04:14 AM
Authorized User
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Pharasite Send a message via Yahoo to Pharasite
Default

it still ownly displays the first record it finds. i would like the specific page to display codes "SPKCR2101" to "SPKCR2107" in a table and leave out all the others that has no affect. i already know that looping controls won't work, so i have to find another way around that. i tried declaring a variable to write the number of records found with the criteria "CR21", but still only the first record. how would i loop out the other 6 without displaying the entire recordset?

michael j hemmington
 
Old June 30th, 2004, 09:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Can you post some code here, else it is hard to find where you go wrong.

_________________________
- Vijay G
Strive for Perfection
 
Old July 1st, 2004, 02:00 AM
Authorized User
 
Join Date: Jun 2004
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Pharasite Send a message via Yahoo to Pharasite
Default

thnx for the help, but i found my problem! i had to filter out the specific records instead of finding them lol. again thank you.

michael j hemmington





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix number of records ceema Crystal Reports 1 December 18th, 2006 02:43 PM
Show number of records Vision G Access 2 June 3rd, 2006 03:01 AM
Delete X number of records slgknjn Access 1 August 22nd, 2004 08:24 AM
How to get number of records in recordset Ciarano VB How-To 6 March 3rd, 2004 10:59 AM
user input number of records bubblez Classic ASP Databases 0 October 21st, 2003 08:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.