Results 1 to 5 of 5
  1. #1
    hassan.tajdar is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2017
    Posts
    6

    How to draw a vertical line on a sub form

    Hi All!



    I have designed my report where in order to have a rectangular border around the details section because I inserted the details section as a sub-report into the main report. (See attached)
    Now, inside the details section of the sub-report I need to make the vertical lines drawn in orange color and the length of the lines should run down to the bottom line of the rectangular box. That means the length of the lines needs to vary so that they extend and reduce as per the requirement.

    Can anyone help?
    Attached Thumbnails Attached Thumbnails Access help.jpg  

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    grab the line control, place it on the form.
    make it visible or not if needed.
    or
    use a text box with a border color.

  3. #3
    hassan.tajdar is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Apr 2017
    Posts
    6
    Quote Originally Posted by ranman256 View Post
    grab the line control, place it on the form.
    make it visible or not if needed.
    or
    use a text box with a border color.
    Im sorry I accidentally wrote "form" where its actually a report. If I use the line control and make a line in the details section of the report then it doesnt extend all the way till the bottom line of the rectangular border. The report is on several pages so the height of the border varies...but the line ends as soon as the data in the details section is finished.

  4. #4
    jwhite is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Dec 2012
    Location
    North Carolina
    Posts
    349

  5. #5
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 10 Access 2013 32bit
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    Quote Originally Posted by jwhite View Post
    Great code. I use it all the time to create a report with lines like what hassan.tajdar wants.

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

Similar Threads

  1. Vertical Line grows when when fields grow
    By trident in forum Reports
    Replies: 4
    Last Post: 04-28-2016, 02:25 AM
  2. Vertical line not connecting
    By trident in forum Reports
    Replies: 1
    Last Post: 04-13-2016, 06:32 PM
  3. Replies: 10
    Last Post: 06-10-2014, 09:03 AM
  4. Replies: 6
    Last Post: 08-05-2013, 06:09 PM
  5. Can I draw Binary Tree in Forms or excel?
    By selvakumar.arc in forum Access
    Replies: 1
    Last Post: 05-30-2013, 11:04 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