"Word-like" table in Access Reports ?

L

Leif

I would like to create a "word-like" table in an Access word. That includes
vertical and horizontal lines. Is there a way? Also, I need the text inside
the table to be able to grow. I tried using the graphic lines between the
text fields. The horizontal lines are fine, since the growing text fields
moves those lines down. However, the vertical lines do not grow.

I tried using a rectangle, thinking that perhaps as the text fields would
"push-down" the lines the rectangle. However, that did not happen.

Has anyone faced this problem?

Thanks,
Leif
 
M

Marshall Barton

Leif said:
I would like to create a "word-like" table in an Access word. That includes
vertical and horizontal lines. Is there a way? Also, I need the text inside
the table to be able to grow. I tried using the graphic lines between the
text fields. The horizontal lines are fine, since the growing text fields
moves those lines down. However, the vertical lines do not grow.

I tried using a rectangle, thinking that perhaps as the text fields would
"push-down" the lines the rectangle. However, that did not happen.


Use the Line method in eother the Format or Print event of
the section containing the text boxes:

Me.Line (Me.textboxA.Left,0)-Step(0,20000)
Me.Line (Me.textboxB.Left,0)-Step(0,20000)
. . .
Me.Line (Me.textboxN.Left+Me.textboxN.Width,0)-Step(0,20000)
 
L

Leif

Thanks for your reply. What does Step(0,20000) do? I've tried on-line help
and I cannot find any information on a step function.

Regards,
Leif
 
M

Marshall Barton

Step indicates that the second set of coordinates are
relative to the first coordinates (instead of the top, left
corner of the section). If you don't use Step, you would
have to use:

Me.Line (Me.textboxA.Left,0)-(Me.textboxA.Left,20000)

Note that the 20000 is about 15" down the page, but the line
will be clipped at the bottom of the section (even if it
grows.

You would have to go back to A97's Help to find a coherent
explanation of the Line , Circle and PSet methods.
 

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