Below is the code I have on Form open. What I am trying to accomplish is:
If the [Engineering Distribution] Field on subform ECNDetailfrm has a name in it,
I want the AssyExcessOneThree Field on Form CancelledPartsQryForm
to say YES] If the [Engineering Distribution is Blank I want the
AssyExcessOneThree Field to be blank.
When I used the code below I am getting a
Maybe the code is at the wrong place. By the way the CancelledPartsQryForm is
a continuous form.
Any suggestions on how to accomplish what I am trying to do?
If the [Engineering Distribution] Field on subform ECNDetailfrm has a name in it,
I want the AssyExcessOneThree Field on Form CancelledPartsQryForm
to say YES] If the [Engineering Distribution is Blank I want the
AssyExcessOneThree Field to be blank.
When I used the code below I am getting a
when I try and open the form.Run-time Error 2448 you can't assign a value
to this object
Maybe the code is at the wrong place. By the way the CancelledPartsQryForm is
a continuous form.
Any suggestions on how to accomplish what I am trying to do?
Code:
Private Sub Form_Open(Cancel As Integer)
If Forms!ECNBCNVIPfrm!ECNDetailfrm![Engineering Distribution] > Blank Then
Me.AssyExcessOneThree.Value = "yes"
Else
Me.AssyExcessOneThree.Value = ""
End If
End Sub