Visual Basic Online Course Make Sure All TextBoxes Empty

Visual Basic Online Course Learn how to Make sure all Text boxes are clear first Step by step guide Say ......... you have 10 TextBox Controls and 10 ComboBox Controls on a VB6 form and you are taking their contents into a database tables , I guess you have to make sure that all the TextBox Controls and the ComboBox Controls are not empty ... So, you can do something like this .... 'Visual Basic Online Course 'Visual Basic 6 'Make Sure all Text Boxes are Empty / Clear first Private Sub CMDSAVE_CLICK() 'The button that transfer contents to tables 'if textbox1.text And Textbox2.text and ..... etc then MsgBox "Leave No Blanks" exit sub end if 'Some Codes ............ 'Some Codes ............ rs.update 'Or however you connect End Sub Github Gist Or, you may use something Like this :- I will try here to tell the VB project that TxtBx variable represents all the TextBox Controls on a form (Form1) and Cbos variable represents ...