If SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> conObjStateClosed Then
If Forms(strFormName).CurrentView <> conDesignView Then
IsLoaded = True
End If
End If
End Function
Function LOM as Boolean
Dim MonthNum As Integer
Dim checkMonthNum As Integer
LOM = false
MonthNum = DatePart("m", Date)
checkMonthNum = DatePart("m", Date + 9)
If checkMonthNum - MonthNum = 1 Then LOM = True
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.