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

CFREPORT Timeout

$
0
0
I have a fairly sophisticated merge process that takes full advantage of most of the features available in the Report Builder and in turn the CFREPORT tag to actually execute and display the template in PDF format. This normally all works very well and very fast.

However, every once in a while, a mistake is made in creating the report template in the Builder and when CFREPORT is executed against the template CFREPORT appears to go into run away mode. In an attempt to kill the process people click the back button or X to kill the browser. This is OK except that JRUN is now running amuck doing whatever it was doing.

My question; Is there a way to wrap a timeout or cftry/cfcatch pair around CFREPORT to just kill it after some predetermined time, advise the user and then go to another page without causing JRUN to run amuck?

The Timeout parameter in CFREPORT does not apply because we are not using Crystal Reports.

List index out of bounds

$
0
0
I am working with an SQL Database and ColdFusion MX7.

I have a very detailed report that I built in Report Builder. It worked fine until I tried to change the query statement to include a cfvariable (I had been defining the variable in my query; eg. were ID=12345). I don't know if those things were related, but after I attempted the change I was no longer able to save the report. I get an error that states:

Failed to Save
List Index Out of Bounds (25)

It took me 2 days to build this report! Help!

Print When Detail Overflows Question

$
0
0
Is the "Print When Detail Overflows" option supposed to work this way or am I doing something wrong? The help states...

"Print When Detail Overflows specifies whether an element prints only after a page or column break. Specify True or False. The default is False. For example, you might set this to True to print the word Continued... after a page or column break."

Which seems to say that if you flag an element with this property it will appear on the 2nd, 3rd, etc. pages/columns. Now I have a multi-column sub-report and I want to display the words "cont." on the subsequent columns, however when I change this property to true it puts it on every column, even the first one! It seems to me that it isn't supposed to work this way since in the help menu it states it will appear "only after a page or column break". Has anyone else had a problem with this, or am I just overlooking something that will suppress the output on the first column?

CFdocument help

$
0
0
Getting started with CFdocument and CFreport. Reading Chapter 32 of the
Developers Guide. Page 764 has a snippet with CFdocument. So tried it. I get
a screen of the funny characters. Then I realized that I am running CF 6 and
should have an error since CFdocument starts with CF 7.

Does CFdocument work in 6, or do I need to upgrade to 7? Are those funny
characters expected?

Thanks in advance

-brian


Drill Down Error / Report Builder Limitations

$
0
0
I have been having alot of problems recently with the new version of 7.0.2. A few things that i have noticed is that i can't do drill downs anymore. I don't think it's a coding issue since it was working in the previous 2 releases of Report Builder(7.0, 7.0.1).

Another problem is that I have reports that return around 1,000 pages. Now, I know there is a limitation on Flash Paper/Flash Player, whoever i was wondering if there is a work around or something i can do to get this reports to finish. Right now I get the error roughly stating "A script has cause this flash movie to become unstable and if you continue it might make the computer unresponsive". Currently the only work around that i have is to offer the same report in PDF format, however 90% of our customers want to run it in flash paper, and my boss wonts it to work using flash paper aswell.

Any sugguestions that you might have or anything please email me. If you have any questions please email me aswell.

Thank you,

Daniel

Report Builder Paging

$
0
0
I am trying to get specific control over the page numbers that print in my report. I am using the Report Header band for a cover sheet and muti-page invoices (grouped on invoice number) follow. I want each invoice group to have its own page numbering: "Page X of Y". All of the groups work except the first - its count is off by one too many because it counts the cover sheet.

Is there any way to subtract 1 from the page number in only the first report group?

I also want the coversheet to have the total number of pages. I can't get it to add this correctly, even when using the Evaluation Time parameter.

Also, is there a reference somewhere that details all of the built-in fields - or is there only the few I've found in help?

cf8 report builder characterEncode ?

$
0
0

HI,all

I am using win xp sp3/cf8.01, cf8 report builder,mssql2k5,IE6

There is the following requirement in a program: 

When there is Chinese character in the label of report builder, but not get Chinese from the Database, as the picture illustrate below:

1.GIF

 

When the label in the Report is Chinese word, the Chinese words will replace by “?” if the Report generated into pdf file.

2.gif

 

The final result as the following picture shows:

3.GIF

 

If press F8 button, the situation is below:

4.GIF

 

If I change the pdf character Encoding into identity-H, the problem still cannot be solved. Is there anyone who can tell me why and how to solve the problem? Thanks very much!

 

CF8 Document PDF cutting off text

$
0
0

I am facing text cut-off during CFDocument PDF page breaks.

 

I am using CF 8.

 

Anyone can help Plz ?

 

Thanks,

-SKS


Template appears to be malformed

$
0
0

I have a group of reports that work perfectly in CF7, but when I try to view them with CF9 I get the following.

 

The ColdFusion  Report Builder report template  appears to be malformed or contains errors.

The error is: java.lang.String  cannot be cast to java.util.Map
The  error occurred in C:\wamp\www\rl\views\order_guide.cfm: line  25
23 : </cfif>
24 :
25 : <cfreport template="guides\order_guide.cfr" format="pdf">
26 :      <cfreportparam name="customerNbr" value="#URL.customerNbr#">
27 :      <cfreportparam name="storeNbr" value="#URL.storeNbr#">

 

Any thoughts?

cfdocument format = PDF - does not format correctly

$
0
0

Greetings

 

I am simply attempting to print invoices from a query that displays correctly on the cfm result page, but using cfdocument to render a PDF version (to mail out) does not format even remotely close to the cfm page.

 

I tried every conceivable method I know of, including:

 

Formating the cfm page (via CSS and hardcoded table width) to be 612 px X 792 px (8.5 X 11 in), and here is the cfdocument code:

 

<cfdocument
format="pdf" 
pageType="custom"
unit="in"
marginbottom="0.75"
marginleft="0.75"
marginright="0.75"
margintop="0.75"
pageHeight="11"
pageWidth="8.5"
mimeType="text/html"
fontembed="yes"
orientation="portrait">

 

<style type="text/css">
@import url(css/moorings.css);
</style>

 

<html> blah blah </html>
</cfdocument>

 

The rendered PDF file is 4.5 X 5 in- (both in IE and Firefox) What am I missing here?

 

CF 9

 

Thanks in advance, as always.

total pages

$
0
0

hi all

 

how can i get of number of total pages in a cfreport?

 

i try with a custom field with count on calc.PAGE_NUMBER

but i obtain this error: Error: calc.PAGE_NUMBER is not a valid ColdFusion expression.

 

any idea?

 

many thanks

Crosstab in CF Report Builder 8

$
0
0

I know this has been asked before but I can't seem to find anything current.  I came across some stuff but the links were diead or explanatory images didn't show.

 

It seems that Report Builder doesn't do crosstabs.  I wondered if anyone had come across any kind of workaround.  What I would like to show is something like:

 

Books Circulated

                              Jan          Feb          Mar          Apr...                                        Year Total

Red Books          100          200          300          400

 

Blue Books          300          100          200          200

 

Total                    400          300          500          600

 

Seems like it should be doable.  I usually us a crosstab and it is relatively straightforward.  Any suggestions in Reprot Builder?  Thanks.

change label caption from a stored procedure result

$
0
0

I need change label caption on the report using Report Builder and data source from a stored procedure.

Your information and help is great appreciated,

 

regards,

 

Iccsi

Charts get corrupted using CFReportBuilder 10 in Windows 8.1

$
0
0

Reports that we created that contain Charts, using Windows Vista to author, stop working and error "resource unreadable" when we open and save the report using Win 8.1 64bit.  Everything else in the reports will work fine, but the charts become corrupted and unrecoverable.  Is there a patch or newer version of CFReportBuilder to fix this?  I tried the CFReportBuilder version available with CF11 and get the same results...

Thanks in advance for any advice!

 

Marshall.

Print When with two conditions

$
0
0

I only want to print a page if two conditions are met. On each section I am using the following Print When Condition:

DateFormat(query.asofdate, "mm/dd/yyyy") NEQ DateFormat(calc.AmtDate, "mm/dd/yyyy")  AND LSNumberFormat((query.bal + calc.anticipated), "_.__") LTE LSNumberFormat(25.00, "_.__").

The date check works great by itself and the amount check works great by itself but I can't get them to work together. Any ideas?

 

I am using CF10.


Can't add attribute to 0-length text

$
0
0
I have a CFREPORT Template that has been running fine for months. This report has 8 layered controls (Color coded page tabs for a Table of Contents). Yesterday I added 2 new Calculated Fields and added 2 layers to the 8 making ten layers. Each layer has its own "Print When" clause etc etc. Ever since I have been getting the error message in the title of this thread.

Is there some kind of clue or secret code to help figure out what is going on here? I have no 0 length text at least that I can see. How can I pinpoint which control or field may be causing the problem?

CFPrint printer problem

$
0
0

Hi there,

 

I'm now in problem about cfprint.Here is my coding :

 

<cfdump var="#GetPrinterInfo()#">

 

When I run this coding in client site, it shows error that "no printer avaliable". Oddly, I run this coding in server, it shows printer's information installed at my server. Do you have such experience about cfprint?

 

all solutions will be appreciated in advance.

Shrink to Fit Text - ColdFusion Report Builder

$
0
0

In ColdFusion Report Builder, is there a way to shrink text to fit a particular area? (as opposed to stretching with overflow)

 

Any help would be greatly appreciated!

 

- Chris

Report Type for pdf and Excel

$
0
0

I have following code to generate the report for pdf format.

I would like to let users to choose report type 'pdf' or 'excel'

I need pass the user select from user interface to <cfreport format= "PDF" or "Excel".

Can you please advise how I can pass the user select Report Type from lsReportType to my cfReport?

 

Your help and information is great appreciated,

 

Regards,

 

Iccsi

 

 

<cfstoredproc procedure="spGetReportType">

   <cfprocresult name="rsReportType" resultset="1">

</cfstoredproc>

 

 

<cfreport format = "PDF" template= "MyReport.cfr" query="#myQuery#">

   </cfreport>

 

<td><select width="50" name="lstReportType" id="lstReportType">

      <cfoutput query="rsReportType">

         <option value="#rsReportType.ReportTypeID#" <cfif (isDefined("form.ReportTypeID") AND form.ReportTypeID EQ rsReportType.ReportTypeID)>selected="selected"</cfif>>#rsReportType.ReportType#</option>

       </cfoutput>

     </select></td>

Conflicts with CFReport tag and custom JasperReports feature within our application

$
0
0
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)
Viewing all 38309 articles
Browse latest View live


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