Results 1 to 4 of 4
  1. #1
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727

    Split form auto resize rows and columns


    I have a split form with the datasheet on the bottom and noticed that the rows and columns are saved if the user changes its size. How do I save a default size so that when this split form is opened the next time, it will go back to where I had it? Either that or lock the split form's rows and columns so that the user cannot resize anything. I already took out the splitter bar which was great to get rid of that. From what I heard its not possible to lock the rows and columns though so I guess just the default sizing of it on when ever someone opens this split form. Any ideas?

  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
    Not sure if this will work for the Datasheet part of a Split Form, but it works for a regular Datasheet View Form, per Access Help:

    Code:
    Private Sub Form_Load()
      Me.Field1.ColumnWidth = -1
      Me.Field2.ColumnWidth = -1
    End Sub

    You'd have to do it for each column, of course. Out of curiosity, why not let users save their preferences? If this is a multi-user environment, it should be split into a Front End/Back End configuration, with each user having a copy of the Front End (with everything except the Tables in it) on their hard drive and the Tables on a shared drive in the Back End. Any changes made to the display of a Form would only effect the Form on that user's machine.

    Linq ;0)>

  3. #3
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727
    It is a multi user environment and I do have the back end and front end set up. How ever different users are on rotation to these computers with the front end file so I would like it to be uniformed. Thanks I'll try it out and let you know how it works.

  4. #4
    data808 is offline Noob
    Windows 7 32bit Access 2007
    Join Date
    Aug 2012
    Posts
    727
    I decided to go with a report for now and it seems to work out great because I can set the column width and row heights in the report's design view and it will be static for the user even though they touch the split form's columns the reports stay the same. So for now, I won't need this code but it will be good to have in case I need it in the future. Thanks so much for the reply and helping out. I appreciate it.

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

Similar Threads

  1. Hiding columns in split form.
    By cementblocks in forum Forms
    Replies: 5
    Last Post: 03-11-2014, 07:16 AM
  2. Replies: 4
    Last Post: 02-25-2014, 01:09 AM
  3. Replies: 12
    Last Post: 07-31-2013, 01:29 PM
  4. Inactive Cells (rows and columns) in Split Form table
    By SyntaxSocialist in forum Forms
    Replies: 3
    Last Post: 04-17-2013, 03:18 PM
  5. Split Form - Auto Populate
    By CCAccess2010 in forum Forms
    Replies: 2
    Last Post: 10-04-2010, 06:33 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