I am opening sucesfully a database with the following function
Public Const CnstSurvey = "C:BEsurvey.mdb"
Public Function OpenSurvey()
Dim appAccess As Access.Application
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase CnstSurvey
End Function
I want however to have databases ending with different days, for example
Survey20060327
or
Survey20060326
and to open that database which has the latest date. Is it possible ?



