S
Salisha Khan
i have a form and subform. I have a control on my main form where a value
will be filled in. I have the same control on a subform and i want that
value from the main form to populate the control on the subform.
On the AfterUpdate event for the control on the main form, I have
written this code. The control on the main form(frmExpense) is named
cboVinId and on the subform(frmExpenseSubform), it is named VIN. My
question is, why isn't this working? Any help would be much appreciated!
Thanks
Private Sub cboVinID_AfterUpdate()
Forms![frmExpense]![frmExpenseSubform]![VIN] = Me.cboVinID
End Sub
will be filled in. I have the same control on a subform and i want that
value from the main form to populate the control on the subform.
On the AfterUpdate event for the control on the main form, I have
written this code. The control on the main form(frmExpense) is named
cboVinId and on the subform(frmExpenseSubform), it is named VIN. My
question is, why isn't this working? Any help would be much appreciated!
Thanks
Private Sub cboVinID_AfterUpdate()
Forms![frmExpense]![frmExpenseSubform]![VIN] = Me.cboVinID
End Sub