|
代码如下:
Private Sub Command0_Click()
On Error GoTo Err_Command0_Click
Dim stDocName As String
'stDocName = "密码修改"
DoCmd.OpenForm "密码修改", acNormal
Exit_Command0_Click:
Exit Sub
Err_Command0_Click:
MsgBox Err.Description
Resume Exit_Command0_Click
End Sub
Private Sub Command1_Click()
On Error GoTo Err_Command1_Click
Dim stDocName As String
'stDocName = "用户管理"
DoCmd.OpenForm "用户管理", acNormal
Exit_Command1_Click:
Exit Sub
Err_Command1_Click:
MsgBox Err.Description
Resume Exit_Command1_Click
End Sub
Private Sub Command2_Click()
On Error GoTo Err_Command2_Click
Dim stDocName As String
'stDocName = "用户权限管理"
DoCmd.OpenForm "用户权限管理", acNormal
Exit_Command2_Click:
Exit Sub
Err_Command2_Click:
MsgBox Err.Description
Resume Exit_Command2_Click
End Sub |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|