Report Section Line Method Height Scaling

T

Tom

I discovered the Line method for report sections today. Probably old
news to most of you, but it was a great discovery for me trying to
duplicate a Department of Defense standard form that must look exactly
like the original paper copy or the customer won't be happy.

The question: How do I make vertical lines grow with the detail
section? I've read through the other posts covering this topic, but I
don't understand the "Step" notation offered, nor does the "B"
notation I've run across in other posts seem to match up with my
Access 2003 help notes or fit with the concept of a vertical line (vs.
a rectangle for instance).

I can hard code a value in twips that's larger than the tallest detail
record I expect to see, but that seems hokey to me.

What's the secret?
 
M

Marshall Barton

Tom said:
I discovered the Line method for report sections today. Probably old
news to most of you, but it was a great discovery for me trying to
duplicate a Department of Defense standard form that must look exactly
like the original paper copy or the customer won't be happy.

The question: How do I make vertical lines grow with the detail
section? I've read through the other posts covering this topic, but I
don't understand the "Step" notation offered, nor does the "B"
notation I've run across in other posts seem to match up with my
Access 2003 help notes or fit with the concept of a vertical line (vs.
a rectangle for instance).

I can hard code a value in twips that's larger than the tallest detail
record I expect to see, but that seems hokey to me.

What's the secret?


Well, I guess it's not much of a secret if you figured it
out that quickly ;-)

A more formal way is to use the Print event:
Me.Line (x,0)-(x,Me.Section(0).Height)
but the secret way is simpler.

Didn't you see my post of the A97 Help topic for the Line
method? The Step option was explained there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top