If your talking about a permanent conversion that is saved in your table Paul's is the method to use. However if you're talking about doing the conversion in a query for display on a report or form you can do it this way: In a module add the following
Code:
Public function dateconversion(Byref lngvalue as Long) As string
Dim tmpmonth as string
Dim tmpyear as string
If len(trim(str(lngvalue)))=6 Then
tmpmonth = Right(trim(str(lngvalue)),2)
If tmpmonth <1 or tmpmonth > 12
dateconversion = "Invalid Month"
Else
' here you may want to do some validation similar to the month as
'(Personal Assumption here) years greater than 2200 probably aren't valid and depending on how far back your data goes years prior should
'be validated as well
tmpyear = left(trim(str(lngvalue)),4)
dateconversion = tmpmonth & "/" & tmpyear
End if
Else
dateconversion = ""
End if
End function