?
Solved

Trying to make message appear if combobox value deleted

Posted on 2013-06-18
3
Medium Priority
?
182 Views
Last Modified: 2013-06-18
Here's my afterupdate code.  It isn't working.  No messagebox appears.

If IsNull(Me.cboSelectBudget) Then
    MsgBox "You have deleted an associated budget.  Be sure to enter a construction budget figure."
End If
0
Comment
Question by:SteveL13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 2000 total points
ID: 39256949
Try...
If nz(Me.cboSelectBudget,"")="" Then
0
 
LVL 77

Expert Comment

by:peter57r
ID: 39256955
I should have said... what is the datatype of the field bound to your combobox?
0
 

Author Comment

by:SteveL13
ID: 39256961
Number
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question