We help IT Professionals succeed at work.
Get Started

Tables in Crystal reports

rationalJay
rationalJay asked
on
350 Views
Last Modified: 2012-05-11
I have a formula field, which gathers some values like "s001, s002, s003". I want to show these values in table format say with five columns. I tried using the following method, which did not help.

 if(output = '') then
    (
        output := '<table border="1" cellpadding="2" cellspacing="0" style="width:50%;" rules="cols"><tr><td>'+ '( ' + cstr({Conformance.pix},0) + ' ) </td>';
    )
    else
    (
        output := output + '<tr><td>'+ ' ( ' + cstr({Conformance.pix},0) + ' ) </td>';
    )
)

// added proper </tr> and </table> tags :(

Later, learned that only certain HTML tags are supported in Crystal.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333033383334%7D.do

Is there a better way to show these values in tabular form??? please help.

Thanks,
Jay
Comment
Watch Question
Senior Consultant
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE