![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'd like to copy the date from a date field on my form, strip out the date formatting and plant the result in another field on the form. So, the original date field would look like this: 05/08/06 and the result would look like this: 050806 in a field I'll call: DigitalDate. I've actually gotten it to work by setting the DigitalDate format to: mmddyy, but I believe the computer still recognizes the "date aspects" and I get a type mismatch when I attempt my next step - concatenating DigitalDate with a field called:LastName. Eventually my mishmash will look like this: SMITH050806 |
#3
| |||
| |||
|
|
I actually just did something like this in order to create a directory for backing up files. Using the Format function should work, despite how Access stores the date. I don't think you need two steps. Here's what the update value would look like given your example: mishmash = [LastName] & Format([DigitalDate],"mmyydd") |
![]() |
| Thread Tools | |
| Display Modes | |
| |