Does Access have a FIELD() function or something alike. I want to sort my query result in a non-standard order by specifying e.g.
[code=SQL]SELECT * from table_name ORDER BY FIELD(col_name, 'You', 'Me', 'We', 'They')[/code]I use this frequently in MySQL, but I could not find a similar function in MS Access documentation (but I am short sighted and could have overlooked it :-)
Thanks in advance,
Ronald
[code=SQL]SELECT * from table_name ORDER BY FIELD(col_name, 'You', 'Me', 'We', 'They')[/code]I use this frequently in MySQL, but I could not find a similar function in MS Access documentation (but I am short sighted and could have overlooked it :-)
Thanks in advance,
Ronald
Comment