title: Error 3021: No Current Record when trying to edit a value in a column of a table through forms
body: <p>I'm following this tutorial to create a add/subtract button that amends the 'Qty_Avail' value of a Stock table
  <a href="https://www.youtube.com/watch?v=88erYOa8cmg" rel="nofollow noreferrer">https://www.youtube.com/watch?v=88erYOa8cmg</a></p>
  <pre><code>Private Sub cmdIN_Click()
  Dim db As DAO.Database
  Dim rst As DAO.Recordset
  Set db = CurrentDb
  
  Set rst = db.OpenRecordset(&quot;Select Qty_Avail from Stock where ID_Item =' &quot; &amp; Me.ID_Item &amp; &quot; ' &quot;)
  
  With rst
      .Edit
      !Qty_Avail = !Qty_Avail + Nz(Me.Quantity, 0)
      .Update
  End With
  Me.QOH.Requery
  Me.Quantity = &quot;'&quot;
  End Sub
  </code></pre>