Quantcast
Viewing all 38309 articles
Browse latest View live

Using CF 7 or CF 8 to access Crystal Reports

I would like to access reports created in the latest version of Crystal Reports (12) from within a Coldfusion 7 and or Coldfusion 8 Web application. I tried using the cfreport tag, but nothing happens. Any help would be greatly appreciated... Thanks!

Infinite loop creating new page due to column header overflow.

i am getting an error and some pages "Infinite loop creating new page due to column header overflow. " --

 

using report builder 9, i have a fairly simple report - that contains 4 subreports.

 

for some pages i get the error - it seems if there is more data than would fit on 1 page.

smaller pages work fine.

the subreports are all simple queries and dumps....

containing page header, column header, detail sections.

page header has just a text bar of the name of the section.

column header has the field names

detail section has the data - 1 row for each row in the recordset.

 

nothing i do seems to change getting "Infinite loop creating new page due to column header overflow. " on a page with more than 15-20 records returned.

 

any ideas would be appreciated.

Conflicts with CFReport tag and custom JasperReports feature within our application

My company's application was previously on ColdFusion 6.1 and working fine. We built a reporting feature using JasperReports to generate reports (which were created with iReport) which also allowed the ability to export in PDF (iText) or Excel (Apache POI) and included the use of Barcodes (IDAutomation). All of this was done either in ColdFusion CFC/CFM files or with Java JAR/class files.

We were able to upgrade our system to the latest ColdFusion 8. Everything is working fine and so far we don't have any problems. That is until we decided to use ColdFusion Report Builder and the CFReport tag. After pounding our heads against the wall we have figured out that we can use one or the other but not both. If we use our JasperReport feature, any CFReport that is run, gives an error. We have tried using a different application scope but that doesn't seem to do anything. If we instead generate a CFReport first, then our custom JasperReports code is unable to compile any new templates. However we have noticed in this scenario that it is still able to generate a report if the template is already compiled (.jasper file instead of a .jrxml).

After some research on the web I've come across Java Proxy (can even see a JavaProxy called in the ColdFusion error dump). I believe that since the classes have the same name (net.sf.jasperreports.engine.*) different JARs are being used and loaded depending which is ran first (our custom jasperreports or cfreports).

What I'm needing is some help hopefully figuring out a way to get them both to peacefully coexist. Or at the very least some insight as to what is happening in hope I can understand it and figure out a solution.

Our application uses the following JARs:

jasperreports-1.2.6.jar
poi-2.5.1-final-20040804.jar (ability to write out in Excel file format)
iText-1.3.5.jar (ability to write out in PDF file format)
barbecue-1.1.jar (barcode used in iReport but can't create valid 2D barcodes)
iReport-1.2.6.jar (has façade/facade class that allows iReport to generate barcodes using barbecue)
IDAutomation-PDF417-4.10.jar (new 2D barcode meant to replace barbecue)
IDAutomation-Linear-4.10.jar (new 1D barcode meant to replace barbecue)

Problem with timestamp in charts

Hi,

I have a problem with timestamp data in coldfusion charts.
I want to see two line charts in the same timeline (x axis) but when the chart is generated I can see two lines but not in the same timeline.

This is the code:

<cfquery name="daHistorico1" datasource="PostgreSQL30">
select nodeid,result_time, temp from sample_mts310
where result_time < '2005-11-16 8:15:19'::TIMESTAMP and result_time > '2005-11-16 07:40:19'::TIMESTAMP and nodeid=7
</cfquery>

<cfquery name="daHistorico2" datasource="PostgreSQL30">
select nodeid,result_time, temp from sample_mts310
where result_time < '2005-11-16 8:15:19'::TIMESTAMP and result_time > '2005-11-16 07:40:19'::TIMESTAMP and nodeid=8
</cfquery>

<cfchart
format="jpg">

<cfchartseries type="line"
itemcolumn="result_time"
valuecolumn="temp">
<cfloop query="daHistorico1">
<cfchartdata item="#daHistorico1.result_time#" value="#daHistorico1.temp#">
</cfloop>
</cfchartseries>
<cfchartseries type="line"
itemcolumn="result_time"
valuecolumn="temp">
<cfloop query="daHistorico2">
<cfchartdata item="#daHistorico2.result_time#" value="#daHistorico2.temp#">
</cfloop>
</cfchartseries>
</cfchart>

Thanks in advance.

help on viewing cfm files

i got problem viewing .cfm extension page, it also give me a blank page in localhost i cannot view the adminstrator page but i can view other extension like html,jsp can anyone help me solve this problem

Report builder formatting--flashpaper

Reports I build using coldfusion reportbuilder look great on my machine, but when we run them on other developers' machines or on other servers, the formatting changes. The columns don't line up correctly anymore or it changes to a different font. Does anyone know why? Is there somewhere I can change these settings?

Report Builder and RDS

I just installed CF 8.1 Report Builder and attempted to use it for the first time.

Is it required to have RDS activated on the server in order to use report Builder?

preservedata and checkboxes

Got a cfform with checkbox cfinputs they are looped about 4 boxes total. on page refresh all check boxes become selected instead of just the couple I have selected.

Whats the fix for this?

Is there really no "can grow" feature?

Does Report Builder have a "can grow" / "can shrink" feature in either version 7 or 8 that we can't find?

We're issuing news releases as pdf files via report builder. The body of the report has one field - "content" - that may have one page worth of text, or it may have more. If the "content" field has two pages worth of text, the second page will not print if the field size is less than the length of one page! The 2nd page of the news release gets cut off because there is no "can grow" feature that we can find.

However, if we extend the field size to beyond the length of the page, thereby extending it to two pages, the second page automatically gets printed regardless of whether there is no text to print or not because there's no "can shrink" feature!

And CFDocument can't be used because it cannot render images through a firewall.

And so I ask again :-), does Report Builder have a can grow / can shrink feature in either version 7 or 8 or are we out of luck?

What I missing?

TIA, Andrew

Crystal Reports 10 and MX 7.0 Integration Problem

We have Windows 2003, MX 7.03, SQL 2000 and Crystal Reports 10 installed. When we run the Crystal report first time, it's okay. The problem is when we try the second time, we will get the message "Server Error The server encountered an internal error and was unable to complete your request. Run closed connection." The only way to get around this problem is to click on X to kill the browser and try to run the report. Does anyone have the same problem and know what caused this?

Can NOT Save Advanced Query

This is a show-stopper for me. I tried to enter a query in report builder 8 build 176269 , click save and when I return to the querybuilder it is MISSING! (this works fine in Version 7) Any suggestions?

Thanks
Bruce

Report Builder won't install

The exe starts fine and walks me through the setup screens. Then it goes down the list of items that it needs to do and when it gets to 'installing' it goes no further. I get 2 bars on the progess meter and that's it. I would love to be able to use this feature. Anyone have any suggestions?

Report Looping

Greetings,

I am trying to loop over a query to provide all of the information retreived from a query in an excel format. All I am receiving back is the last record. I would appreciate any thoughts. Here is my code...

<cfreport format="excel" query="PCR" template="PCRReport.cfr">
<cfloop query="PCR">
<cfreportparam name="CustomerNumber" value="#PCR.CustomerNumber#">
<cfreportparam name="BusinessType" value="#PCR.BusinessType#">
<cfreportparam name="SoftwareLevel" value="#PCR.SoftwareLevel#">
<cfreportparam name="SoftwareProduct" value="#PCR.SoftwareProduct#">
<cfreportparam name="ProgramName" value="#PCR.ProgramName#">
<cfreportparam name="Affiliation" value="#PCR.Affiliation#">
</cfloop>
</cfreport>

Thoughts?

CF Reporting

I've created PDF document with Coldfusion Report Builder.
Size of generated PDF is 46 kB.
When I send this document to the printer, it increases size to 20 MB.
The same result when use <cfdocument> to create PDF document.
Any idea?

cfchart broken in CF 8

In CF 7, cfchart would not plot null values from queries. Here is a sample from a CF 7 server showing the results with a query using NULL values.

http://devmx.jibben.com/cfcharttest.cfm


Here is the same sample chart running on a CF 8 server:

http://dev8.jibben.com/cfcharttest.cfm

Notice how CF 8 generates values for the NULL data?

This is a major problem for me as I do not want to plot null values (CF 7 display is preferred). All of the data I'm working with, zero is a valid value. So, plotting the NULL as a zero is not a good solution. It is preferred to display that the exam was not taken rather and have it appear as though it was taken and the student received zero points.

Is there a work-around or solution to this problem?

I will post the code for this sample chart in the next message.

Thanks,
sj

Slow report generation

I have a situation that can produce a report a couple hundred pages long. Is there a why to cache this? Or what is the best strategy to optimize reports. I usually pass a query to the report from a CFC. The query in this case is goining two tables and has a sub report embedded. If anyone has any suggestions I would appreciate it.

Mike

Subreports with variable heights

HTML Formatting in a report

Is there any way to display text that has proper HTML formatting within a report generated using Report Writer? No matter what I try, it continually displays the HTML rather than displaying it with the HTML formatting.

I do not want to use the CFDocument tag if I don't have to do so.

Is there any way around this issue?

Create reports dynamically

Hi all,

I have been playing around with ColdFusion Report Builder. I do know that I can create a report template and then use<cfreport> tag in ColdFusion to run a report. However, is there a way to create a brand new report template dynamically within ColdFusion?

Thanks in advance,
Monte

Report Builder CF8 Beta2

After initial wizard CF report builder breaks. Same happend if i press cancel.
My OS is: Microsoft Vista Home Premium x64 bit
Viewing all 38309 articles
Browse latest View live


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