Results 1 to 2 of 2
  1. #1
    tmartin is offline Advanced Beginner
    Windows 8 Access 2013
    Join Date
    Mar 2015
    Posts
    37

    Question How Do I change the Defaultview of a form?

    I am trying to change the default View from Split to Single Form.



    This DoCmd does open up the form view however I want to change the default view. In the docs they say use OpenArgs as Variant datatype.
    Can someone show me an example how to change the default view to Single?

    DoCmd.OpenForm "EmployeesForm", acNormal, "By Name", , acFormEdit


    DoCmd.OpenForm "EmployeesForm", acNormal, "By Name", , acFormEdit , ??????

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    This requires changing the DefaultView property. This is a design modification. AFAIK, the form must be in Design View to accomplish.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 2
    Last Post: 10-03-2014, 10:07 AM
  2. Replies: 1
    Last Post: 10-04-2013, 02:52 PM
  3. Replies: 3
    Last Post: 07-20-2012, 11:41 AM
  4. Change password form
    By funkygoorilla in forum Forms
    Replies: 8
    Last Post: 01-17-2012, 08:37 PM
  5. Track change in a form
    By jmk909er in forum Forms
    Replies: 5
    Last Post: 10-19-2010, 04:05 PM

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