Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." 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 Basics 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 July 5th, 2004, 02:15 AM
Friend of Wrox
Join Date: Nov 2003
Posts: 141
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to acdsky
Default Search Box


I need to create a search page that allows a user to search by Company Name or Ref# in one textbox. What would be the easiest way to determine whether a Numeric entry has been entered (refNo) or a Company name and depending on that detirmine the query. Any sugestions?

Old July 5th, 2004, 02:51 AM
Friend of Wrox
Join Date: Jun 2003
Posts: 596
Thanks: 1
Thanked 3 Times in 3 Posts

isnumeric(theInpuValue) will return the boolean value true if the value is numeric and therefore refNo.

They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search / List Box Question. sprocket Access 2 July 13th, 2006 01:28 PM
search box rizp ASP.NET 1.0 and 1.1 Basics 5 September 10th, 2004 04:49 PM
Create search box yami56 Access 0 August 5th, 2004 05:42 AM
Getting a search txt box to work JJ Access VBA 4 October 23rd, 2003 10:19 AM
Search using drop down list box and a text box tcasp Classic ASP Basics 1 July 31st, 2003 02:58 PM

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