Results 1 to 3 of 3
  1. #1
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919

    Change width of subform in code

    I have a situation wherein I want to change the display width of a sub-form. The sub-form's name is "RegistryNamesOnlyFiltered". When I execute the code Me.RegistryNamesOnlyFiltered.Width = 4.6, the sub-form is reduced to a single vertical line on the parent form. When I look at the property sheet for the sub-form, it's title is shown as "Subform/Subreport: RegistryNamesOnlyFiltered". What's the appropriate statement expression to change the width of the subform's display?
    Thanks,
    Bill

  2. #2
    GraeagleBill's Avatar
    GraeagleBill is offline Experienced Old Geezer
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1,919
    Oops! Wrong units. 4.6 inches = 6624 kips

  3. #3
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It is TWIPS and there are approximatelyn 1440 Twips to the inch and 567 Twips to the centimeter. Actually Google knows about Twips.

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

Similar Threads

  1. Write Code to Navigate from Subform to Subform
    By Swilliams987 in forum Programming
    Replies: 22
    Last Post: 02-04-2011, 11:30 AM
  2. Code for change PW frm not working(ish)
    By Desstro in forum Programming
    Replies: 4
    Last Post: 12-02-2010, 02:50 PM
  3. how to change report code page
    By broken_ice in forum Reports
    Replies: 1
    Last Post: 06-27-2010, 02:23 AM
  4. The section width is greater than the page width?
    By Gary_Marshall in forum Reports
    Replies: 2
    Last Post: 11-13-2009, 01:54 PM
  5. Replies: 4
    Last Post: 05-12-2009, 01:50 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