Quantcast
Channel: Adobe Community : Popular Discussions - Reporting
Viewing all 38309 articles
Browse latest View live

Multiple Sorts

$
0
0
I'm trying to build a report that allows the user to select the sort order. I was able to do this in Crystal Reports by using several sort fields and moving data into them as needed to satisfy the requested sort. I would always sort on all the fields, but sometimes the fields would be blank and therefore basically ignored. For example, I want to allow the user to sort by year, location and SSN, or by year, location, and name. Year and location were database fields and always populated, whereas SSN and name were calculated fields. I would populate either SSN or name only if that was actually to be used in the sort, otherwise it would be blank.

I tried this in Report Builder using the advanced option in the query builder. I entered the 2 calculated fields into the order by statement, it was even nice enough to show the calculated fields in a dropdown box. However, when I tried to preview the report I got an error "Table or alias not found: calc -- Location of error in the SQL statement is: 119 ".

Should this approach have worked? Is there another way to accomplish this?

Also, is there a way to look at the code that the preview is trying to execute? The only code I've found is the code snippet, and the code fragments in the fields and parameters.

Thanks.

Subreport overflow

$
0
0
When a subreport contains a column with 'strech on overflow' and the row text causes the last line on the page to overflow, the overflow text is printed across the main page footer and may be truncated (ie the overflow text is not printed at the top of the next page).

Passing cfreportparam

$
0
0
Did passing of cfreportparam get broken in any of the cfmx7 updates?
I am getting: Report data binding error Unknown column name : blah blah.
I am trying to pass the variable to a cfr page from a cfm page.

On the cfr page i am referring to it as: param.varname

cfchartseries colorlist variable

$
0
0
when I user the colorlist="hexadecimal value, ..." it works great.

When I create a variable for the colorlist value it is coded like colorlist="#mycolor1#"

This works. However, I have 3 different color lists and I want to dynamically decide which mycolor# to use by a URL variable that is passed to the page. I used a simple if statement:

colorlist=
<cfif deptnmIS "finance">
"#mycolor3#"
</cfif>>

and got this error:

Invalid token '"' found on line 291 at column 39.

The CFML compiler was processing:

* the tag attribute "IS", on line 291, column 36.
* a cfchartseries tag beginning on line 289, column 10.

Any ideas hot to fix this?

cfchartseries seriescolor syntax

$
0
0
I am using <cfchartseries type="pie"> tag correctly. The pie looks great. However, I would like to use my own color scheme. I haven't been successful entering my list of colors. I've tried the folowing:

seriescolor=""##cc99cc;##cc0066;##999999;##cc9966;##cc99cc;##006600;##ffff00;##ff9900;##66 3399;##99ff66;##99ffff;##0000ff;##cc0033;##ff99cc"

and

seriescolor="##cc99cc,##cc0066,##999999,##cc9966,##cc99cc,##006600,##ffff00,##ff9900,##663 399,##99ff66,##99ffff,##0000ff,##cc0033,##ff99cc"

Both give me the Color not supported error. MacromediaDocs say I can have 16 custom colors. What gives?

RDS with Report Builder

$
0
0
RDS with Report Builder does not work automatically. I must first wake RDS up by doing something like accessing the query in the Report Builder directly. I'm using CF 7.02, Builder Build 144677 with the latest version of SQL Server 2005 and the SQL database driver. Ideas to fix or is this a Builder bug?

CF Report Builder field not stretching with overflow

$
0
0
I am using CF Report Builder build 144677 on CF 7.0.2 and have a large SQL Server text field that needs to stretch. If I stretch the layout height for the field to a larger value it works, but then of course I get a bunch of whitespace if the field value is smaller. I have tried a variety of property settings and moved the field into the report header, detail and footer sections, but have been unsuccessful. Assumed that "Stretch with Overflow" formatting property set to True should have done it, but it does not. I modified the Layout and Processing properties as well including setting position type to Float and Fixed, but to no avail. I also tried various conversions on the field type itself to see if that mattered, again no help. As a side note, I am able to get subreports to stretch. Suggestions would be appreciated.

Also noted there is not much help with the Help system. Embedded help does nothing.

rotation

$
0
0
Hi in coldfusion report builder is there a way of rotating a text label i need a label to be on a 45 degree angle


arrays,structures for reports

$
0
0
I am about to start some reporting projects
For querying from the DB and outputting to a display page,
I was told that arrays, structures are useful for these projects.

I am white belt in CF and Web stuff.
Someone in the meeting has mentioned to me to use
Arrays
Structures
In my reports.


ARRAYS
· How can I use arrays to out put HTML records from an oracle query?

· How is it useful for displaying output (database)?

Also,

· What is the difference between 1 dimensional vs. 2 dimensional arrays?

· Cfdump? Do I need to use this?
STRUCTURES
How can I use Structures to these kinds of projects? With arrays

Thank you very much

cfif

$
0
0
i need to show an image in report builder if a cloumn in my table = yes

not sure how to use the expression builder can any one help me

usually i would use

<cfif column is 'yes'>image</cfif>

just dont know how to do it in report builder, and i cant find any tutorials#

any ideas

using advanced query builder for a chart

$
0
0
I am trying to insert a query-based chart in my report template. However, the data is coming from a text file; thus I am creating the query object for the chart by parsing the text file. However, the "query.name" and "query.number" fields are not changing for each record from the original report query -- only the first record is used. Thus the first chart on the first page is correct, but the chart never changes for all the other pages (each page represents one record from the query). This is what I'm putting into the advanced query builder :

<cfset ThisQuery = QueryNew("ItemColumn,ValueColumn")>
<cfif FileExists("D:\charts\#query.name#_#query.number#.txt")>
<cfset ThisDataItem = 0>
<cfloop file="D:\charts\#query.name#_#query.number#.txt" index="ThisLine">
<cfif IsNumeric(ThisLine)>
<cfset ThisDataItem += 1>
<cfset QueryAddRow(ThisQuery)>
<cfset QuerySetCell(ThisQuery,"ItemColumn",ThisDataItem)>
<cfset QuerySetCell(ThisQuery,"ValueColumn",ThisLine)>
</cfif>
</cfloop>
</cfif>

So basically the filename is set according to first row (result) from the report query, but then the filename (and thus the chart) never changes even though all the other query-based fields on my page change properly (all the other query.BlahBlah fields update correctly). Is this a bug? I didn't think I was doing anything too crazy.

Label Printing Multiple Pages

$
0
0
My users want to be able to query some data and based on the return print a chosen number of labels, 4 to a page.
They don't want to print any labels that they don't need, i.e. if they need 7 they don't want the 8th to print on the second page.
I have a few questions.

1. Can Report Builder create multiple page reports? It seems that I keep getting an error about formatting when I attempt to have the detail band become bigger than 1 page.
2. Can I create code within Report Builder on the Fly, that is, if my user selects 9 labels I can then generate the labels for 3 pages.
3. Is there any way to loop over the <cfreport> tag? I tried to loop over it, but the adobe pdf plugin will only generate once for the report, i.e. page 1.
4. When using the label wizard it will only print one page with the query data I provide.


Your assistance in greatly appreciated.
Mark F

How to pass an array or structure, in addition to a query, or multiple queries to the Report Builder as parameters

$
0
0

Is there a way to pass an array or structure for example as parameters, in addition to a query, or multiple queries to the Report Builder in CF8? I believe this was recommended by users to be in CF8.

Cfreport and temp files..

$
0
0

Hi to all...

 

I was wondering.. obviously during report building either in pdf or flashpaper, a temp file of those is in hard disk of the web server...

if in cfreport i use decrypt() to decrypt data, then all my data will be readable from the temp file?

Report - Style Problem

$
0
0

Hello Guys,

 

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:

 

A

B

C

Pass

B

Fail

A

C

Pass

A

Pass

 

here A,B,C are feed group;

 

My coding specific to looping is below:

<cfoutput query="PromotionInfo" group= RID> <tr>

 

<cfoutput group="feed_group">

               <cfif IsSimpleValue(Feed_Group) >

                          <td  nowrap><a href="#PromotionInfo.Report#" target="_blank">#PromotionInfo.feed_group#</a></td>

                    <cfelse>

                          <td><strong>N/A</strong></td>

                </cfif>    

  </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


Margin Bug in CF8 Report Builder???

$
0
0

Build: 193563

 

When I set my left and right margins to .50 inches the generated report comes out with a .25 inch margin left and .75 inch right. After a couple of hours searching the web for a solution and playing with various combinations of margins, I changed my margins to .49 inch left and .51 inch right and the report is much closer to centered on the page.

 

Is this in fact a bug in Report Builder CF801? Is there something I'm missing or should I look somewhere else for answers?

I think I'm in big trouble now - CFReport

$
0
0

Hi all,

 

My client asked for some nicer reports that don't look so "excel-ish", specifically they wanted to see some nice looking 3D charts along with their data in a PDF format.

 

So, I worked on trying to create some nice mockup charts using the CFChart command, which I haven't used in a few years. I discovered the whole WebCharts3D series of charts, and was fairly impressed with the flexibility it had. So, I created an HTML page with my data and my new charts, and used CFDocument to make them a PDF. They looked great! Nice gradients on the backgrounds, my client's logo at the top of each chart, pie charts that jump out of the page at you... I got more than a few "wow's".

 

Then, I had to do it for real, and quickly saw that using CFDocument does not allow you to print page headers and footers when the report is more than a page long. I played for quite a while with google searches and CSS tricks to get it to happen, but it just isn't there yet - you can't get multiple footers to print (although you can get multiple headers - but it's hokey). Not to mention problems of the page break cutting off a line of text (maybe solvable, but at what cost? hours more of my time). So, I gave up using the CFDocument tag for our reports.

 

Then I tried the CF Report Builder. I have had some teething issues, but have been able to get a basic report at least, complete with my client's logo and watermark, and a pie chart. However, the pie chart looks terrible compared to the slick WebCharts3D pie chart that I did before. Plus, I haven't been able to get a bar chart work off of a passed in query yet, but I could probably get through that on my own.

 

To my question. Can you use a Webcharts3D chart in a CFReport? or, in other words, can you use CFChart in a CFReport?

 

If I cannot, I think I'm in big trouble, as the client thinks I can create these nice charts in a slew of new reports they want me to write... and I'll have to tell them that it's not possible? After I've already shown them what CFDocument can do?

 

Thanks in advance...

Swift

Chart not displaying correctly

$
0
0

I am running Coldfusion version 9.0.0.251028 Enterprise Edition. I have a bar chart created to display statistics for every day of the month. The majority of the time this works OK with individual bars showing for every day of the month. However occasionally the size of the bars gets distorted so for example instead of displaying 31 individual bars for every day they expand in size and it only displays half that amount.

 

Any ideas gratefully received.

 

Daily Stats.JPG

Coldfusion Report how to show WYSIWYG editor input data that store in a clob column?

$
0
0

Hi, 

My scenario is: From application I have key-in data that using WYSIWYG editor with various format like font color, background color, alignment, bold, italic, etc. And store to a column type CLOB (I am using Oracle DB).

Now I have to show this data on ColdFusion Report that using a CFR template in exactly format as it is. I have ticked the XHTML check box for the field property on ColdFusion Report Builder design for this report.

Anyone have any solution for this issue.

I see someone have the same issue here: http://forums.adobe....3057027#3057027

But never has any answer for it (even from Adobe support team).

 

If i format the text that using the Coldfusion Report Builder then everything appear excillent. So it must be had some solutions to format the WYSIWYG Editor data to the format that Coldfusion Report can understand and render correctly.

Any answer, I am highly appreciate :)

Problem testing report builder report

$
0
0

When I test my report it while in report builder, it looks great on the screen.  When I try to actually print a page so I can see how it looks on paper using the forms, all I get is the background/ CF Developer message.  What am I missing here?  I should be able to test print the report.  I don't mind the background but I need to see the data.

Viewing all 38309 articles
Browse latest View live


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