RTF Formatting Issue for a Conventional Report
Hi,
I have started using XML Publisher. I am unable to do one of my requirement to design the RTF template because of following issues. My report should look like this.
|....|........................|.....................|
|....|....Name...........|.......Value......|
|.1..|......AAA..........|........100........|
|.2..|......BBB..........|........200........|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|....|.......................|......................|
|..........Total..........|....Cont./Sum...|
|..................................................|
|.............................Page.X.of.Y....|
I have a requirement to design a template in RTF like the one shown above. Here I wanted to place a page break as soon as the group member records are printed. And I need to print the sum (this is already stored in a tag in the XML) against Total. But, if the number of records are more than what can be accomodated in a page, I need to print "Continued.." and till it come to the last page where i can print the sum. Also, I need to display the page number right below the Total.
I have created the basic design, but I have the following issues:
I have placed the Total section in the footer and then, Page break (both with Ctrl-Enter and <?split-by-page-break:?>) doesn't seem to be working.
If i place the Total in the body section, i need to print remaining part of the body with dummy lines, otherwise, the Total will come right below the last record. I want the Total to be in the bottom of the page.
Any help in resolving this is very much appreciated.
Thanks,
Joby
This problem has been solved in 5.6.1 - you can now have a different page format
for the last page, so you could put the summary table into the footer of the last page.
Please check "Last page only content" in the 5.6.1 user guide (page 2-46)
Hope that helps,
Klaus
Similar Messages
-
Load time issue for the Crystal Reports
Hello All
My reports take painstakingly longer time to load and display due to the number of records it has to display (~10000 records)
Currently i use the loop approach to provide the logon info for all the reports/subreports. This is the place where i presume it is taking time.
crTables = crReportDocument.Database.Tables
' Loop through each table in the report
For Each crTable In crTables
crLogOnInfo = crTable.LogOnInfo
' Set the connection information for the table in the report.
crLogOnInfo.ConnectionInfo.ServerName = DB_SERVER_NAME
crLogOnInfo.ConnectionInfo.DatabaseName = DB_NAME
crLogOnInfo.ConnectionInfo.UserID = DB_USER
crLogOnInfo.ConnectionInfo.Password = DB_PASSWORD
Log("set login info to main table " & crTable.Name & " location " & crTable.Location)
crTable.ApplyLogOnInfo(crLogOnInfo)
Next
Can i use the following approach instead to provide the same functionality to avoid such nasty loops??
crReportDocument.DataSourceConnections[0].SetConnection(DB_SERVER_NAME, DB_NAME, DB_USER, DB_PASSWORD);
crReportDocument.Refresh();
Thanks in advance
Srivatsa
Edited by: Srivatsa Haridas on Nov 10, 2008 11:02 AMYou need the "loop part" - at least I'd be way more comfortable if you use it. From my experience, you have a more robust app when you loop through the tables.
reason I asked about subreports; if a subreport is inthe detail section and you have a 1000 records in the detail, and the subreport runs per record, you are essentially running 1000 + 1 reports. Obviously this will take a significant amount of time. As it is even 10 to 15 subreports is quite significant as you are running the subreports plus the main report... Possibly the best way for you to compare the speed is not run the report in a CR designer.(e.g.; what I am asking is; OK, the report is slow. Compared to what?) As you are using CR 10.2, I'd recommend downloading an eval of either CR XI r2 or CR 2008 and see how the reports perform there. If the performance in the designer is slow, it will not get any faster at runtime.
The evals can be downloaded from here:
http://www.businessobjects.com/products/reporting/crystalreports/eval.asp
Also will the below line work for my subreports too ?
crReportDocument.DataSourceConnections(0).SetConnection(DB_SERVER_NAME, DB_NAME, DB_USER, DB_PASSWORD)
- it will, as long as the subreports are using the same connection type as your main report. However I really would not get hung up on loop v.s. no loop. As a matter of fact, this subreport database logon uses loop s as well and it is the recommended way of connecting the subreports:
'Log on subreport
crSubreportDocument = crReportDocument.OpenSubreport("Ron")
crConnectionInfo = New ConnectionInfo
With crConnectionInfo
.ServerName = "Rcon1"
.DatabaseName = "Northwind"
.UserID = "tech"
.Password = "tech"
End With
crDatabase = crSubreportDocument.Database
crTables = crDatabase.Tables
For Each crTable In crTables
crTableLogOnInfo = crTable.LogOnInfo
crTableLogOnInfo.ConnectionInfo = crConnectionInfo
crTable.ApplyLogOnInfo(crTableLogOnInfo)
Next
Ludek
Regards -
Number formatting issue in Web intelligence report
Folks ,
I've an object called ' Serial number' (12 digits long) but when I set this in query filter as a prompt number format gets changed.
Similar like this:
whereas I am expecting to see 123456789123 something like this.
I made sure that object data type is number while designing universe as well as also format the object ( using format object option) and set as ############. ( 12times #) to forced as 12 digits number.
When I drag this object in 'result objects' results shows fine but if i add this as 'Query Filters' number gets changed as above pic.
Any advise ?
Cheers,
iTanzirHai Itanzir
Try to create a dimension variable in universe and choose the data type as string. Please check this and let me know for issues, if any.
Regards,
Amala.S -
Format question for a ABAP report
Hi experts,
Exist a way to create or use a format to print an output of an ABAP report that adjust to the screen? I have a Abap report that in the output have some subtrees for the information displayed.... but if the user expand a lot the subtrees when he or she print the document they see the leters and numbers very small or whitout some columms.... How can I create a format to fix this or what is the way ?
Thanks for the help!Please.... I need help in this topic.... any suggestions?
Thanks! -
ACI - Date Range issue for Sales Details report
I am working on ACI setup for one of my client. I set everything us as per documentation.
This is regarding ‘Sales Details’ (Public Folders > ATG > Commerce > Sales > All Sales) report.
Report is being generated if I select ‘Date Range’ under ‘Time Period’; but if I select ‘Predefined’ I get below errors:
RQP-DEF-0177
An error occurred while performing operation 'sqlPrepareWithOptions' status='-9'.
UDA-SQL-0107 A general exception has occurred during the operation "prepare".ORA-32035: unreferenced query name defined in WITH clause RSV-SRV-0042 Trace back:RSReportService.cpp(758): QFException: CCL_CAUGHT: RSReportService::process()RSReportServiceMethod.cpp(239): QFException: CCL_RETHROW: RSReportServiceMethod::process(): promptPagingForward_RequestRSASyncExecutionThread.cpp(774): QFException: RSASyncExecutionThread::checkExceptionRSASyncExecutionThread.cpp(211): QFException: CCL_CAUGHT: RSASyncExecutionThread::run(): promptPagingForward_RequestRSASyncExecutionThread.cpp(824): QFException: CCL_RETHROW: RSASyncExecutionThread::processCommand(): promptPagingForward_RequestExecution/RSRenderExecution.cpp(593):
Has anybody come across this issue?
Any help in this regard will be highly appreciated.
Thanks,
MukeshContact Oracle support. I think we've seen this one before if using a particular version of Oracle(11.1?). There's a particular version of Oracle that doesn't support queries in a WITH clause that aren't referenced in the main query. Cognos seems to generate these types of queries not knowing that the version of Oracle doesn't support it. According or Support Article ID 1063400.1 you can patch this particular problem with Oracle or you can upgrade to Oracle 11.2. I also think that was a to get Cognos to generate an alternative query that doesn't use the WITH clause at all. Something about disabling the use of WITH in all queries by making a change to the report definition or alternatively a global change to the metadata model.
Good luck...
Andrew -
Format issue for Number field in af:query. Is it an ADF Bug?
Hi OTN,
Requirement : Format DepartmentId in query panel
I have created a view criteria from Employees table (HR Schema). I have four view criteria items called EmployeeId, DepartmentId, Firstname, LastName and all the items having validation property as Selectively Required. DepartmentId attribute have UI Hints property as Format Type = Number and Format = *0000* and Auto Submit=true.
But in UI, I am not able to do search from af:Query panel. It works fine without setting UI Hints property Format Type* and Format
Step 1 : Enter 123 in DepartmentId field
Step 2 : Click Search Button
Error : Please provide a value for atleast one of the indicated fields
Error Screen : http://www.freeimagehosting.net/24d51
Please check the below link for downloading the sample application
http://formatissue.googlecode.com/svn/trunk/FormatTest/FormatTest.zip
http://formatissue.googlecode.com/svn/trunk/FormatTest ( SVN version)
Note:
JDev Version : 11.1.1.5.0
I am using ADF BC and ADF Faces Components
Any recommendations fully appreciated
Thanks,
Dinil Mithra
Edited by: Dinil Mithra on Nov 23, 2011 4:51 PM
Edited by: Dinil Mithra on Nov 23, 2011 5:21 PMPlease find the metadata for VO attribute and View Criteria
<ViewAttribute
Name="DepartmentId"
PrecisionRule="true"
EntityAttrName="DepartmentId"
EntityUsage="Employees"
AliasName="DEPARTMENT_ID">
<Properties>
<SchemaBasedProperties>
<CONTROLTYPE
Value="edit"/>
<FMT_FORMATTER
ResId="model.EmployeesView.DepartmentId_FMT_FORMATTER"/>
<FMT_FORMAT
ResId="model.EmployeesView.DepartmentId_FMT_FORMAT"/>
<AUTOSUBMIT
Value="true"/>
</SchemaBasedProperties>
</Properties>
</ViewAttribute>
<ViewCriteria
Name="EmployeesViewCriteria"
ViewObjectName="model.EmployeesView"
Conjunction="AND">
<Properties>
<CustomProperties>
<Property
Name="displayOperators"
Value="InAdvancedMode"/>
<Property
Name="autoExecute"
Value="false"/>
<Property
Name="allowConjunctionOverride"
Value="true"/>
<Property
Name="showInList"
Value="true"/>
<Property
Name="mode"
Value="Basic"/>
</CustomProperties>
</Properties>
<ViewCriteriaRow
Name="vcrow103"
UpperColumns="1">
<ViewCriteriaItem
Name="EmployeesViewCriteria_vcrow103_EmployeeId"
ViewAttribute="EmployeeId"
Operator="="
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="EmployeesViewCriteria_vcrow103_DepartmentId_EmployeesViewCriteria_vcrow103_DepartmentId_itemHolder_vcrow105_DepartmentId"
ViewAttribute="DepartmentId"
Operator="="
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="FirstName"
ViewAttribute="FirstName"
Operator="CONTAINS"
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
<ViewCriteriaItem
Name="LastName"
ViewAttribute="LastName"
Operator="CONTAINS"
Conjunction="AND"
Required="SelectivelyRequired"
GenerateIsNullClauseForBindVars="false"/>
</ViewCriteriaRow>
</ViewCriteria> -
Why's the SQL format different for the same report on different PCs?
I have 2 PCs running the same version of Crystal Reports (11.0.0.1994) using an identically configured system DSN with the exact same driver. When I view the SQL that CR is using on PC 1, part of it looks like this:
" FROM {oj (("PUB"."LOQEstimate" "LOQEstimate1" LEFT OUTER JOIN "PUB"."LOQComponent" "LOQComponent1" ON ("LOQEstimate1"."Estimate-ID"="LOQComponent1"."Estimate-ID") AND"
On PC 2 it looks like this:
"FROM "PUB"."LOQEstimate" "LOQEstimate1", "PUB"."LOQComponent" "LOQComponent1", "PUB"."CustContact" "CustContact1", "PUB"."LOQSegment" "LOQSegment1"
WHERE"
It's the exact same report. Can someone tell me why the SQL is different?
TIA for the help.Thanks for the reply, Patrick. Here are the answers you requested:
1. Verify you are indeed using the same driver, and they are of the same version
The driver on both PCs is the Progress OpenEdge 10.1A driver. The file is pgoe1021.dll, version 05.10.0037.
2. Verify if you have the same database client install on both computer.
Both use prowin32.exe, v10.1.1.1326
If everything is the same, then it might be a registry key, and in this case, can you provide the following information:
1. What database are you connecting to? ( Oracle, DB2, ... )
Progress OpenEdge 10 RDMS (/community [original link is broken])
2. What is the version of the database?
10.1A
3. What is the version of the database client?
v10.1.1.1326
4. How are you connecting to your database? ( Native, ODBC, OLEDB,... )
ODBC
5. If you are connecting via ODBC, what is the name of the driver used and it's version?
The driver is the Progress OpenEdge 10.1A driver. The file is pgoe1021.dll, version 05.10.0037.
6. What is the SQL query syntax do you prefer? ( PC 1, or the one generated on PC 2 )
The SQL generated on PC1 doesn't return any records. The SQL generated on PC2 does. Records are preferable ;o) -
Formating issue after export crystal report to excel format
Hi Everyone,
I have a crystal report devloped in crystal 8.5 and i am calling this report from my .net windows application. I have a problem when i export the report in excel format. One of the column size(which is report footer) gets increased because of which my report is not properly formated. I have reoved all the blank lines and extra space but still i am not able to reduce the column size. Any help will be appriciated.
Thanks in advance.Hi,
Please let us know the Visual Studio Version that you are using, just to inform you, VS2005 is compatible with CRXIR2 and above and VS2008 is compatible with CR2008 + SP0.
Do the report display properly from the designer? Does the Export from the designer in xls works fine?
Thanks,
AG. -
Obiee 11g upgrade issue for date format
Hi,
I am facing a date format issue with obiee 11g report. This statement cast(cast(current_date as char) as timestamp) is failing with "not a valid month" error in obiee 11g. This worked fine with obiee 10g.
I am basically trying to set the date to 12:00:00 am of the sysdate. Below is what I am trying to achieve:
timestampadd(sql_tsi_hour, 1, cast(cast(current_date as char) as timestamp)))
the above statement fails in obiee 11g.
Thanks for your help,
API dont think you need any functions to get the required output, try to set the date format as below
[FMT:timeStampShort]
If helps mark
Thanks
Edited by: Srini VEERAVALLI on Apr 23, 2013 4:18 PM
I think with format and then the below should work with no issues.
timestampadd(sql_tsi_hour, 1,current_date)
I think you are wasting time by posting here, just do it. You no need any ones permissions to do it ;)
Edited by: Srini VEERAVALLI on Apr 24, 2013 8:55 AM -
Hi,
I have done customization in Quote Print report using Reports 6i. I get the output appropriately if i select PDF format. But in RTF format, the last line of each page is not/partially displayed. Also the last character of each line is getting cut-off if it spans across entire line,(because the field/frame border line is overwriting the last character).
Please post your suggestions here on resolving the above issue.
Thanks.
Regards,
Ajith GopinathPlay with changing your frames to have horizontal/vertical elasticity of variable. There is also a Metalink note that talks about some boilerplate being truncated (not sure if that applies to you). The note is 433464.1. It says to do that following:
1. Set the environment variable: REPORTS_ENABLE_RTF_SPACING=YES
2. From Reports Builder, for the text field giving the problem, go to Layout menu Format -> Text Spacing -> Custom -> Other = 1 pts.
Both steps must be performed.
The environment variable would also have to be done on the server you are deploying reports to. -
Issue in Bi publisher report format
Hi we are generating OIM reports in BI publisher we have generated template for report in rtf format from bi publisher itself.
We have edited that template to add some details on top of column.Now if we generate report using pdf format this detail above column is at its right place.But if we change the format from pdf to excel or html the detail get shifted from its original position.
Any help on this............Please post this issue in BI section
Business Intelligence Suite Enterprise Edition -
Hi All,
I am currently working with generating reports using BI Publisher. My issue is that when I will preview the output(in PDF and RTF) format's of the newly created template, then, if the data coming from DB have some bullets or numbering, then the BI publisher output will ignore the same and will show the complete data as one single line.
For example if the data in the DB Field is like below:
The XYZ has the below sub-parts:
ABC : This again has two parts:
abc1
abc2
CDE
FGH
Then this data will appear as below in the BI Publisher output report's:
The XYZ has the below sub-parts: • ABC : This again has two parts: o abc1 o abc2 • CDE • FGH
I want the format of the data (with bullets and number's) should be maintained in the BI Publisher Report as well, but I am unable to find any solution for the same.
Any help on the same is much appreciated.
Deep Bhojin your query will u get all the columns always null when column1 is null
in your template for each group u can write like below
think G_1 as group in your xml
<?for-each:G_1[COLUMN1!='']?><?COLUMN1?><?COMMENTS?><?end for each?>
or if u are not sure u get null in both places every time u can write like below
<?for-each:G_1[COLUMN1!='' and COMMENTS!='']?><?COLUMN1?><?COMMENTS?><?end for each?> -
Hyperlink error : on Exporting crystal report to Editable RTF format
Hi , In my crystal report I have hyperlink which works normally. Now when I export this report to Editable RTF format; the hyperlink gives error "Error! Hyperlink reference not valid. "
It works for other formats.
Please helpThis issue was patched for Crystal Reports XI R1
Hot Fix Name: commonXIwin_chf.zip
Adapt Number-ADAPT00408450
Description:
When exporting a report with email hyperlink to editable RTF format,
the links do not work.
New Behavior:
This is now resolved.
Here is a link to the hotfix:
ftp://ftp1.businessobjects.com/outgoing/CHF/commonXIwin_chf.zip
If you are using XI R2 and are still encountering this, then please check that you have installed the latest service pack (SP3) - and if the issue still occurs, then this may need to be tracked as a bug again. However my understanding is that this was fixed for R2
a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite -
To save oracle Reports 6i in RTF format.
Hi to all....
I want t o save a report in RTF format in oracle 6i.Kindly help me to solve the issue.
Scernario.
After clicking the button(Ex payroll report button) in oracle forms 6i ,the Save Dialog box should be opened to save the report in RTF format.
The report previewer should not open. How to avoid the report previewer and call the save dialog box to save the report.
A timely help needed here....
With Regards
Sprity......No problem,
Try 1 of 3 Solutions...
The First Solution :*
1.open ur form > drop the pll & Delete it's plx file> save and close the form and builder > sign-in >compile & Run
(pls. notice is the internal error exists while compiling or running the form) y/n ?
2. Then,open ur form > re-attach the library
3. do the Ctrl-Shft-k and Ctrl-T > save the form > Run it.
(pls. notice is the internal error exists while compiling or running the form) y/n ?If it still fails, close the Form Builder Try...
The Second Solution :*
1.open ur form > sign-in > open the d2kwutil library, Ctrl-Shft-K *the library*> save and close it.
2. drop the attached library from ur form module > reattach it > sign-in >Pls press Ctrl-Shft-K, Ctrl-T. with the fresh new compiled version of the pll libery...If it still fails, close the Form Builder then finally Try...
The Third Solution :*
1.debug ur form >u will got a message indicating a missing DLL, its name 'd2kwut32.dll'.
2. Attached this Dll from the following path : C:ORANT\BIN directory, then the problem will be successfully solved.If it dramatically fails the am sorry .. am out of suggestions :(
But u can try if the same problem exists for other forms then i recommend to re-install ur Developper < the worest choice i am afraid to do it ...!
Best Regards,
Abdetu... -
XML Publisher report output in RTF format does not display full page
Hi,
We have one XML Publisher report, the output of report in RTF format is not getting displayed in Full Page in normal way (MS Word -->View menu --> Print layout) but we can see full page display when we do MS Word -->View menu --> Outline.
Appreciate your valuable inputs on this.
Is this a template issue or any profiles needs to be set.
Thanks
VijayDo you have any header and footer on your template?
If you have any header and footer then try to adjust it as of to display full page.
Thanks
Yasar
Maybe you are looking for
-
Error while invoking EJB lookup
Hello Outline: Two DCs, one containing some JPA code, exposing method as EJB. The other generated as WS skeleton from ESR. Code in WS method: TrainingSBLocal bean = (TrainingSBLocal) context.lookup("app.company.pl/training2ear/LOCAL/TrainingSBBean");
-
How to display the steps of a sort algorithm??
I'm having a lot of trouble trying to display the results of applying a merge sort to a set of 10 integers. The problem is not that I can't see anything on the text area within the applet, the problem is that I am getting a lot of repetitions and dup
-
Change interactive pdf to non-interactive pdf
Hi I have a requirement where by I need to take an existing interactive pdf and convert it into a non-interactive pdf. I'm using LiveCycle Forms 7.2. I know Forms can render both types of pdf's is it posible to render the form by value and not refere
-
Call transaction ANd session method very urgent
Hi, When there are 5000 records which method u prefer to use?What was the reason to choose perticular method? Regards sai
-
Why is my hard drive mostly backups?
Why is my hard drive full of backups? Okay, my computer was running low on storage space, so I decided to clean it up. Now, my storage tab in "about this mac" looks like this: What happened? Is there a secret folder somewhere where I can delete all t