Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Report Data Display Problem

$
0
0

Hi ,

kindly help me ,

i have 16 Question Show Answer on Report with 3 option [ Yes,No,Nothing) in the form of checkbox

but in database field [ Question ,yes,no,nothing] that save in this format

Q   yes   no nothing

1     0      0     1

2     0       1    0

3     1      0      0

--     --     --     --

16    0      1     0

Crystal Rept Formula


If (({sp_Loadsurveyformanswers_report1.questionid}=1) and  {sp_Loadsurveyformanswers_report1.yes} = 1) then
Chr(254)
Else

Chr(168)

If (({sp_Loadsurveyformanswers_report1.questionid}=2) and  {sp_Loadsurveyformanswers_report1.yes} = 1) then
Chr(254)
Else

Chr(168)

after create 16 formula for yes & no & nothing and place on report then this report repeat 16 pages with checkbox each row

That Show like that

Page 1

Question                        yes           no                  not

xyz                             checked       not check        not check

ywx                               empty        empty             empy

page 2

Question                        yes           no                  not

xyz                            empty            empty          empty

ywx                            checked       not check        not check


Viewing all articles
Browse latest Browse all 1507

Trending Articles



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