Reporting Style - coldfusion

Reply

Join Date: Nov 2009
Posts: 1
Reputation: keeran6 is an unknown quantity at this point 
Solved Threads: 0
keeran6 keeran6 is offline Offline
Newbie Poster

Reporting Style - coldfusion

 
0
  #1
19 Days Ago
First of all, am in the process of learning cold-fusion coding.

I have a doubt in reporting part of coldfusion code.

I need to make a report style such as below



A B C Pass
x B x Fail
A x C Pass
A x x Pass



Presently am able to get display data table like below:


ABC Pass
BFail
ACPass
APass

Where A,B,C are feed group;



My coding specific to looping is below:

  1. <cfoutput query="PromotionInfo" group= RID> <tr>
  2.  
  3. <cfoutput group="feed_group">
  4.  
  5. <cfif IsSimpleValue(Feed_Group) >
  6.  
  7. <td nowrap><a href="#PromotionInfo.Report#" target="_blank">#PromotionInfo.feed_group#</a></td>
  8.  
  9. <cfelse>
  10.  
  11. <td><strong>N/A</strong></td>
  12.  
  13. </cfif>
  14.  
  15. </cfoutput>



I tried for looping, still no sucess so far..



Note: Problem here in looping is When I tried cfif/Cfloop condition's for every column-wise data,

cfoutput for PromotionInfo.feed_group gives ABC (joined values) not separately ie. for each cycle of loop the data queried are shown in one single row. Am not able to split it since they are not having any delimiters.



Am not sure I gave the right picture of my problem, still expecting someone can help me..



Thanks

Keeran
Last edited by peter_budo; 17 Days Ago at 7:17 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the ColdFusion Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC