SQL

  • Thread starter Thread starter Stewart
  • Start date Start date
S

Stewart

Just need some quick help with an SQL statement I'm using
as a rowsource for a combo box. I want it to sort
primarly by State, and secondarly by City.

ex) California | LA | Dude
California | San Fransisco | Dude2
New York | New York | OtherGuy

Also, I'm writing the RowSource SQL Statement in VBA.
 
Never Mind, I'd MisSpelled something and had it right all
along, Sorry.
 
Select State, City, NameField
From YourTable
Order By State, City;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top