I have a form where the user specifies the reason for a transmittal being sent through a combo box with options, then on that form there is a datasheet subform with line items where you can set the reason sent for each item (the combo box options are the same).
I'm trying to make it where when the user selects the reason sent on the main form it will update the default value of the control on the subform to that same value. This is the code I'm using in the AfterUpdate of the combo box on the main form:
and when it updates it gives me "#Name?" in the subform box.Code:Me!sfrmTransDesc.Form!cboReasonSent.DefaultValue = Me.cboReasonSent.value