vertical and horizontal lines in Subreport

J

Julie Alley

Hello,

I have been to Steven's site, and love the vertical and Horizontal lines
demonstrated.

I just have this one little snafoo, they won't work in a subreport.

Anyone have any idea's how I can make that work?

Thanks,

Julie
 
R

Rick Brandt

Julie said:
Hello,

I have been to Steven's site, and love the vertical and Horizontal
lines demonstrated.

I just have this one little snafoo, they won't work in a subreport.

Anyone have any idea's how I can make that work?


Did you put the code for those lines IN the subreport?
 
J

Julie Alley

Yes, I did, and if I preview just the subreport, I see the lines, but not
when I preview the master and subreport together.
 
J

Julie Alley

Yes, and I see the lines when viewing just the subreport, but not when
viewing the master and subreport together, it's a little odd.

Thank you in advance for your help.
 
D

Duane Hookom

I'm not sure what your code looks like or where you are calling it from. I
expect the code might be in the On Page event of the subreport which will
never run since there are no Page sections or events in subreports.
 
J

Julie Alley

You are correct about the placement of my code - based on Steven's
instructions - But I see your point - it makes sense. Where then could I
place the code instead of the OnPage?

Thank you for your time,
Julie
 
D

Duane Hookom

I am not aware of what you are attempting to do other than it involves
drawing horizontal and vertical lines.
 
J

Julie Alley

oh, sorry - I am trying to display a subreport, that has columnar lines for
fields called Item , Description Qty and Price but don't know where to put
the normal code that is displayed currently under the "on Page" event.

You mentioned there are no "events" for a subreport, so I am not sure where
to place this code.

Perhaps this isn't possible, but the code I am using for On Page is
referenced on Steven Lebans web site for creating vertical and horizontal
lines.

I am still playing around with it, but thought someone here might be able to
assist me with some thoughts.
 
D

Duane Hookom

There are lots of Events in subreport, just no "Page" related events.
You can draw lines in the On Format or On Print event of any other section
of the subreport.
 
J

Julie Alley

That makes more sense. Thanks!


Duane Hookom said:
There are lots of Events in subreport, just no "Page" related events.
You can draw lines in the On Format or On Print event of any other section
of the subreport.
 

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