Results 1 to 2 of 2
  1. #1
    akhlaq768 is offline Novice
    Windows 2K Access 2002
    Join Date
    Feb 2012
    Posts
    14

    POP UP Message - validation test

    Is it possible to check if the fields and drop down boxes are all complete before the records are submitted from the form?



    I am using a COMMAND button on my form that will save the entries from the form into a database, but i want all the entries to be completed before it is submitted, so i want a pop up message to notify the user to complete all entries
    Attached Files Attached Files

  2. #2
    akhlaq768 is offline Novice
    Windows 2K Access 2002
    Join Date
    Feb 2012
    Posts
    14
    ANSWER -

    Code:
    Private Sub btnNewOrder_Click()
    Dim intanswer As Integer
    If isNull(Forms!frmnavigation!cmbDistributionOrder) Then
        intanswer = _
            MsgBox("No Distribution selected, please select from list", vbInformation + vbOKOnly, "Select Distribution")
    
            Else
        
        Forms!frmnavigation.Visible = False
        DoCmd.Minimize
    DoCmd.openForm ("tblOrder"), acNormal, , , acFormAdd
    End If
    End Sub

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Test
    By goatamus in forum Access
    Replies: 1
    Last Post: 02-02-2012, 02:44 PM
  2. test box prompt
    By neil123williams in forum Reports
    Replies: 13
    Last Post: 01-10-2012, 05:48 PM
  3. Custom validation error message
    By snorkyller in forum Access
    Replies: 2
    Last Post: 03-21-2011, 03:40 PM
  4. Keying in Test answers to Access DB from Written Test
    By CityOfKalamazoo in forum Access
    Replies: 3
    Last Post: 03-01-2010, 08:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums