Results 1 to 3 of 3
  1. #1
    StanPrice is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2014
    Posts
    1

    Rearrange column order in search form (opening as acFormDS)

    I'm opening a search form using DoCmd.OpenForm stDocName, acFormDS, , stLinkCriteria for user filtering purposes. I added a column which it now appears as the last column - I need it to be the 4th WHEN THE FORM OPENS. I can move after it opens, but it won't default there. Tried rebuilding the query and the form, but it still opens with this column at end of form - how can it be placed where I want it?

  2. #2
    burrina's Avatar
    burrina is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Oct 2012
    Location
    Freeport,Texas
    Posts
    1,383
    I'm assuming this is a combo box using a query for it's record source. Just move the field you want to be in the 4th column to the appropriate number in your query. Remembering that the first field counts as 0.

    HTH

  3. #3
    hapm is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    197
    AFAIK the order of the colums in datasheet view is defined by the activation order of the controls in the form. Simply open the activation order list for controls in design view and move your control to the place you want it to have. If that doesn't work, move it in DS view, resize the column a bit and hit the save button while still in DS view and reopen to see if that worked.

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

Similar Threads

  1. Why is my form opening in alphabetical order?
    By Access_Novice in forum Forms
    Replies: 6
    Last Post: 12-10-2013, 05:22 PM
  2. Search form fields in alpha order
    By snowboarder234 in forum Forms
    Replies: 1
    Last Post: 11-02-2012, 12:03 PM
  3. Replies: 7
    Last Post: 11-16-2011, 01:22 PM
  4. Replies: 7
    Last Post: 02-11-2011, 08:00 AM
  5. Rearrange name in Table
    By Brian62 in forum Access
    Replies: 5
    Last Post: 09-15-2009, 03:31 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