There is no easy solution to this but you could use the ASC function :
SELECT Asc(YourTableName.TheField) AS ASCvalue, YourTableName.TheField
FROM YourTableName
WHERE (Asc(YourTableName.TheField)=97);
This will return all the "a"
What you could do is create a table of ASCII numbers for the lower case letters and join them.
Create a table ( Table1 ) with one field - Character - and populate it with you lower case chacters.
Use this SQL to create th ASCII table
SELECT Asc([Table1.Character]) AS ASCvalue, Table1.Character
INTO tblASCII FROM Table1;
Jon SQL will be:
SELECT YourTableName.TheField
FROM YourTableName INNER JOIN tblASCII ON Asc(YourTableName.TheField) = tblASCII.ASCvalue;
Hope this helps, Good Luck [sig]<p>Bill Paton<br><a href=mailto:william.paton@ubsw.com>william.paton@ubsw.com</a><br><a href=
Check out my website ![/sig]