C
campbellbrian2001
I'm a VB.net newbie looking to migrate this password protected form
opening event into vb.net. any help would be appreciated. This is VB
running behind MS-Access. Thanks! Brian
Private Sub TranxFormOpenButton_Click()
If Forms!frm_password!PassBox = "Christy" Then
DoCmd.OpenForm "TranxForm"
DoCmd.Close acForm, "frm_password"
Else
MsgBox "Incorrect Password!", vbExclamation
DoCmd.Close acForm, "frm_password"
End If
End Sub
Private Sub Form_Load()
DoCmd.MoveSize 2000, 2400, 8000, 3000
End Sub
opening event into vb.net. any help would be appreciated. This is VB
running behind MS-Access. Thanks! Brian
Private Sub TranxFormOpenButton_Click()
If Forms!frm_password!PassBox = "Christy" Then
DoCmd.OpenForm "TranxForm"
DoCmd.Close acForm, "frm_password"
Else
MsgBox "Incorrect Password!", vbExclamation
DoCmd.Close acForm, "frm_password"
End If
End Sub
Private Sub Form_Load()
DoCmd.MoveSize 2000, 2400, 8000, 3000
End Sub