I have a continuous form that opens based on a table with an open to specific records reference. If there is one record with the reference then only one record shows, if there are two records then two records will show etc.
There are four fields on my form:
Client (already populated) and three additional fields that I wish to populate from unbound fields on the form
So I have three unbound fields and when i press confirm I want ALL of the fields for ALL of the records to be populated.
This is my code:
My problem is that it only populates the first record.
Is there a way of it populating all of the visible records?
There are four fields on my form:
Client (already populated) and three additional fields that I wish to populate from unbound fields on the form
So I have three unbound fields and when i press confirm I want ALL of the fields for ALL of the records to be populated.
This is my code:
Code:
Private Sub Command17_Click()
If IsNull(Combo9) Or IsNull(Text12) Then
MsgBox "You need to populate the Type of Appointment and the date"
Exit Sub
End If
Me.tor = Me.Combo9
Me.app_date = Me.Text12
Me.app_time = Me.Text15
End Sub
My problem is that it only populates the first record.
Is there a way of it populating all of the visible records?