Private Sub Cmd确定_Click()
Dim RecCount, RecNo, RecRate
On Error GoTo Err_Cmd确定_Click
If StringEnDeCodecn([Txt密码], 75) = DLookup("[密码]", "用户密码表", "[用户名]=" & "'" & Combo用户名 & "'") _
And Me.Combo用户名 <> "" Then
Me.Visible = False
Dim stDocName As String
Dim stLinkCriteria As String
If Forms![用户登陆]![Combo用户名] = DLookup("[用户名]", "用户密码表", "[权限] = '窗体'") Then
stDocName = "窗体"
Else
stDocName = "窗体"