I have a query that appends a row of data based on a complex math problem. This row of data needs to be duplicated on the same table based on a number that is in textbox 1. The reason for duplicating is this is part of a recipe and the ingredient is mixed in stages.
Is it possible to re-write the code I'm using to run the query as many times as needed?
Code:
Private Sub Command513_Click()
DoCmd.SetWarnings (WarningsOff)
DoCmd.OpenQuery "qry_BP40_Gummy_We04_Pt12"
DoCmd.SetWarnings (WarningsOn)
DoCmd.RefreshRecord
End Sub