D
doyle60
I use the code below (which works) to update a combo on the Main form
when I close a form related to the combo:
If IsOpen("EntryForm2") Then
Forms![Entryform2]![CategoryID].Requery
End If
I'm trying to edit it, however, to update a different combo box which
is actually on a sub of the main form.
I tried this:
If IsOpen("EntryForm2") Then
Forms![Componentsub]![ComType].Requery
End If
and this:
If IsOpen("EntryForm2") Then
[Componentsub].Form![ComType].Requery
End If
and this:
If IsOpen("EntryForm2") Then
[Componentsub].Forms![ComType].Requery
End If
and those with the first line changed from "EntryForm2" to
"Componentsub".
But none of these, and other things I tried, works. How do I do
this? Thanks,
Matt
when I close a form related to the combo:
If IsOpen("EntryForm2") Then
Forms![Entryform2]![CategoryID].Requery
End If
I'm trying to edit it, however, to update a different combo box which
is actually on a sub of the main form.
I tried this:
If IsOpen("EntryForm2") Then
Forms![Componentsub]![ComType].Requery
End If
and this:
If IsOpen("EntryForm2") Then
[Componentsub].Form![ComType].Requery
End If
and this:
If IsOpen("EntryForm2") Then
[Componentsub].Forms![ComType].Requery
End If
and those with the first line changed from "EntryForm2" to
"Componentsub".
But none of these, and other things I tried, works. How do I do
this? Thanks,
Matt