Can't say for certain, as I haven't tested, but
http://msdn.microsoft.com/library/en...etprovspec.asp
seems to imply that the Connection should have a property named
DBPROP_INIT_LCID that you should be able to set.
See whether
cDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" &
server.MapPath("data.MDB")
cDB.Properties("DBPROP_INIT_LCID") = 1054
works.
On the other hand, section 5.1 of
http://www.winsoft.sk/adofaq.htm suggests:
cDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Locale
Identifier=0x041d;" & "Data Source=" & server.MapPath("data.MDB")
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
<la*****@home.se> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
that didnt help! it still sorts the table like this:
Åby
Angered
Backa
Örebro
Oslo
Ystad
I want it like this:
Angered
Backa
Oslo
Ystad
Åby
Örebro
To be mentioned is that I am getting the table with an ADO recordset:
strSQL = "SELECT * FROM Adresstable ORDER BY Adress"
When I connect to the database I do it like this:
cDB.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & "Locale
Identifier=1053;" & "Data Source=" & server.MapPath("data.MDB")
I read that I could put the Locale Identifier=1053 (swedish/finnish)
but That didnt help either?????
Someone??
/M