Results 1 to 4 of 4
  1. #1
    Thomasso is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Nov 2016
    Location
    Czech Republic
    Posts
    277

    Textbox isn't shrinking, even though the option is ON

    Hello,



    I have this report:
    https://i.imgur.com/FmO20A4.png

    The textbox "InvoiceInterval" has "Can Shrink" option set to "YES". There are no other controls in vertical overlap with this text box. Nevertheless, if this control is empty, it does NOT shrink as expected, I get a blank white space instead. Like this:
    https://i.imgur.com/tRntmoS.png

    This functionality works well in my other reports, I just can't get it to work here.

    Do you have any ideas? Thanks.

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,555
    I would expect that you need something in it, for that to take effect?
    So try making it almost zero height and let it grow.
    However, if you say you have it working elsewhere, then something else is preventing it.

    Perhaps Google for reasons
    https://www.google.com/search?q=ms+a...obile&ie=UTF-8
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    Thomasso is offline Competent Performer
    Windows 10 Office 365
    Join Date
    Nov 2016
    Location
    Czech Republic
    Posts
    277
    Hmm, good thinking, shrinking it to a zero height object actually helped, because it's growing. But why it's not shrinking, that's beyond me haha.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    It stays at 0 height when field is blank?
    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. Shrinking a button with a graphic
    By Donatello in forum Access
    Replies: 0
    Last Post: 06-09-2016, 12:13 PM
  2. Replies: 1
    Last Post: 05-28-2016, 12:36 PM
  3. Use option button to make textbox not visible
    By Stephenson in forum Programming
    Replies: 4
    Last Post: 10-05-2015, 03:40 PM
  4. Shrinking subreports so they don't take up space
    By Eddy Sincere in forum Reports
    Replies: 0
    Last Post: 05-19-2015, 12:14 AM
  5. record time based on option using textbox
    By stoey in forum Programming
    Replies: 2
    Last Post: 04-14-2011, 08:43 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