caykamanj1966
Technical User
I have a continuous form that displays records from a query.
I have a checkbox that is set to "True" when new records are added.
Based on that, when that checkbox is True, for the records that are shown, I want to copy values from one field to the other.
I want to do this when the form is opened on the "OnCurrent" event.
I have a command button on that continuous form also, so when the form is opened, I want to automatically trigger it to click by doing the following. Please do not pay attention to the naming convention of anything, cause they all will change:
When that button is automatically clicked, I have this code behind it:
The problem with this is that it is only updating, the active record and not all the records that are shown, that have "isCheck" button checked to True.
How do I get this to update all the records that are shown on the continuous form?
I have a checkbox that is set to "True" when new records are added.
Based on that, when that checkbox is True, for the records that are shown, I want to copy values from one field to the other.
I want to do this when the form is opened on the "OnCurrent" event.
I have a command button on that continuous form also, so when the form is opened, I want to automatically trigger it to click by doing the following. Please do not pay attention to the naming convention of anything, cause they all will change:
Code:
Call Command48_Click
When that button is automatically clicked, I have this code behind it:
Code:
If Me.isCheck.value = True Then
Me.Text43.value = Me.submit_form.value
End If
The problem with this is that it is only updating, the active record and not all the records that are shown, that have "isCheck" button checked to True.
How do I get this to update all the records that are shown on the continuous form?