N
Nick Mirro
Hello. I need a listbox in a subform to refresh when new data becomes
available. (by combo in same subform). If I force the listbox to requery
using "form current" or the combo's "afterupdate," the listbox becomes
blank, along with all other controls in the subform.
The listbox is populated using this sql:
SELECT qryAllReasons.Reason, qryAllReasons.ContactID,
qryAllReasons.ContactReasonID
FROM qryAllReasons
WHERE
(((qryAllReasons.ContactID)=[Forms]![frmDataExchange]![sbfrmContactInfo].[Fo
rm]![sbfrmContactReason].[Form]![ContactID]));
I'd greatly appreciate help understanding what might be causing the subform
data to disappear and how I can make this work.
Nick
Dallas, TX
available. (by combo in same subform). If I force the listbox to requery
using "form current" or the combo's "afterupdate," the listbox becomes
blank, along with all other controls in the subform.
The listbox is populated using this sql:
SELECT qryAllReasons.Reason, qryAllReasons.ContactID,
qryAllReasons.ContactReasonID
FROM qryAllReasons
WHERE
(((qryAllReasons.ContactID)=[Forms]![frmDataExchange]![sbfrmContactInfo].[Fo
rm]![sbfrmContactReason].[Form]![ContactID]));
I'd greatly appreciate help understanding what might be causing the subform
data to disappear and how I can make this work.
Nick
Dallas, TX