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

CFREPORT - rendering bug?

$
0
0

I am trying to generate a tabular report, but I encountered a weird bug:  if the content of a column exceed the first page height, in the second  page the borders of the other columns (that don't exceed the first page)  don't display.

 

The result is obviously ugly because it breaks the table-like layout.

page-1.jpg

page-2.jpg

In this second image, note that the borders of "Short Column 1" and "Short Column 2" don't appear

 

I tried all the settings (stretch etc...) of report band and fields, with no success.

I could also provide a sample test page, with a simple report that behaves  exactly as our production report. I ran it to produce the attached images.

Any suggestion will be greatly appreciated
Thanks in advance


Report Builder crashing

$
0
0

I am trying to edit the report query, changing the joins on the tables, and Report Builder crashes repeatedly.  Anyone experienced this? Is there a patch for Report Builder I don't know about?

 

Nathan Manning

avery labels with rich text or html

$
0
0
In the past I have used the cf_averyrtf.cfm custom tag to produce avery formatted labels -- works great. Now I need to do the same but include formatted text, or ideally HTML content into the same formats. I looked at the CF report writer, but it doesn't look like it has label formats. Other suggestions?

Problem with Math In Calculated Fields

$
0
0
I am calculating a group incident rate for data returned from a query. The formula is Number of cases multiplied by 200000 divided by number of hours worked. Cases in my report is the calculated field: calc.CaseSum (the sum of cases for the group) Hours is calc.SumHours (the sum of hours for the group). The actual values for these variables (for the first group are 48 and 29427171 respectively. When I create the following calculated field called rate using the formula: (calc.CaseSum * 200000) / calc.SumHours, Cold Fusion Generates a Runtime Error:

Invalid ColdFusion expression in report. If the expression is a string, ensure that it is within quotes. Error: (calc.CaseSum * 200000) / calc.SumHours is not a valid ColdFusion expression.

If I use the constant value "29427171" as the divisor, the report works albeit only for the first group. Any ideas; is this a bug, or am I misusing the product?

Addition: I forgot to mention I am using CF8. Also this formula worked fine as a Report Total before I introduced grouping and modified the calculated fields to reset on the change of a group.

CF9 Report Builder: Hardcopy only has watermark, no detail

$
0
0

I'm committing the sin of putting this question to multiple forums but I'm hoping a different audience might give an answer as I'm on a dealine to produce this report.

 

I'm working on a workstation which has a CF9 Developer Edition Server and I installed CF9 Report Builder to develop a hardcopy report and when I test it, I see on screen the report details together with a watermark:

Adobe ColdFusion Developer/Trial Edition
Not for Production Use

When I print the the report, I only get the watermark???!!!

      


 

   Edit/Delete Message

Any news in Reporting with CF10?

$
0
0

Any news in CF Reporting engine with CF10?

Alex/

Fonts not smooth

$
0
0
Dear all,

Is there a way to enhance the print-out fonts of CF Report Builder? On the screen it is quite smooth (FlashPaper), but when I do the printing (to printer or PDF) all characters are not that smooth.

I use the same font (Arial) and font size on Crystal Report or Microsoft Word, they give me smooth print-out. It tells me there is no problem with my printer driver.

Is there a solution for this?

Thanks in advance
Keiko

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.

report data binding error unknown column name

$
0
0
Hi,

I am having a problem with the new 7.02 update of Report Builder. The issue is it's not finding my SQL query.

I have wrote my query initally in the advance mode, and it doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode and selecting all my tables and seting my linkage and criteria.

I have other computers that i have not updated to 7.02 and they do not have this issue. Below is the error:


---------------------------------------------------------------------- ---------------------------------------------------------------------- ------------------------------
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.


Please try the following:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM

Stack Trace (click to expand)



coldfusion.runtime.report.Report$ReportDataBindingException: Report data binding error Unknown column name : work_phone.
at coldfusion.runtime.report.Report.runReport(Report.java:420)
at coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225 )
at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:5 2)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePers istenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBas e.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:7 8)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java: 257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java: 527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.ja va:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo l.java:349)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j ava:457)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool. java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
---------------------------------------------------------------------- ---------------------------------------------------------------------- ------------------------------
This report works in 7.01. So all query variables match with a variable in the SQL select statement.

Anyone have any Ideas??

Thanks,

Daniel



cfprint on a dot matrix printer

$
0
0

Hi all -

I have a pdf that I'm printing on a dot matrix printer.  In my pdf, I've specified that it should print using the Courier font.  When I look at the pdf in Adobe Reader, it's in courier and when I print the document directly from Adobe Reader it prints in courier.  However, when I print the same document using cfprint it prints using a san serif font.

Any idea how I might get cfprint to acknowledge the courier font?

Display message if report is blank or has no data..

$
0
0

I'm sure this is an easy one, but I'm not able to get anywhere on this..

  • Using ColdFusion Report Builder to create a PDF report..
  • Currently, If my report query returns no records I just get a blank report page
  • I need to change it so a message displays at top of report that says "No records found..etc"
  • All of my reports are in PDF format & opened in a browser so I need the message to be included in the report.

CF, Flash Charts, export as PDF - HELP!!!

$
0
0


I have reports which we are generating using Flash Charts in a CF site with a custom tag calling it. When I export the report to PDF, I can't get the chart to go with it. Any ideas on how to fix this?

Why the adobe reader can not show Chinese word

$
0
0
Hi All,

i am using WinXP SP2, CFMX7 version 7.0.1, MySQL and the latest version of report builder.
i wish to do a report which can show chinese word and english word as well. However, the report can only show english and the report will replace '?' in every chinese character. Why and how to solve it?
The CF can insert chinese charater into DB.

exporting data to Word with Coldfusion

$
0
0

Saw the link at

http://www.irt.org/articles/js154/index.htm which explains how to do it.

 

But, my need is a bit more than what is shown.

 

I have to run a query and based on results of it decide what should be a row title, then display its value. Something like

 

<cfquery name="getDepartments" datasource="#Application.ds#">
                    SELECT *
                    FROM departments
                    WHERE deptID = '#form_data.deptID#'
                </cfquery>

 

then

 

<table width="100%" border="1" rules="all" cellpadding="5px" cellspacing="0px" style="width:100%; font-family:Arial, Helvetica, sans-serif; font-size:12px;">
                            <tr>
                                <td style="font-family:Arial; font-size:12px;"><b>

 

<cfif getDepartments.DEPT_TYPE is 'AP'>
                                        Corporate
                                    <cfelse>
                                        Retail
                                    </cfif>
                                    :</b>
                                    <br>

 

This does not work using the method shown at the link http://www.irt.org/articles/js154/index.htm

 

How can I achieve what I want?

 

Any advice would be welcome.

Report Builder - Last page issue and Report Footer issue

$
0
0

I am using ColdFusion 9 Report Builder, am new to this product and encountering 2 issues.

  • Issue 1 - I have a field that I would like to print on the last page of my report.  How can I determine the last page?  I initially tried using a calculated field set to the 'highest' calc.Page_Number.  Then I could compare the current page to the last page in the 'Print When' property.  But calc.Page_Number can not be used in a definition of a calculated field.
  • Issue 2 - Depending on the amount of report detail, sometimes my report footer prints alone, without a page header and page footer.  The report includes this page in the total number of pages.  For example, if it is a 2 page report, the page header on page 1 will display Page 1 of 2.  Then the only data on Page 2 is the Report Footer.  No page header or page footer prints. 

Any assistance on these issues would be most appreciated.  To date, using the Report Builder has not been easy.


CF Report Builder line height

$
0
0

We're migrating CFMX7 servers (Solaris) and our .cfr reports are having problems due to how each server defines the height of a single line.

 

That is, our old server had a shorter line height definition (associated with default font) than the new server and so, now we're having alignment / formatting / display problems running .cfr reports on the new server.

 

Does anyone know if it's possible to adjust the line height?  Thanks!

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.

Report Writer

$
0
0
I am trying to use the report writer but every time I create a report I
am getting an error message of Premature end of file. I have installed
CF7.0.1 and CF7.0.2 on different OS'es and have used the Report Writer
application on the cf server computer along with on a workstation which
connects to cf7 via rds.

The reports I have tried are very basic and returns a couple of rows
just to test. I have searched the net but unable at this time to find a
solution.

Does anyone have ideas on getting this to work.

I have tried Windows 2000 Pro/CF7.0.1 and CF7.0.2 along with Windows
2000 Server/CF7.0.1 and CF7.0.2

HTTP/ 1.1 401 Unauthorized -- Error Conneting to RDS

$
0
0
A co-worker created a report and saved it on our test server. I am able to open the report, however, I need to modify the query, and when I click on Report Query, I get either a HTTP/ 1.1 401 Unauthorized error.

I tried to test my connection to the RDS server, and get the same error. This makes no sense. A couple months ago, I was able to open reports on our server, but now I can't. Any suggestions? I've already re-booted, and re-installed my Report Builder.

Calculate age in a function

$
0
0

I am trying to calculate and return the age of a person. My code is:

    <cfset variable.age = '(dateDiff("yyyy",query.birthdate, now()))'>

I get a "If the expression is a string, ensure that it is within quotes. Error: report.ModStat(query.soc_sec)

is not a valid ColdFusion expression." error message when I try to run the report.

Any help would be appreciated.

Thanks.

Viewing all 38309 articles
Browse latest View live




Latest Images