navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Simple Database query

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Simple Database query
Page: [1]
 
dvn1967

 

Posts: 9
From: Exeter, PA, US
Status: offline

 
Simple Database query - 3/23/2001 14:54:00   
I have a database of products and want to be able to display a few samples on a page to give visitors and idea of our pricing structure. I can't seem to figure out how to set the parameters to display only those items I've selected as sample products. Basically, I don't want an entire catagory or an entire price range etc. to show up but only abouut 10 or so that I can select myself. I don't know if there is a way to add each item # into the query so only those show. I basically rely on FP2000 to do all the results for me so I was trying to get my results using the drw but hitting dead end. I don't know asp to say the least! Can the drw do this and how? Any help would be appreciated.

Dave

Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Simple Database query - 3/23/2001 15:13:00   
Hi Dave, have a read of my FAQ's linked below for more info, but yes it can be done.

The fields to show are listed at step 3 of the drw

http://www.outfront.net/spooky/step3.htm

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to dvn1967)
dvn1967

 

Posts: 9
From: Exeter, PA, US
Status: offline

 
RE: Simple Database query - 3/23/2001 16:20:00   
Spooky-

Thank you so much for your rapid response. It seems each time I choose to add one item in the value field I'm fine but when I try to add multiple items is where I get the "No Records Returned" script. I go to step three and choose criteria, then I add "ProdID" and insert the item # in the value field. Then I go and add another "ProdID" field and choose another item# in the value field and that's where I get the empty results. Any idea where I'm going wrong?

Thanks again.


(in reply to dvn1967)
Spooky

 

Posts: 26603
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Simple Database query - 3/23/2001 16:44:00   
Ahh, so you are after just certain products, not fields.
Perhaps add 5 or 6 criteria at step 3 for productID - ProductID = 1 or ProductID = 4 ....etc

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!


(in reply to dvn1967)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Simple Database query
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts