School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 300,363 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,430 people online right now. Registration is fast and FREE... Join Now!




Converting from Crystal Reports to ColdFusion Report Builder

 

Converting from Crystal Reports to ColdFusion Report Builder

xheartonfire43x

6 May, 2009 - 08:53 AM
Post #1

D.I.C Regular
***

Joined: 22 Dec, 2008
Posts: 260



Thanked: 2 times
My Contributions
Hey all,

To my company's call tracking system I am now adding a reporting feature. We used to have to go into Crystal Reports and manually do the reporting. I am building the reports in ColdFusion's report builder so that we can access them from the web.

I was wondering if anyone knows of a way to simply convert Crystal Reports files into CFR files. There are only three of them so if not I have already begun rebuilding them, but I am very new at the Report Builder.

If there is no way to convert them then I need help with my query.
So I am building my Query and so far this is what I have

CODE

SELECT    worklist.datecompleted, worklist.workhours, client.client_name, client.contract_hours, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.completed
FROM      client, worklist
WHERE     client.clientid = worklist.clientid
  AND     (worklist.datecompleted BETWEEN '#startdate#' AND '#enddate#')
  AND     (worklist.completed = '#completed#')
GROUP BY worklist.datecompleted
ORDER BY worklist.datecompleted


I know that there is stuff in the DB to match all of that, but it returns nothing. Can anyone see and error in the query?

User is offlineProfile CardPM
+Quote Post


jac_ne@yahoo.com

RE: Converting From Crystal Reports To ColdFusion Report Builder

15 May, 2009 - 04:04 AM
Post #2

New D.I.C Head
*

Joined: 15 May, 2009
Posts: 1

QUOTE(xheartonfire43x @ 6 May, 2009 - 08:53 AM) *

Hey all,

To my company's call tracking system I am now adding a reporting feature. We used to have to go into Crystal Reports and manually do the reporting. I am building the reports in ColdFusion's report builder so that we can access them from the web.

I was wondering if anyone knows of a way to simply convert Crystal Reports files into CFR files. There are only three of them so if not I have already begun rebuilding them, but I am very new at the Report Builder.

If there is no way to convert them then I need help with my query.
So I am building my Query and so far this is what I have

CODE

SELECT    worklist.datecompleted, worklist.workhours, client.client_name, client.contract_hours, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.completed
FROM      client, worklist
WHERE     client.clientid = worklist.clientid
  AND     (worklist.datecompleted BETWEEN '#startdate#' AND '#enddate#')
  AND     (worklist.completed = '#completed#')
GROUP BY worklist.datecompleted
ORDER BY worklist.datecompleted


I know that there is stuff in the DB to match all of that, but it returns nothing. Can anyone see and error in the query?





QUOTE(xheartonfire43x @ 6 May, 2009 - 08:53 AM) *

Hey all,

To my company's call tracking system I am now adding a reporting feature. We used to have to go into Crystal Reports and manually do the reporting. I am building the reports in ColdFusion's report builder so that we can access them from the web.

I was wondering if anyone knows of a way to simply convert Crystal Reports files into CFR files. There are only three of them so if not I have already begun rebuilding them, but I am very new at the Report Builder.

If there is no way to convert them then I need help with my query.
So I am building my Query and so far this is what I have

CODE

SELECT    worklist.datecompleted, worklist.workhours, client.client_name, client.contract_hours, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.datecompleted, worklist.completed
FROM      client, worklist
WHERE     client.clientid = worklist.clientid
  AND     (worklist.datecompleted BETWEEN '#startdate#' AND '#enddate#')
  AND     (worklist.completed = '#completed#')
GROUP BY worklist.datecompleted
ORDER BY worklist.datecompleted


I know that there is stuff in the DB to match all of that, but it returns nothing. Can anyone see and error in the query?



open new coldfusion report builder pager, click on the database icon, and paste your query save it, close the screen. back the main page expand query fields and drop and drop the item on the report page, align labels and fields as you like to display them.
Before all this you need ODBC connection to connect to database, save you changes as .cfr file and create .cfm which will run your report in the browser called .cfm

<cfsetting showdebugoutput="false">
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<cfprocessingdirective pageencoding="utf-8" >
<cfscript>
SetEncoding("form","utf-8");
SetEncoding("url","utf-8");
</cfscript>

<cfset dsn = "Development"> <--datasourcename-->

<cfreport template="Estimate.cfr" format="pdf"><--filename-->
<cfreportparam name="EstimateVersion" value="1">
<cfreportparam name="estimateID" value="123"> <-- String -->
<cfreportparam name="DATASOURCENAME" value="#dsn#">
</cfreport>

hope this helps
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/7/09 08:36PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month