I get the following error when from a form after I update a record. I know its because the update makes the record not meet the conditions of the recordset of the form. But how do I work around it. The recordsource for the form is below:
Code:
SELECT dbo.Leads.*, LeadID AS EXPR1, Adviser AS EXPR2, OutcomeID AS EXPR3
FROM dbo.Leads
WHERE (OutcomeID = 'Pending') AND (Adviser IS NULL) OR
(OutcomeID = 'No Answer') AND (Adviser IS NULL) OR
(OutcomeID = 'Engaged') AND (Adviser IS NULL) OR
(OutcomeID = 'Future Business') AND (Adviser IS NULL) OR
(OutcomeID = 'Waiting on Base Rate Moving') AND (Adviser IS NULL) OR
(OutcomeID = 'Scheduled Call Unsuccessful') AND (Adviser = NULL)