S
Slez via AccessMonster.com
I have a multi select list box, lstCRSelect, that exists on a subform,
CtlEstimateSelectorCR (please note that is the subform control name...the
actual form being used is frmEstimateSelectorCR), of the main form, which is
frmMainScreen. I'm trying to requery the records in lstCRSelect so that it
always remains current. I have done so in a very similar application based
on help from this forum, but I can't seem to get it to work this time around.
I have the following code in the On Current event of frmMainScreen:
Private Sub Form_Current()
Forms!frmMainScreen!CtlEstimateSelectorCR.Form!lstCRSelect.Requery
End Sub
The previous application I mentioned had one additional nested form which was
lidted in the code, so it seems to me the code listed here should be right.
I also have the Master/Child fields listed properly...at least I think I do.
Does anyone have any ideas on why this might not be working?
Any feedback is appreciated!
Slez
CtlEstimateSelectorCR (please note that is the subform control name...the
actual form being used is frmEstimateSelectorCR), of the main form, which is
frmMainScreen. I'm trying to requery the records in lstCRSelect so that it
always remains current. I have done so in a very similar application based
on help from this forum, but I can't seem to get it to work this time around.
I have the following code in the On Current event of frmMainScreen:
Private Sub Form_Current()
Forms!frmMainScreen!CtlEstimateSelectorCR.Form!lstCRSelect.Requery
End Sub
The previous application I mentioned had one additional nested form which was
lidted in the code, so it seems to me the code listed here should be right.
I also have the Master/Child fields listed properly...at least I think I do.
Does anyone have any ideas on why this might not be working?
Any feedback is appreciated!
Slez