Results 1 to 2 of 2
  1. #1
    Thunkd is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Oct 2017
    Posts
    1

    Setting ColumnOrder on Split Form

    I have been using vba to set the column order on a number of subforms. I've got the following code in the load form event 'Me.[First Name].ColumnOrder = 1' which works fine.

    However, I tried to do the same thing to a form where the default view is 'Split Form' and I'm getting the following error message: "You can't set the ColumnOrder property when you are in Form view or Print Preview".



    Is there a way to set the column order programmatically?

  2. #2
    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
    I suspect that this is another of the limitations that are inherent with the SplitForm view.

    Bottom line is that setting the Column Order is only available with Datasheet View Forms. Only workaround I can think of would be to use a separate Datasheet View Form, along with a Single View Form, to emulate a SplitForm. If you search here, or google, you should find some help with this, as it's been addressed heavily by the Access development community.

    Here's a site with one example to download:

    https://www.access-programmers.co.uk...d.php?t=284896

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Replies: 5
    Last Post: 01-25-2017, 06:33 AM
  2. Replies: 3
    Last Post: 11-03-2015, 11:19 PM
  3. Setting a variable of type form to an existing form
    By GeorgeJ in forum Programming
    Replies: 9
    Last Post: 12-16-2014, 01:14 PM
  4. Get split form behaviours without using a split form
    By SyntaxSocialist in forum Queries
    Replies: 2
    Last Post: 04-12-2013, 11:56 AM
  5. Replies: 5
    Last Post: 01-03-2013, 07:47 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