Results 1 to 3 of 3
  1. #1
    kman42 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    40

    Any way to set box size?


    I would like to present progress bars on a report. Each row would have a box that would vary in width depending on the percent complete the corresponding project is. Any way to do this?

  2. #2
    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
    I'm sure there is but have you considered using a Bar Chart in your report?

  3. #3
    Join Date
    Apr 2011
    Posts
    18
    With a textbox named tbProgress bound to the field containing your progress as a percentage % (Give the text and the background the same color if you wish) you can simply use in the details format event:
    Code:
    Me.tbProgress.Width=Me.tbProgress*500
    Where 500 is your "full" width (100%) bar. You should probably store this as a constant in your reports module.

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

Similar Threads

  1. OLE field size?
    By Wiele in forum Programming
    Replies: 2
    Last Post: 01-19-2011, 01:22 AM
  2. With VB, how can you get the DB file size?
    By KathyL in forum Programming
    Replies: 1
    Last Post: 11-16-2010, 01:03 PM
  3. DB Size
    By kb1 in forum Import/Export Data
    Replies: 2
    Last Post: 08-26-2010, 10:17 AM
  4. Form Size
    By Rick West in forum Forms
    Replies: 1
    Last Post: 06-21-2010, 04:23 PM
  5. Database Size
    By JohnTyke in forum Access
    Replies: 4
    Last Post: 10-08-2009, 04:07 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