Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple Question With Displaying Info From Database

Status
Not open for further replies.

cdogstu99

MIS
Jan 17, 2005
68
US
I have a small database with prices for certain items. There are 13 items with 5 different prices for each item. Could someone tell me how to display a specific price on an asp page. If i am looking for the 3rd price of item 4 and i want it to display on a certain place on my page, how can i easily do this? Thanks!
 
Depends on how your database is arranged.
are the items in one table and prices in another ?

if so use

objRS.Move(3,adBookmarkFirst)

to get to a specific record.

if you don't know how to retrieve a recordset there are several FAQs you can refer to


Chris.

Indifference will be the downfall of mankind, but who cares?
Woo Hoo! the cobblers kids get new shoes.
People Counting Systems

So long, and thanks for all the fish.
 
Chris all my info is in one table, so it looks as such,

Price 1 Price 2 Price 3
Item 1 3 4 4
Item 2 5 2 9
Item 3 2 3 4

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top