SELECT Database.Postnummer, Int(Right([Adresse],Len([Adresse])-InStr(1,[Adresse]," "))) AS Nr FROM [Database] ORDER BY Database.Postnummer, Int(Right([Adresse],Len([Adresse])-InStr(1,[Adresse]," ")));
Thanks. I know the right solution is that change street number to its own field and number field, but its not possible whit out large work. terry: You have a solution, but i can't get it work. It's in .asp web page and a .mdb database.
Yes the code in #7 work, but your in #6 dos not work, but i think that i have to rewrite your code a little. I understand your code, and you have the right point. I try, thanks for your post. If some one know the right syntax for #6 for ASP / MSSQL, i like to have it.
I have to fix it on another way, make a field to the house number. Answer #6 cant do because if i have a street with eg Strandvejen 2 - 7 lejlighed 8 Its get a problem.
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.