J
Julie
Hi! I have an Excel file that I have imported into
Access. My dates are broken up into four different
fields and I need to combine those fields. I need my
dates to be in the YYYYMMDD format. My only problem is
that my Year, Month, and Day fields show only one digit
when there is a 1-9 used. Example
Century Year Month Day
20 1 5 16
19 98 12 8
19 84 9 20
20 3 10 15
In Excel, I tried to change the format of the number
using a custom format, and it changed the look of the
number, just not that value in the cell.
Ex: You could see 05 when you looked at the cell, but
when you looked in the cell at the value it said 5
Then, I tried to use the CONCANTENATE function to combine
all of the date fields together into one field thinking
that the format issue may have corrected my problem, but
it didn't. So I imported the file into Access hoping
there was some update function (maybe the update query)
that I could use.
Are there any suggestions on how I could get the Year,
Month, and Day to show a 2 digit field in either Excel or
Access? I need that leading zero to show not only when
you look at the field, but also when you look in the
value in the cell. Thanks in advance for any help
given! Have a great day!
Julie
Access. My dates are broken up into four different
fields and I need to combine those fields. I need my
dates to be in the YYYYMMDD format. My only problem is
that my Year, Month, and Day fields show only one digit
when there is a 1-9 used. Example
Century Year Month Day
20 1 5 16
19 98 12 8
19 84 9 20
20 3 10 15
In Excel, I tried to change the format of the number
using a custom format, and it changed the look of the
number, just not that value in the cell.
Ex: You could see 05 when you looked at the cell, but
when you looked in the cell at the value it said 5
Then, I tried to use the CONCANTENATE function to combine
all of the date fields together into one field thinking
that the format issue may have corrected my problem, but
it didn't. So I imported the file into Access hoping
there was some update function (maybe the update query)
that I could use.
Are there any suggestions on how I could get the Year,
Month, and Day to show a 2 digit field in either Excel or
Access? I need that leading zero to show not only when
you look at the field, but also when you look in the
value in the cell. Thanks in advance for any help
given! Have a great day!
Julie