WERNER SLABBERT
Board Regular
- Joined
- Mar 3, 2009
- Messages
- 107
Hi My VB Errors out here
*Compile error
Variable not defined*
*Compile error
Variable not defined*
Code:
Private Sub cmdNew_Click()
Dim answer As Variant
blnNew = True
:crash: txtContactPerson.Text = "":crash:
txtCustomerNumber.Text = ""
txtCustomerPhone.Text = ""
txtCustomerLandline.Text = ""
txtCustomerEMail.Text = ""
txtCustomerAdress1.Text = ""
txtCustomerAdress2.Text = ""
txtCustomerAdress3.Text = ""
txtCustomerAdress4.Text = ""
cmdClose.Caption = "Cancel"
cmdNew.Enabled = False
cmdDelete.Enabled = False
End Sub