How to hide/unhide textboxes and combo boxes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bay0519
    New Member
    • Jun 2009
    • 25

    #1

    How to hide/unhide textboxes and combo boxes

    Hi,

    I really need someone help..
    I'm using access 2003 by the way.
    I have a form where users enter their time card. right now I have 15 lines (including textboxes and combo boxes in each line). When users load the form I want to show just 7 lines and if users need to enter more time, then they just need to click add more lines button to show the rest of 8 lines. I can just do this with hide and unhide method. But the problem is when I hide the rest 8 lines, it gave me blank spaces. How can I get rid of the blank spaces since combo boxes don't have can grow or can shrink method? Can someone give me a better idea on how to do this project?

    Thank you so much...
  • TheSmileyCoder
    Recognized Expert Moderator Top Contributor
    • Dec 2009
    • 2322

    #2
    Could you try posting/attaching a screenshot of your form in both form view and design view?

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32669

      #3
      You can change the Height and/or Width properties of various objects (Forms / Reports / Controls / etc) while the object is open from 2003 onwards.

      I have no idea what your comment about ComboBoxes means, but you can also change relevant properties there too (including .ListRows).

      Comment

      Working...