WARNING!!!!! BACK UP ALL DATA PRIOR TO ATTEMPTING THIS!!!
I just did a very quick test, what I did was convert the Number field to text first - which should have 0 data loss. Then I inserted / in the appropriate spots, ie 31099 became 3/10/99 in text format, i tried various lengths and they worked. Then after they all had the appropriate "/"s in them I converted it to date type short date format. It worked great.
To get the slashes I did the following:
=IIF(LEN([DateField])=4,LEFT([DateField],1)&"/"&MID([DateField],2,1)&"/"&RIGHT([DateField],2),IIF(LEN([DateField])=5,LEFT([DateField],1)&"/"&MID([DateField],2,2)&"/"&RIGHT([DateField],2),IIF(LEN([DateField])=6,LEFT([DateField],2)&"/"&MID([DateField],2,2)&"/"&RIGHT([DateField],2),IIF(LEN([DateField])=7,LEFT([DateField],1)&"/"&MID([DateField],2,2)&"/"&RIGHT([DateField],4),IIF(LEN([DateField])=8,LEFT([DateField],2)&"/"&MID([DateField],2,2)&"/"&RIGHT([DateField],4))))))
Hope this helps,
Dan
Bookmarks