I'm doing a homework which i need to create a pizza order form. I've created the form along with the codes but i'm getting errors when debugging it. Like the one below: C:\Users\Vasquez\Documents\Visual Studio 2005\Projects\Pizza Order\Pizza Order\Form1.vb(113) : error BC30451: Name 'txtSurname' is not declared.
This is the code to it:
If ds.Tables("CustInfo").Rows.Count = 0Then'If customer telephone number not found, inform user'and move focus to customer surname input box
MsgBox("Number not found in database.")
cmdSave.Enabled = True
I wish i could put more but i'm limited to what i can post cause it long and i have other errors as well!