I am new to Access and I'm using a combo box to append fields in a report. The VBA code (see below) that I have written works for the first record, but I have to manually go to the next record and select the value from the combo box again to append that record. How do I get this to automatically go to the next record and repeat the process based on my initial selection?
Code:
Private Sub cboInvoiceNumber_Change()
Me.txtInitialInvoiceDate.Value = Me.cboInvoiceNumber.Column(2)
Me.txtInitialInvoiceNumber.Value = Me.cboInvoiceNumber.Column(1)
End Sub
Comment