If Me.BtnEditRecordHotelID.Enabled = True Then
ClsFrmMain.FormatMessage(3, "HotelID Update : ", "", "HotelID Update")
Else
ClsFrmMain.FormatMessage(3, "HotelID Update : ", "", "HotelID Update")
Exit Sub
End If
ClsFrmMain.FormatMessage(3, "HotelID Update : ", "", "HotelID Update")
If Me.BtnEditRecordHotelID.Enabled = False Then Exit Sub
Regards
Open in new window