Minggu, 23 November 2014

[MS_AccessPros] Need help on opening FORM

 

In Access 07, I am using the following procedure to open second FORM when user enter certain text in a field of the first FORM.

Private Sub What_AfterUpdate()

    ' If user entered "Vehicle",

    If Me.What = "Vehicle" Then

        ' Open related form

        DoCmd.OpenForm "PopUpformService"

    End If

 

Question: How could I have multiple entries in Me.What=.

Example:    If Me.What = "Vehicle" or "Computer" or "Printer" Then

                  DoCmd.OpenForm "PopUpformService"


__._,_.___

Posted by: kenaf42@yahoo.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (1)

.

__,_._,___

Tidak ada komentar:

Posting Komentar