Results 1 to 6 of 6
  1. #1
    SpaceEd is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Posts
    17

    Split Form Orientation


    Hi,

    I have a split form with several fields. Unfortunately, the orientation of the split form (spreadsheet portion) constantly reverses the orientation randomly when I navigate away and back to it.

    I can obviously change this myself by going to the property sheet and resetting the Orientation back to "Left-to-Right." However, I would navigate away and back again, and it would randomly switch back to "Right-to-Left." I tried fixing this with VBA using the following code:


    Private Sub Form_Load()
    Form.Orientation = 0
    End Sub

    but then I get a "Run-time error '2136' To set this property, open the form or report in Design view."

    Does anyone know what is causing the Orientation to randomly switch and reverse the column order? Or does anyone know how to permanently fix the split form in the "Left-to-Right" ???

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    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.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Haven't looked at June7's link, but whenever things that are truly strange, odd or curious pop up, in Access, and this is certainly one-such occurrence, one obvious thing to consider is corruption! I suspect that you're going to have to re-create your Form to get rid of this phenomenon.

    Hopefully you have a backup of you db file that pre-dates your problem!

    Linq ;0)>

  4. #4
    SpaceEd is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Oct 2011
    Posts
    17
    Thanks for the responses.

    June7 - Thank you for the suggestion. I actually did see that link and was the last person to post to it several months ago. Unfortunately, the users of my database have been experiencing the issue since then.

    Missinglinq - While I really hope you are wrong, I suspect that could be the case.

    That said, has anyone else been experiencing this problem?

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Oh, now see your user name on that thread.

    Recreating the form shouldn't be so bad. Create a new blank form and copy/paste all the controls from the old one.
    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.

  6. #6
    Artist.Anon is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2012
    Posts
    22
    You can also try save-as, this fixes a lot of form corruptions.

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

Similar Threads

  1. Split Form Orientation...Coding?
    By tylerg11 in forum Forms
    Replies: 3
    Last Post: 12-21-2011, 02:25 PM
  2. Replies: 1
    Last Post: 12-12-2011, 01:58 PM
  3. Landscape Orientation-WebBrowser Control
    By mwolfod in forum Forms
    Replies: 0
    Last Post: 04-11-2011, 08:32 AM
  4. Changing information orientation
    By gumberculies in forum Reports
    Replies: 1
    Last Post: 06-10-2010, 07:48 PM
  5. Email with proper page orientation of Report
    By Robert M in forum Programming
    Replies: 1
    Last Post: 08-17-2009, 10:28 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