I am trying to make a list of names load by the first letter in that name based on the letter clicked.
So far I can load the Data like this
sSQL = "SELECT BandName, Genre, City, State, URL, Factoid, ID FROM Bands Where BandName Like 'A%'"
sSQL = sSQL & " ORDER BY BandName ASC "
This lists all Names starting with A
I want to Make it that the A would be passed in a variable.
Like the link would be something like this.
<a href=http://mydomain.com/alph.asp?vLET=A>A</a>
the variable letter would then be A
vLET=A
This is where I can't figure it out. The way of telling the page to do it.
sSQL = "SELECT BandName, Genre, City, State, URL, Factoid, ID FROM Bands Where BandName Like '&vLET%'"
sSQL = sSQL & " ORDER BY BandName ASC "
I need help with this.
By The Way this is and ASP page on Brinkster.
Jeff Henderson
President-Worship Loud
http://www.worshiploud.com