Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Opening a form in datasheet view (2000)

    How come if I click the Portate button on the startup form in the attached mdb, it doesn't open the MPortate form in datasheet view while it does if I just open it directly?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Opening a form in datasheet view (2000)

    OpenForm opens a form in Form view by default, regardless of the Default View property. To open a form in datasheet view, you must supply the View argument of OpenForm:

    DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria

    The acFormDS (DS = DataSheet) will ensure that the form is opened in datasheet view.

  3. #3
    Bronze Lounger
    Join Date
    Jan 2001
    Location
    Alzano Lombardo, Italy
    Posts
    1,483
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Opening a form in datasheet view (2000)

    Thank you Hans

Posting Permissions

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