G
Guest
Hi - I have a combo box on a form with the following SQL
SELECT tblAdmin.ID, tblAdmin!FirstName & " " & tblAdmin!LastName AS Expr1
FROM tblAdmin WHERE (((tblAdmin.Expire)=No)) ORDER BY tblAdmin.LastName;
When I open the form in Edit Mode, I would like to remove the WHERE clause
from the Combo Box. I only need the WHERE when the form is in Add Mode.
I am not sure how to accomplish this.
Thanks
SELECT tblAdmin.ID, tblAdmin!FirstName & " " & tblAdmin!LastName AS Expr1
FROM tblAdmin WHERE (((tblAdmin.Expire)=No)) ORDER BY tblAdmin.LastName;
When I open the form in Edit Mode, I would like to remove the WHERE clause
from the Combo Box. I only need the WHERE when the form is in Add Mode.
I am not sure how to accomplish this.
Thanks