In the after update event for the check box, you might include an IF-then -else statement.
for the true, you could then insert some code that is similar to this
Code:
Private Sub copyrecordbutton_Click() |
On Error GoTo Err_copyrecordbutton_Click |
Dim pown As Variant |
Dim psource As Variant |
Dim pclient As Variant |
Dim ptax As Variant |
|
pown = txtcurrent1.Value |
psource = txtcurrent2.Value |
pclient = txtcurrent3.Value |
ptax = txtcurrent4.Value |
|
RunCommand acCmdRecordsGoToNew |
|
txtnew1.Value = pown |
txt2new.Value = psource |
txtnew3.Value = pclient |
txtnew4.Value = ptax |
|
|
Exit_copyrecordbutton_Click: |
Exit Sub |
|
Err_copyrecordbutton_Click: |
MsgBox Err.Description |
Resume Exit_copyrecordbutton_Click |
|
change the control names to meet you particular situation