G
Guest
Hello,
After much trying I have manage to set the following code:
Private Sub ORDER_TYPE_LostFocus()
If [ORDER TYPE] = "SPARES/SERVICE" Then
Forms![ORDERS FORM]![ORDER DETAILS].SourceObject = "ORDER DETAILS
EXTENDED QUERY subform"
End If
End Sub
It was suppose to change the SourceObjet of the subform "Order Details" from
"ORDERS FORM" to a specific subform if Order Type "Spares/Service" is
selected.
I have managed that, but it changes it for all records and it stays like
that. How can I do it to work only for individual records?
Thank you in advance for your help,
rosana
After much trying I have manage to set the following code:
Private Sub ORDER_TYPE_LostFocus()
If [ORDER TYPE] = "SPARES/SERVICE" Then
Forms![ORDERS FORM]![ORDER DETAILS].SourceObject = "ORDER DETAILS
EXTENDED QUERY subform"
End If
End Sub
It was suppose to change the SourceObjet of the subform "Order Details" from
"ORDERS FORM" to a specific subform if Order Type "Spares/Service" is
selected.
I have managed that, but it changes it for all records and it stays like
that. How can I do it to work only for individual records?
Thank you in advance for your help,
rosana