• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

Trying to make message appear if combobox value deleted

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
SteveL13
Asked:
SteveL13
  • 2
1 Solution
 
peter57rCommented:
Try...
If nz(Me.cboSelectBudget,"")="" Then
0
 
peter57rCommented:
I should have said... what is the datatype of the field bound to your combobox?
0
 
SteveL13Author Commented:
Number
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now