Results 1 to 4 of 4

Thread: POP UP message

  1. #1
    Join Date
    Sep 2002

    Unanswered: POP UP message

    I have a text field that I would like to make more secure – What I want to do is once someone tries to fill out that field, a massage pops up and says “Are you sure you want to change this title?” and then give them a Yes or No option.

    Any help is greatly appreciated.

  2. #2
    Join Date
    Mar 2004
    Greenville, SC

    Lightbulb Try...

    Put a message box in your Event After Update. That way you can verify the data. If they hit yes it takes them to the next control. If no, you can send them back to the same text field.
    Gotta to do some code

  3. #3
    Join Date
    Sep 2003
    The extremely Royal borough of Kensington, London
    Private Const vbYes = 6
    Private Const vbNo = 7

    Private Sub Command0_Click()
    Select Case MsgBox("Are you sure?", vbYesNo)
    Case vbYes:
    MsgBox "Yes"
    Case vbNo:
    MsgBox "No"
    End Select
    End Sub
    Bessie Braddock: Winston, you are drunk!
    Churchill: And Madam, you are ugly. And tomorrow, I'll be sober, and you will still be ugly.

  4. #4
    Join Date
    Dec 2002
    Préverenges, Switzerland
    just a question...
    why declare vbyes/vbno privately?

    these guys exist already as intrinsic constants, the only "advantage" of the private declaration that i can imagine, is that it gives you the chance to get the declaration wrong.

    currently using SS 2008R2

Posting Permissions

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