maidinhdan > 17-12-15, 11:54 PM
Trích dẫn:to: maidinhdan@gmail.com
from: nguyenvu1994@gmail.com
ongke0711 > 18-12-15, 08:43 AM
Public Function AccessVersionID() As String
Select Case SysCmd(acSysCmdAccessVer)
Case 7: AccessVersionID = "95"
Case 8: AccessVersionID = "97"
Case 9: AccessVersionID = "2000"
Case 10: AccessVersionID = "2002"
Case 11: AccessVersionID = "2003"
Case 12: AccessVersionID = "2007"
Case 14: AccessVersionID = "2010"
Case 15: AccessVersionID = "2013"
Case Else: AccessVersionID = "Unknown"
End Select
End Function
Private Sub Form_Open(Cancel As Integer)
DoCmd.ShowToolbar "Ribbon", acToolbarNo
DoCmd.ShowToolbar "Status Bar", acToolbarNo
'Hide khung navigate panel'
DoCmd.NavigateTo ("acNavigationCategoryObjectType")
DoCmd.RunCommand (acCmdWindowHide)
End Sub
Private Sub Form_Close()
DoCmd.ShowToolbar "Ribbon", acToolbarYes
DoCmd.ShowToolbar "Status Bar", acToolbarYes
'Hien lai khung Navigate pannel'
Call DoCmd.SelectObject(acTable, , True)
End Sub
vulhu06 > 10-03-17, 10:11 AM