Infinity wrote on Oct 9
th, 2007 at 6:28pm:
Good question. And without knowing the reasons behind it, I'll hedge my bets and say "certain ones". (That way, if it's achievable, I could place them between all the columns if I wanted to. Hee hee hee.)
haha Good answer. The all elements is done one way, certain ones is done another. I'll just give you the code to do certain ones.
Quote:Actually, one thing I had floating in my mind was some HTML code in a static text, such as what you gave me to create the thicker horizontal lines. But I don't know enough about HTML to know if it's possible for vertical, if at all.
ah see you're close. We are going to make use of the new ReportHTMLFilter() command to insert some HTML.
This code goes into Global Code for the Report
#include "SBasic_Include.sbas"
Function AddQuotes(vIn as String) as String
Var vOut as String
vOut = @Chr(34) + vIn + @Chr(34)
Return vOut
End Function
ReportHTMLFilter("><font color=" + AddQuotes("#000001"), " style=" + AddQuotes("border-right-style: solid;"), HTML_INSERT)
Then all you need to do to create a line to the RIGHT of a column is to set the font color of that element to be R:0 G:0 B:1, You'll use the custom color tablet to create that color. There's other ways to do it but I figured this way you only have to touch the programming once and the rest is done in the design.
Let me know if you have any questions,
-Ray