title: Access loop through continuous form
body: <p>I am attempting to add a VBA to a command button to look at a text box and if not null, then look at a combo box. If that combo box is null, have a pop up message box. Since it is a continuous form and there are several records showing, it works fine on the first record, however it does not for the following records. I believe this is because I need to loop through each record. Below is the VBA code I have so far. I would greatly appreciate any help regarding the loop, as I am new to VBA.</p>
  
  <pre><code>If Not IsNull(Me.Text33.Value) Then
      If IsNull(Me.Combo24.Value) Then
          MsgBox "You must state if the rationale is aligned with procedures for each disputed subcategory."
      Else
       'do nothing
      End If
  End If
  
  DoCmd.Save
  DoCmd.Close
  </code></pre>
  
  <p>Thank  you in advance,</p>
  
  <p>Susan </p>