Writing and including our own customer data source to Crystal Report Design
Hi,
I need to create a Crystal Report based on a locally stored XML and schema. I can do this but the issue Iu2019m facing is that some tags used in the schema and the format is not supported by Crystal. So my plan is to write a database driver which will take our format and then convert it to the format Crystal supports and vise versa. To do this before writing the driver I need to know if itu2019s possible to include my custom database driver source in to the list that is shown in the Crystal Report Designer when selecting a data source to create a report. Is there such an API available so that I can plugin my data source to Crystal Report Designer? Is this at least possible to do or is there another way?
Hope you can help me.
Thanks you in advance.
Regards,
Chanaka
Hi Chanaka,
Not directly. If you base your driver on OLD DB or ODBC then it will show up in those lists.
If you are planning on selling a lot of packages then you may want to contact our OEM Sales team and sign up. You'll have more resources to do customized features like this. Not sure if we can but the option is there.
Thank you
Don
Similar Messages
-
How to create a report using XML data source from Crystal Report Designer
Hi,
Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
Thank you in advance.
Regards,
Chanaka
XML
<?xml version="1.0" encoding="UTF-8"?>
<CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
<CUSTOMER_ORDER_CONF_REP>
<ORDER_NO>D555809</ORDER_NO>
<PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
<AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
<CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
<CUST_NAME>Mr.Johan Matts</CUST_NAME>
<SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
<SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
<SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
<SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
<BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
<BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
<BILL_ADDR_3>Watthala</BILL_ADDR_3>
<BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
<CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
<CUSTOMER_FAX>112984639</CUSTOMER_FAX>
<CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
<ORDER_LINES>
<ORDER_LINE>
<LINE_NO>1</LINE_NO>
<CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
<PRICE_TOTAL>1200</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID xsi:nil="1"/>
<CHARACTERISTIC_VALUE xsi:nil="1"/>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>2</LINE_NO>
<CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1500</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>3</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>3</LINE_NO>
<CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
<PRICE_TOTAL>1000</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>4</LINE_NO>
<CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1350</PRICE_TOTAL>
<DISCOUNT>10</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>5</LINE_NO>
<CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
<PRICE_TOTAL>400</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>2</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
</ORDER_LINES>
</CUSTOMER_ORDER_CONF_REP>
</CUSTOMER_ORDER_CONF_REP_REQUEST>
XSD
<?xml version="1.0" encoding="UTF-8"?>
<?report module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
<xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
<xs:complexType>
<xs:all minOccurs="1" maxOccurs="1">
<xs:element name="CUSTOMER_ORDER_CONF_REP">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="50">
<xs:element name="ORDER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUST_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ORDER_LINE">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="39">
<xs:element name="LINE_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="CHARACTERISTIC_ITEM">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="6">
<xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>Hi Sourashree,
Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
1. New Report
2. From Create New Connection-> XML
3. Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
4. Provide the u201CLocal Schema Fileu201D -> Finish
Then I can see the following under XML
+ CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
And from here if I add the following three I can get all the fields I need to the report
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
Date
Order number Authorized code
Customer No
Name
Phone
Fax email
Shipping address 1 Billing Address 1
Shipping address 2 Billing Address 2
Shipping address 3 Billing Address 3
Shipping address 4 Billing Address 4
Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026 LINE_NO CUSTOMER_PART_NO CUSTOMER_PART_DESC SALE_UNIT_PRICE PRICE_QTY DISCOUNT PRICE_TOTAL
Characteristic details belonging to Order line 1 CHARACTERISTIC_ID 1 CHARACTERISTIC_VALUE1
CHARACTERISTIC_ID 2 CHARACTERISTIC_VALUE2
CHARACTERISTIC_ID 3 CHARACTERISTIC_VALUE3
Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 2
Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 3
Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 4
Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 5
How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
Regards,
Chanaka -
How to register/configure a Data Provider with Crystal Report Designer
Hi,
Iu2019m in the process of developing an ADO .Net XML Data Provider which works with Data Sets. I want to use this custom Data Provider through Crystal Report Designer 2008 so that I can access it from the u201CStandard Report Creation Wizard\Available Data Sourcesu201D section. How can I do this? I read the following in the u201Ccreating custom adddins.docu201D documentation.
u201CCrystal Reports (CR) 2008 installs a new managed dll called DotNetExternalCommandAdapter.DLL and installs it into the Global Assembly Cache (GAC). CR 2008 uses this dll to search and load files with a csc prefix in CR 2008u2019s AddIns subdirectory in a similar way it looks for database drivers, export drivers and UFLs. To create an Add-In the developer needs to reference this dll and inherit two classes from it, ICommand and ICommandDLL.u201D
I have the following questions,
1) As it mentions above how can I make Crystal find my custom Data Provider when it searches for the database drivers?
2) Is there another class I can inherit from when creating my custom data provider? If so where can I find some documentation regarding this?
3) Can I register my custom data provider in to the GAC and will Crystal find it if so how can I register my custom Data Provider? Will GACUtil work for Crystal as well?
Thanks in Advance,
Regards,
ChanakaBaron, thank you for providing that link.
Chanaka see if that article helps you out. It should - had I got to this thread earlier, I'd have sent that link also. Certainly DE place to start.
Ludek -
2.5 GB CSV file as data source for Crystal report
Hi Experts,
I was asked to create a crystal report using crystal report as datasource(CSV file that is pretty huge (2.4Gb)). Could you help with me any doc that expalins the steps mainly with data connectivity.
Objective is to create Crystal Report using that csv file as data source, save the report as .rpt with the data and send the results to customer to be read with Crystal Reports Viewer or save the results to PDF.
Please help and suggest me steps as I am new to crystal reports and CSV as source.
BR, Nanda KishoreNanda,
The issue of having some records with comma and some with a semi colon will need to be resolved before you can do an import. Assuming that there are no semi colons in any of the text values of the report, you could do a "Find & Replace" to convert the semi colons to commas.
If find & replace isn't an option, you'll need to get the files separately.
I've never used the Import Export Wizzard myself. I've always used the BULK INSERT command
It would look something like this...
BULK INSERT SQLServerTableName
FROM 'c:\My_CSV_File.csv'
WITH (FIELDTERMINATOR = ',')
This of course implies that your table has the same columns, in the same order as the csv files and that each column is the correct data type to accept the incoming data.
If you continue to have issues getting your data into SQL Server Express, please post in one of these two forums
[Transact-SQL|http://social.msdn.microsoft.com/Forums/en-US/transactsql/threads]
[SQL Server Express|http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/threads]
The Transact-SQL forum has some VERY knowledgeable people (including MVPs and book authors) posing answers.
I've never posed to the SQL Server Express but I'm sure they can trouble shoot your issues with the Import Export Wizard.
If you post in one of them, please copy the post link back to this thread you I can continue to to help.
Jason -
Hierarchical Data Source in Crystal Reports Options
We are trying to use Crystal Reports in VS2005 and set the data source
to a list of our objects.
Dim list As New BindingList(Of Payslip)
Dim Report2 As New CrystalReport2()
Report2.SetDataSource(list)
This works fine when we are just considering the Payslip class in
isolation. However we have a property on Payslip which contains a list
of another class Element.
Public Property Elements() As BindingList(Of Element)
Get
Return _Elems
End Get
Set(ByVal Value As BindingList(Of Element))
_Elems = Value
End Set
End Property
We would like to be able to display the Elements in the report, in a
sub report ideally. However we cannot find a way of doing this. We can
tell Crystal Reports how to link an Element to a PaysSlip, but not how
to get to the Elements in the first place (i.e. by going through the
property called Elements).
How can we achieve this?The fundamental data model of Crystal Reports is relational and not object hierarchial.
Are you able to transform the object hierarchy to a relational model?
Sincerely,
Ted Ueda -
Update data source in Crystal report
hi there
i have some CR in PROD, now they are needed to do a test in DEV first, when i refresh the report, it will prompt to ask me login, so i choose to login to DEV system, but i found some reports are not updated to the DEV, some do, i also found those reports failed to update to the DEV because they have sub reports
is there way to update data source for those reports with sub-reports when i login to DEV?
thanksClick on Database, Set Location and choose your Database and server. Highlight the connections and click on the OK or Update button. Do this for each table also and for each subreport.
Thank you
Don -
Crystal Reports Server 2011 and BW 7 as a data source for uploaded reports.
Hello,
I am hoping someone can provide me with a clear answer for this.
Lets assume..
1. We are running crystal reports server 2011 and BW 7
2. We want to publish a report in the BI Launch pad so users can view it
3. Can we create a crystal report in the report designer with the data source as BW 7 then upload it to the reports server and have it run on-demand and Run over night?
Can anyone shed some light in this area?
kind regards
davidHi,
Crystal Reports Server is not supporting the SAP Integration Kit. You will need BusinessObjects Edge or BusinessObjects Enterprise
regards
Ingo Hilgefort -
Best Data source for Crystal Reports
Hi Experts,
We have decided to use Crystal Reports 2008, for our project & advised to use BO Universe(based on Dimensional model) as data source against using the Dimensional tables directly(in Oracle).
Since the Universes are based on Dimensional model, typically I have to link two or three Universes for each report. I am concerned about the query performance time involved for the Universe approach vs. using the Dimensional tables directly.
I understand Universe as Meta-Data layer that hides all the database complexity from the end-user, and is a favorable option for Adhoc reports created by end users.
But for developers who are going to create 400 odd reports, I don't see any advantage that Universe brings, compared to linking the tables at Crystal Designer.
And we do not want to write customized Stored Procedures for every report, so our options are Universe/ Oracle tables.
Appreciate any help from you on helping my process.
Thanks.IMHO, the Universe is fantastic for sophisticated end users (who have a general knowledge of logic or a logical mind) to build ad hoc reports. (Less sophisticated users should not be given the ability to design reports.) It should not be used for production reports that will run frequently, as performance can deteriorate quickly. (This is particularly true if you design the universe with the intent to build multiple reports off of one logical view. You tend to do a lot of extra work to gather data that is not needed for the task at hand. Our universe was designed this way - before I got here... I tend not to use it on new reports...)
There is no question in my mind that direct SQL will be the most performant way to develop the reports. In fact, I'd even suggest using SQL Commands as the basis for the reports so the database does all of the heavy lifting of table linking, record selection, sorting, and summarizing. That's what databases are built to do! (I know Crystal is supposed to push what it can to the database, but its definition of what the database can do is very generalized, so a lot ends up on the Crystal server.) This is particularly true if the Crystal server is not the same box as the database server; you don't want to pump huge volumes of data over the network! The downside to this is that some logic tends to get duplicated. This can be minimized by creating additional data (fields, tables, or aggregate tables) in the database, which are populated by one program (where the logic resides) and used by all of the reports. (For example, "definitions" based on data values should be table driven.)
HTH,
Carl -
Web service as a data source in Crystal Reports 2008
Post Author: jpdv
CA Forum: Data Connectivity and SQL
I've tried to setup a new report using a web service as a data source.
Untill now, I have not been successful. I always get the same error: unable to log on to data source.
Is there any sample that I can try so that I understand what I'm doing wrong?
Or any documentation on the subject?
Thanks.Having the same issues here also.
I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
Only thing I can guess is that the schema is "untyped"
So, nobody in SAP has a solution? -
Custom data labels in Crystal Reports charts
Hi,
I have a problem with charts in Crystal Reports. The notation prescribe e.g. that positive values appears a plus (+21) and negative values a minus (-21).
The problem is, that I canu2019t assign custom values to the data labels (e.g. the value is 20 but I want to show +20 or 18 or something else).
Furthermore, its a problem that I can't scaling depending on a formula field. This is required that all charts in the report have the same scale and are dynamically depending on the values in the report.
I need a solution to both problems, or a workaround.
Thanks in advance
KevinPlease re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551 -
Universe as data source for Crystal Reports
Are there any issues in using a Universe as the data source for a crystal reports? We are using Business Objects Enterprise XI R2 and Crystal Reports XI R2.
Thanks in advance for your response,
Garet WickerHi,
We can have a parameter from a Universe, following are the steps which will create the report which is based a Universe with a parameter.
-connect to the universe and you will a Query Panel.
-drag some objects in the Result Objects field. Ex. Country, Revenue.
-then drag an object in the Query Filter. Ex. Country.
-then a new window will appear as Filter Editor.
-Select the prompt option and also select the check box as u201CSelect only from listu201D.
-Click on Ok.
When you refresh the report then there will be a parameter prompting for the Country field. Also you will see a parameter created automatically in the parameter list.
However if you try to create a new parameter (without modifying anything from the query panel) by with the following workflow then there is no option to select the field for the parameter.
-Right click on Parameter fieldsu2014New parameter.
-When you click on the drop down list in the u201CValue Fieldu201D list there are no available fields/objects.
Hence we can create a parameter in CR which is connected to the Universe with the steps mentioned above.
I hope this helps you.
Regards,
Prashant. -
Error ora-24338 happened when change data source on crystal report
Hi Guys:
I made a report on my test envariment (this report involve stored procedure and it return a ref cursor from oracle database to the report). after i test it, i decided to move this report to the production database. However when i updated the database location, it shows me the following error:
database connector error: 'ORA-24338': statement handle not executed [database wender code: 24338]
then it shows:
some tables could not be replaced, as no match was found in the new data source. please spacify the table required for any unmodified tables.
then it shows:
database connection error
all the tables and code in test database and production database are same.
anyone can help me?
thanks
Howardafter you went to database
set datasource location
updated it.
did a mapping box come up
did you then verify the database to pull in the new records or tables?
i would run the query on the server to see if it returns values.
you may also need to set your overqualified table name
database
set datasource
locate the table or sp in the top box
the + next to the sp or table
click
open properities +
overqualified table name F2
enter the table or sp in there
then verify your database and try to run against the prod server -
Delta on Customized Data Source
Hi all,
Our requirement is we want to make one customized data source as delta enable. First is it possible? please give me some document or share real experience so that it will be easy to explain to the peoples out here.
I need a detailed explanation please.
amitHi,
This can be done as you will need a date field or a numeric pointer orr timestamp kind of field in the data source to make it delta enabled.
Here is the link on how to make generic data source and make them delta enabled.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Thanks
Ajeet -
Custom Data Source in CMC does not work
Hi there,
Server : Crystal Reports Server 2008 V1
Designer : CR 2008
I have several reports that are originally set located to ODBC DSN1. I deployed this report to the server and in CMC, updated the database configuration in CMC as below.
Enabled "Use Custom Data Source Information"
Specified a new ODBC DSN2, user id, password, fully qualified table prefix for the new database etc.
I can see that the report is running against the new database, and the data is selected, but the output is always blank.
But if I open the report in CR 2008, set locate the report to the new database DSN2, deploy again and use "original data source information", it works just fine. I have noticed this issue mainly with reports having sub-reports.
Is there a solution to this problem. I don't want to set locate each report and deploy to the CMC if I have an option.
Thanks for the help.
AjithI believe that the connection details are stored as part of the CR itself. Therefore if you update a connection in the CMC that might not change the parameters and credentials, especially when using sub-reports.
Hope this helps...
Martijn van Foeken
Focuzz BI Services
http://www.focuzz.nl
http://nl.linkedin.com/in/martijnvanfoeken
http://twitter.com/mfoeken -
Our Windows PC crashed with all our music on it. There are copies of both purchased (thru iTunes store) and from our own CDs on an external HD in a backup file. They are not linked to a Media file. Is there any way I can put this music on my new computer?
The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
https://discussions.apple.com/docs/DOC-3141
Maybe you are looking for
-
Safari crashes when trying to restore windows after Lion update.
I just got the OS X 10.7 Lion update, which I must say, is awesome. However, whenever I open Safari, it attempts to restore my previously opened windows, and freezes. After about 30 seconds, it closes and shows the crash report. When I start it up ag
-
Error on saving a .rpt in the Enterprise-Folder
Hello, i have a special problem in saving a Crystal Report in the Enterprise-Folder of the BO-Server. The reports is based on xml-files and has serveral dynamic parameters, which are used in the Selection Formulars for the Record Selection. On creati
-
PDF and MSWord links don't work once published
Help, I have created a four module course and published it using aggregate, it looks great except none of the links to the pdf or msword docs work. I have tried several suggestions, but nothing works when the course is launched on another computer.
-
Spry drop-down nav bar not working in Netscape 7
Hello My site is up at www.Frontiers.uk.net. I built a drop down navigation menu using Dreamweaver's new Spry feature. It works fine in IE 6 & 7, Firefox & Mozilla, but in Netscape 7 (the only Netscape I've tested), the dop-down menus don't always ap
-
Adobe CC all applications will not install
Whenever I go to download something it gets to about 42% then I get this error ( http://prntscr.com/5jhg1n ) I have restarted my computer 4 times, closed all CC operations inside task manager and restarted. None of it is working. I'm a Graphic design