If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Can i view only 1 result

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-11-02, 22:21
caa caa is offline
Registered User
 
Join Date: Sep 2002
Location: Kuala Lumpur
Posts: 1
Can i view only 1 result

Hai ..

I am trying to use select method to view the access database result using ASP

My problem is :


I am searching a book title "intro"

There is a book (the same book) but different ID number

Can result only show one result and by clicking the result it will show all the book ID ?

Can I ?
Reply With Quote
  #2 (permalink)  
Old 09-12-02, 05:08
JonathanB JonathanB is offline
Registered User
 
Join Date: Feb 2002
Location: North Wales, UK
Posts: 114
I'm not entirely sure what you mean but if you just want to return one using select:

select top 1 * from <tablename> where <field> = <filter>

Hope this helps.
__________________
J^ - web | email
newsASP Developer
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On