I have a data entry form that uses a control button to process multiple "samples" using
In the form I have a Combo Box that selects a field value I would like applied to all the multiple entries. Currently only the first entry retains the combo box information.
Code:
Private Sub GenerateRecords_Click() Dim mn As Long Dim Rec As Long Rec = (Me.Text2 - Text1) + 1 For mn = 1 To CInt(Rec) DoCmd.GoToRecord , , acNewRec Me.VoucherNo = Me.AutoDate + mn Next mn End Sub
Comment