vertical lines in access 2007

Posted on 2010-09-16
Medium Priority
Last Modified: 2013-11-28
Hey guys, would you by any chance know how to put vertical lines in an access report and have it grow depending on the height of a particular row?

Question by:ummjay
LVL 75
ID: 33695660
IF ... it can be done, you will find it here:


Check out the free report utilities ...

LVL 12

Accepted Solution

telyni19 earned 1000 total points
ID: 33697068
It might depend on what sort of row you're trying to base the line on, but in general, it shouldn't be hard to control a line's height. If you create a line on the report, called Line0, then set the line's height using something like this:

Line0.Height = Text1.Height + .5

Where Text1 would be the name of a particular control, like a textbox. You'd then have to put that line in an event that would trigger when the height is changed, depending on the control and whether anything else you're doing also could change the height. For instance, if you're automatically resizing things when the report is resized, you'd want it in the report's Resize event. You might need to adjust the Top parameter too if it needs to shift vertically as the result of things above it shifting.

So I think to give any more specific advice, you'll need to be more specific about what will affect the line's height, I think.
LVL 10

Assisted Solution

by:Tony Hungate
Tony Hungate earned 1000 total points
ID: 33697504
It can be done.  

Check these links:
http://Q_23298015.html - This one is much more complex than what you are looking for, but gives you an idea of how to go about it.

We will have to see if harfang sees your question.  He has experience with this sort of thing.



Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

If Skype for Business came with your office 2016 or office 365 installation, you may find that it's almost impossible to either disable or remove it. The application will often launch with each start of Windows, even when explicitly configured not t…
This tutorial is about creating a new Microsoft Online User Profile account along with how to transfer your files and settings. You may be faced with this situation if your existing user profile has become corrupted.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question