I have tryed to set up a pair of syncronised comboboxes ("type" changing the options available in "size") on a form SFrml_Nonconformance.
They worked when the sub form was opened on it's own but not inside the main form (FRM_INPUT).
I think it's to do with the references so:
I changed the query to from!FRM_INPUT!SFrml_Nonconformance!Type
Private Sub Form_Current()
Me!SFrml_Nonconformance.Form!Size.Requery
End Sub
Private Sub Type_AfterUpdate()
Me!SFrml_Nonconformance.Form!Size = Null
Me!SFrml_Nonconformance.Form!Size.Requery
Me!SFrml_Nonconformance.Form!Size = Me!SFrml_Nonconformance.Form!Size.ItemData(0)
End Sub
Bee
temp, thrown in at the deep-end....again!
They worked when the sub form was opened on it's own but not inside the main form (FRM_INPUT).
I think it's to do with the references so:
I changed the query to from!FRM_INPUT!SFrml_Nonconformance!Type
Private Sub Form_Current()
Me!SFrml_Nonconformance.Form!Size.Requery
End Sub
Private Sub Type_AfterUpdate()
Me!SFrml_Nonconformance.Form!Size = Null
Me!SFrml_Nonconformance.Form!Size.Requery
Me!SFrml_Nonconformance.Form!Size = Me!SFrml_Nonconformance.Form!Size.ItemData(0)
End Sub
Bee
temp, thrown in at the deep-end....again!