Results 1 to 2 of 2
  1. #1
    Bjg1986 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Apr 2013
    Posts
    3

    Resize InsideHeight of Subform from Main Form


    Hi,
    I have a subform the consists of several rows of labels. Just like a listbox, but with the ability to change the color of each label. The labels get there values from a listbox, they also become visible or invisible depending on the date selected in the main form. When the row count becomes more then 7, the subform scroll bar will turn on, so you can see more rows. The label count or row limit is set to 20.
    Here is the problem. Assuming all 20 rows are needed, the insideheight (or actual height) of the subform would be perfect, but if the number is between 7 and 20, I can't get the insideheight to resize, so that the scroll bar doesn't act as if I still had 20 rows. (hope this makes sense). The scroll bar never changes its length.

    The subform is a "Continuous Form"

    (Form_Subform1.InsideHeight = 2500) has no effect

    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,928
    Not understanding the described behavior. Don't understand why need to modify subform height. Want to provide db for analysis? Follow instructions at bottom of my post.
    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.

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

Similar Threads

  1. Update Main Form From Subform
    By burrina in forum Forms
    Replies: 7
    Last Post: 02-06-2013, 03:55 PM
  2. Replies: 2
    Last Post: 11-16-2012, 02:29 PM
  3. Replies: 6
    Last Post: 08-22-2012, 03:24 AM
  4. Replies: 3
    Last Post: 04-17-2012, 10:28 AM
  5. Controlling subform resize
    By Deutz in forum Forms
    Replies: 2
    Last Post: 10-13-2011, 07:35 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