MTNQ > 25-10-14, 09:15 AM
strActiveObjName = Me.Name
strActiveObjName = ""
Function RunAutoKeys(strKey As String)
Select Case strKey
Case "F1"
Select Case strActiveObjName
Case "frmHuongDan"
MsgBox "Ban da bam F1 tren form frmHuongDan"
Case "frmMain"
MsgBox "Ban da bam F1 tren form frmMain"
Case "Report1"
MsgBox "Ban da bam F1 tren Report Report1"
Case "Report2"
MsgBox "Ban da bam F1 tren Report Report2"
Case Else
End Select
Case "F2"
'... Case cho cac phim tat khac
End Select
End Function