?
Solved

SQL Statement, Ascending

Posted on 2005-05-12
1
Medium Priority
?
1,052 Views
Last Modified: 2012-05-05
This is the sql statement im using how do i get it to do ascending

tempSQL = "SELECT City FROM Cities WHERE StateID='" & strStateID & "';"
0
Comment
Question by:thaburner
1 Comment
 
LVL 7

Accepted Solution

by:
manthanein earned 375 total points
ID: 13990680
It think its'
tempSQL = "SELECT City FROM Cities WHERE StateID='" & strStateID & " ORDER BY [field] ASC';"
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question