Results 1 to 2 of 2

Thread: Message Box

  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Posts
    113
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Message Box

    I would like a message box to show dependent on the value of info entered into a field. The values are entered from a combo box. I assume I will need an on exit event procedure to look at the value and determine if the message box is required. Can somebody please advise on the code required.
    Thanks

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    The Netherlands
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Message Box

    Put the code on the on click event of the combobox, then it is executed when the user makes a selection in the combobox.
    The code looks something like this:

    IF Me![cboMyComboBox] = MyValue THEN
    MsgBox "My Message Text"
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •