Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime Error 30014

Status
Not open for further replies.

primagic

IS-IT--Management
Jul 24, 2008
476
GB
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)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top