OK, I did use the code from Allen Browne above.
I used in a SQL query as mentioned using
I keep getting a Error "Syntax error (missing operator) in query expression".
However it does run.
I would like to be able to get this in a simple select query but cannot get the argument to work.
"Maybe...