A
Angi
I have a lookup form that displays information based on what is
selected from an unbound combo box (cboLU).
I've added a cmd button (cmdRemove) to the bottom of the form to
delete (make inactive) the current record. It takes the name out of
cboLU, but it doesn't requery the main information. I end up with a
blank in the combo box, but the form stays filled in.
My current code is:
Me.Inactive = True
Me.Dirty = False
Me.cboLU.Requery
Me.Requery
My form source is:
SELECT tblStudent.*, tblStudent.SdtID FROM tblStudent WHERE
(((tblStudent.SdtID)=[Forms]![frmStudentLU]![cboLU]));
I've tried using Me.SdtID.Requery, but that didn't work either. Any
help would be appreciated. TIA
selected from an unbound combo box (cboLU).
I've added a cmd button (cmdRemove) to the bottom of the form to
delete (make inactive) the current record. It takes the name out of
cboLU, but it doesn't requery the main information. I end up with a
blank in the combo box, but the form stays filled in.
My current code is:
Me.Inactive = True
Me.Dirty = False
Me.cboLU.Requery
Me.Requery
My form source is:
SELECT tblStudent.*, tblStudent.SdtID FROM tblStudent WHERE
(((tblStudent.SdtID)=[Forms]![frmStudentLU]![cboLU]));
I've tried using Me.SdtID.Requery, but that didn't work either. Any
help would be appreciated. TIA