Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    13

    DataMode

    Can the mode in which a form is loaded be used in an if statement.



    For instance:

    DoCmd.OpenForm .................,acformEdit.

    Can the acFormEdit value be used in an If statement.

    If (acFormEdit = true) then
    Perform some action

    Else

    Some other action

    Thanks

  2. #2
    StepUP is offline Advanced Beginner
    Windows 7 64bit Access 2000
    Join Date
    Dec 2005
    Posts
    99
    You can do it this way:

    If Me.AllowEdits Then
    DoSomething
    Else
    DoSomethingElse
    End If

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

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