cuongvan09 > 31-03-12, 10:42 PM
gialilama > 01-04-12, 09:19 AM
Noname > 01-04-12, 01:41 PM
' Cho âÒn hiêòn form Form
'Write by Noname
'Site thuthuataccess.com
Sub setVisibleForm(myForm As String, Visible As Boolean)
If visible Then
If Forms(myForm).CurrentView = 0 Then
DoCmd.OpenForm myForm
End If
End If
Forms(myForm).Visible = Visible
End Sub
Private Sub Form_Load()
setVisibleForm "FormCha", False ' thay chu FormCha bang form truoc do cua ban
End Sub
Private Sub Form_Unload(Cancel As Integer)
setVisibleForm "FormCha", True
End Sub
Xuân Thanh > 06-04-12, 06:05 PM
Private Sub cmdDong_Click()
DoCmd.OpenForm("frmCon", acNormal)
Docmd.Close
End Sub