0
00Eric Clapton
What is the function which can convert date field to string in a specific
format? Thanks.
format? Thanks.
00Eric said:What is the function which can convert date field to string in a specific
format?
Actually, a field value 7/7/05 and how do I change it to 07072005 as a
string? Thanks.
Graham Mandeno said:Five spaces followed by a numeric value? Try:
" " & MyValue
This may not give you what you want if the value is, say, greater than 9,
but then you do not have a good history for expressing your questions
clearly, nor, indeed, for showing gratitude for the learned advice you do
receive.
--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand
00Eric Clapton said:And how I change a field with value 1 to " 1" with leading 5 empty
space and string datatype?
John Griffiths said:How about ->
Space(5-Len(Format(MyNumber, "0")))&Format(MyNumber, "0")
Any help? John
Graham Mandeno said:Five spaces followed by a numeric value? Try:
" " & MyValue
This may not give you what you want if the value is, say, greater than 9,
but then you do not have a good history for expressing your questions
clearly, nor, indeed, for showing gratitude for the learned advice you do
receive.
--
Good Luck!
Graham Mandeno [Access MVP]
Auckland, New Zealand
00Eric Clapton said:And how I change a field with value 1 to " 1" with leading 5 empty
space and string datatype?
What is the function which can convert date field to string in a specific
format? Thanks.