Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8902

Re: How to Insert each letter of text field in a box ?

$
0
0

Hi,

 

The problem is the length of the string is dynamic.  It could be 1 character it could be 200.  Crystal can't dynamically draw a box.

 

You can create a formula for the maximum number of characters you may have.  Each formula would look something like:

 

If Length ({table.FIELD}) >= 1 then

     {table.FIELD} [1]

Else "";

 

Create 199+ more formulae like this and drop them on the report.  Now format the borders for each of these formula like:

 

If Length ({@myformula}) = 0 Then

     crNoLine

Else crSingleLine;

 

Ugly but it should work.

 

Brian


Viewing all articles
Browse latest Browse all 8902

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>