PDA

View Full Version : Select unique value



yn19832
04-04-2007, 08:38 AM
I want to select unique country names from a recordset and now my code is

"select distinct country"

The problems is that ASIA and Asia are different, but it only selects one.How can I include both of them?

Simon Lloyd
04-04-2007, 10:40 AM
you need to use the LCase statement!

you supplied your code as "select disitinct country" any chance you can explain how to use this code as it is much shorter than anything i have ever used!

Regards,
Simon

yn19832
04-04-2007, 11:53 AM
Sorry about that. It is strSELECT="select distinct country"

Simon Lloyd
04-04-2007, 11:57 AM
yn19832, you need to post your code in its entirety!, i was being a little flippant i'm sorry, but in order for you to get help you need to help us help you!, post your code and get the solution you require!

Regards,
Simon

xld
04-04-2007, 01:26 PM
I think you are goint to struglle.

With SQL Server, it is an insttallation option, but I bet you aren't using SQL Server.