Hi, I am building a database in access 2000 and I need the date field to be shown as yyyymmdd with no / or - in it. for example in a DOB field instead of 11/01/1976 i need 19761101. Would it just be easier to save it as a number and not as a date?
Check out the help for "format". Much of the time you'll be able to answer questions like this by looking through the help files.
Definitely store it as a date, if that's what it is. When you display your value, eitehr on a form or on a report, just do this:
format([MyDateField], "yyyymmd"
You will have to do it everywhere it's displayed, but it's still a better way to go about it.
Jeremy =============
Jeremy Wallace AlphaBet City Dataworks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.