navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
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

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

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

 

Dropdown pulled from DB

 
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 >> Dropdown pulled from DB
Page: [1]
 
shoky

 

Posts: 25
Joined: 9/13/2005
Status: offline

 
Dropdown pulled from DB - 12/10/2007 14:18:13   
I know I've done this before but I can't remember what the code was -

I need to have a dropdown selection pulled from an access DB - which is City.
I want the City name pulled from existing records, but I want each city to be listed once only. It's a narrow your search kind of thing.
shoky

 

Posts: 25
Joined: 9/13/2005
Status: offline

 
RE: Dropdown pulled from DB - 12/10/2007 14:28:59   
Oh I think I remember - Is it just make my SELECT - SELECT DISTINCT instead?

(in reply to shoky)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Dropdown pulled from DB - 12/10/2007 14:29:42   
Use distinct in your query as in:

SELECT DISTINCT CityName FROM ....

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to shoky)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Dropdown pulled from DB
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