Line skipping in continues report pages
Dear All,
I have a report with width 8.5 & height 11; while I am printing continuously the first page will print with out any problem and second page will skip 2 or 3 line and third page will skip 5 or 6 line so on. How can I solve this issue?
After I print the first page the second page should start form the first line of the second page, is there anyway to do this?
Regards
Jose
the two things i mentioned are usually what causes this issue. you mentioned that you set the vertical elasticity to fixed, that is actually the wrong thing.
you need to use either contract or variable. fixed or expand will keep the minimum size to what you set at designtime. only variable or contract will actually resize the frame if the content is smaller than the frame size.
if that does not help, maybe you can describe what exactly you mean by "skipping lines" .. is the overall page size correct but if you take those two pages, a certain area (e.g. headings) are printed on one page but not the other but the space is reserver, or is it more like the overall pagesize seems to be wrong and the relative position of the objects on the page shifts fom page to page (e.g. correct on pg 1, slightly shifted on pg 2, more shited on pg 3, ...)
thanks,
philipp
Similar Messages
-
How to print new main report page based on number of records in subreport?
Hi,
I've a main report which prints on a pre-printed stationary with 2 subreports in the detail section. The subreport prints multiple records. If there are more than 6 records in the subreports, a new page should be printed with all the contents of the main report and the subreports should continue with the remaining records. How can I do this? I've tried incrementing a shared variable counter in the subreport and accessed that variable in the detail section of the main report to check the counter and reset the counter to 0 if it exceeds 6. But this does not work. All the lines till it can hit page footer are printing on first page and the second page prints only the remaining subreport lines without the other details of the main report page.
The main report page uses a view which returns only 1 record. The subreport returns multiple records.
I would certainly appreciate if any one can provide a solution for this problem.
Thanks,
Ramhi Ram,
sorry, i misunderstood exactly what you wanted.
let me get this straight...
1) if there's more than 6 records in the subreport then show only the first 6 records
2) then (if there's more than 6 records) do a new page after the subreport
3) then (if there's more than 6 records) show the subreport's remaining records and the rest of the report
let know if i've got it straight.
if that is correct, you will have received another sample report that does this. in total 3 subreports are used...one is a dummy report that adds up the number of records which is used later. there's more info on the report's design mode.
cheers,
jamie -
6980 wont stop printing report pages
Help-My 6980 Deskjet has recently started printing report pages after every print job. It seems to go into quiet mode on its own, prints the job and then continues to print multiple report pages until I turn it off. Of course I'm out of warranty so no help from support.
Sorry using XP PRo with a wireless connection. No troubles there.
-
How to relate a report page to a tabular form?
I have a table called PRODUCT
SQL> desc product
Name Null? Type
PRODUCTNUMBER NOT NULL VARCHAR2(15 CHAR)
PRODUCTDESCRIPTION VARCHAR2(30 CHAR)
LOCATION VARCHAR2(10 CHAR)
WARRANTY NUMBER(4)
PRODUCTSN NOT NULL VARCHAR2(25 CHAR)
STATUS VARCHAR2(20 CHAR)Now I create a view, and based on this view I create a report page
CREATE OR REPLACE VIEW V_PRODUCT_OVERVIEW AS
SELECT PRODUCTNUMBER, PRODUCTDESCRIPTION, LOCATION, WARRANTY, COUNT(PRODUCTSN) QUANTITY
FROM PRODUCT
GROUP BY PRODUCTNUMBER, PRODUCTDESCRIPTION, LOCATION, WARRANTY;For each type of product (identified by PRODUCTNUMBER), there may be many instances (identified by PRODUCTSN). I want to put an edit button beside each record on the report page. After clicking the edit button, it will redirect to a detail page, which is based on the specific PRODUCTNUMBER, where I can add or modify products.
SELECT PRODUCTSN, PRODUCTSTATUS
FROM PRODUCT
WHERE PRODUCTNUMBER = #THE_PRODUCTNUMBER_OF_LAST_PAGE#I don't know how to accomplish this, especially how to relate these two pages, and how to pass the PRODUCTNUMBER from the first page to the second. Any idea is appreciated! Thanks!Can't run sample appliation. When I run the appliation, login using "demo/#lower_case_workspace_name#", the browser comes with error message:
ORA-06550: line 2, column 8: PLS-00201: identifier 'CUSTOM_AUTH' must be declared ORA-06550: line 2, column 1: PL/SQL: Statement ignored
Error ERR-10460 Unable to run authentication credential check function. -
Header and line item headings in new page in Sapscipts
HI,
In Main window, I am displaying the header details.
In a box below, I am displaying its item headings and item data details. Now when the no. of line items exceed the first page, they are displaying in the second page with other windows, but the header details, box and the line item headings are not getting displayed in the next page.
Can anyone help me How to get the box, line item headings and header data also in the next page..
thanks in advance........
RakeshHi Rakesh,
The header details, item headings and the box are also in the main window, thus, if the items exceeded and a next page is triggered, it will still continue to display the items until the loop ends.
what you can do is that you can make a separate /E elements for header details, item headings, box and line items. so if a new page is triggered, you can call again the elements for header details, item headings, and box, then continue with the line items.
Thanks,
M -
Oracle reports Page layout problem in HTML
Hi,
I am Using Oracle Reports6i to create my web reports. I found some problem with my reports page layout.
When I print my report from browser which is generated in html, it prints my first page's page number in begining of my second page and it continues in all pages disordering the report.
When I try to print from report builder It prints perfectly.
I want to know how do I control my page layout in html without asking user to set anything in browser each time they print.
Please try to help me with this.
Thank you
Regards
Rajesh Sharma
nulldear rajesh
i was also facing same problem,try these things it may help
change the desformat=htmlcss
destype=file
and desname=(name of file where
u want the output) ex. c:\pi.html
after that open that file i believe it wiil be alright,pls confirm me at [email protected]
bye
null -
How to get audio to continue from page to page
I need background audio to my website but I want it to play
continuously from page to page. The site is HTML based not Flash
but the audio controls will be Flash. What options do I have: I
know that frames will do it. Is there anything else straightforward
without getting into Ajax.rprprprprp wrote:
> I need background audio to my website but I want it to
play continuously from
> page to page. The site is HTML based not Flash but the
audio controls will be
> Flash. What options do I have: I know that frames will
do it. Is there anything
> else straightforward without getting into Ajax.
No, there is no straight forward solution.
Bottom line is once flash movie is closed, it stops it sound
and restarts the next
time you reopen. In order to play it uninterrupted, you can't
close it.
Frames will be the easiest and the only way to go if you have
multiple HTML documents. -
Causing a Report page to be opened in Excel or MS Word
Hello Every body
I want to redirect an HTMLDB Report page to an excel spread sheet or MS Word
in read only mode and with an order to directly send content to printer.
Can any body tell me how to procede ?
thanks in advance
sidatyI'm not sure if something like this might help...
Using SQL/XML you can build a view that is compliant with the Excel 2K3 Spreadsheet ML XML Schema. You can then folder the rows in the view as documents in the XML DB repository. When you open one of these documents in Excel Excel will treat it as worksheet.
The missing piece here would be can you embed an macro in excel that will force the document to print when it's opened...
set define off
set echo on
create or replace view DEPARTMENT_WORKBOOK_XML of xmltype
with object id
substr
extractValue
object_value,
'/Workbook/Worksheet/Table/Row[@ss:Index="2"]/Cell[@ss:Index="8"]/Data/text()',
'xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"'
1,32
as
select xmlroot
xmlconcat
xmlPI(NAME "mso-application",'progid="Excel.Sheet"'),
xmlElement
"Workbook",
xmlAttributes
'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns",
'urn:schemas-microsoft-com:office:office' as "xmlns:o",
'urn:schemas-microsoft-com:office:excel' as "xmlns:x",
'urn:schemas-microsoft-com:office:spreadsheet' as "xmlns:ss",
'http://www.w3.org/TR/REC-html40' as "xmlns:html"
xmlElement
"DocumentProperties",
xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
xmlForest
USER as "Author",
USER as "LastAuthor",
'2002-10-11T15:47:35Z' as "Created",
'Oracle Corporation' as "Company",
'11.5703' as "Version"
xmlElement
"OfficeDocumentSettings",
xmlAttributes('urn:schemas-microsoft-com:office:office' as "xmlns"),
xmlElement("DownloadComponents"),
xmlElement
"LocationOfComponents",
xmlAttributes('file://' as "HRef")
xmlElement
"ExcelWorkbook",
xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
xmlForest
'8835' as "WindowHeight",
'14220' as "WindowWidth",
'480' as "WindowTopX",
'60' as "WindowTopY",
'False' as "ProtectStructure",
'False' as "ProtectWindows"
xmlElement("HideHorizontalScrollBar")
xdburiType('/home/SCOTT/Workbooks/Styles.xml').getXML(),
xmlElement
"Worksheet",
xmlAttributes(d.DEPARTMENT_NAME as "ss:Name"),
xmlElement
"Table",
xmlAttributes
'11' as "ss:ExpandedColumnCount",
( select '' || 14 + count(*) || '' from HR.EMPLOYEES e where e.DEPARTMENT_ID = d.DEPARTMENT_ID) as "ss:ExpandedRowCount",
'1' as "x:FullColumns",
'1' as "x:FullRows"
xmlElement("Column",xmlAttributes('25' as "ss:Width")),
xmlElement("Column",xmlAttributes('75' as "ss:Width")),
xmlElement("Column",xmlAttributes('60' as "ss:Width", '1' as "ss:Span")),
xmlElement("Column",xmlAttributes('5' as "ss:Index", '75' as "ss:Width")),
xmlElement("Column",xmlAttributes('100' as "ss:Width", '1' as "ss:Span")),
xmlElement("Column",xmlAttributes('8' as "ss:Index", '100' as "ss:Width")),
xmlElement("Column",xmlAttributes('60' as "ss:Width")),
xmlElement("Column",xmlAttributes('60' as "ss:Width")),
xmlElement("Column",xmlAttributes('75' as "ss:Width")),
xmlElement
"Row",
xmlAttributes('2' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('2' as "ss:Index", '3' as "ss:MergeAcross", '2' as "ss:MergeDown",'DepartmentName' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Department : ' || DEPARTMENT_NAME )
xmlElement
"Cell",
xmlAttributes('7' as "ss:Index", 'Caption' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'ID :' )
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), d.DEPARTMENT_ID )
xmlElement
"Row",
xmlAttributes('4' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('7' as "ss:Index", 'Caption' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Location :' )
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), STREET_ADDRESS )
xmlElement
"Row",
xmlAttributes('5' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), CITY )
xmlElement
"Row",
xmlAttributes('6' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), STATE_PROVINCE )
xmlElement
"Row",
xmlAttributes('7' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), POSTAL_CODE )
xmlElement
"Row",
xmlAttributes('8' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), COUNTRY_NAME )
xmlElement
"Row",
xmlAttributes('10' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('7' as "ss:Index", 'Caption' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Manager :' )
xmlElement
"Cell",
xmlAttributes('8' as "ss:Index", 'Bold' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), m.FIRST_NAME || ' ' || m.LAST_NAME )
xmlElement
"Row",
xmlAttributes('12' as "ss:Index"),
xmlElement
"Cell",
xmlAttributes('2' as "ss:Index", 'BoldRight' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Employee ID')
xmlElement("Cell", xmlAttributes('BoldLeft' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'First Name')),
xmlElement("Cell", xmlAttributes('BoldLeft' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Last Name')),
xmlElement("Cell", xmlAttributes('BoldLeft' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Email Address' )),
xmlElement("Cell", xmlAttributes('BoldCentered' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Phone Number' )),
xmlElement("Cell", xmlAttributes('BoldRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Hire Date')),
xmlElement("Cell", xmlAttributes('BoldRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Job Title')),
xmlElement("Cell", xmlAttributes('BoldRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Salary')),
xmlElement("Cell", xmlAttributes('BoldRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), 'Commission'))
xmlElement
"Row",
xmlElement("Cell",xmlAttributes('2' as "ss:Index", 'BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID"))
( select xmlAgg
xmlElement
"Row",
xmlElement
"Cell",
xmlAttributes('2' as "ss:Index", 'BodyDefault' as "ss:StyleID"),
xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.EMPLOYEE_ID)
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.FIRST_NAME)),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.LAST_NAME)),
xmlElement("Cell", xmlAttributes('BodyDefault' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.EMAIL )),
xmlElement("Cell", xmlAttributes('BodyRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), e.PHONE_NUMBER )),
xmlElement("Cell", xmlAttributes('HireDate' as "ss:StyleID"), xmlElement("Data", xmlAttributes('DateTime' as "ss:Type"), to_char(to_char(e.HIRE_DATE,'YYYY-MM-DD"T00:00:00.000"')))),
xmlElement("Cell", xmlAttributes('BodyRight' as "ss:StyleID"), xmlElement("Data", xmlAttributes('String' as "ss:Type"), j.JOB_TITLE)),
xmlElement("Cell", xmlAttributes('Currency' as "ss:StyleID"), xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.SALARY)),
xmlElement("Cell", xmlAttributes('Percent' as "ss:StyleID"), xmlElement("Data", xmlAttributes('Number' as "ss:Type"), e.COMMISSION_PCT))
from HR.EMPLOYEES e, HR.JOBS j
where e.DEPARTMENT_ID = d.DEPARTMENT_ID
and e.JOB_ID = j.JOB_ID
xmlElement
"Row",
xmlElement("Cell", xmlAttributes('2' as "ss:Index", 'TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID")),
xmlElement("Cell", xmlAttributes
'SalaryTotal' as "ss:StyleID",
'SUM(R[-' || ( select '' || count(*) || '' from HR.EMPLOYEES e where e.DEPARTMENT_ID = d.DEPARTMENT_ID) || ']C:R[-1]C)' as "ss:Formula")
xmlElement("Cell", xmlAttributes('TableBottom' as "ss:StyleID"))
xmlElement
"WorksheetOptions",
xmlAttributes('urn:schemas-microsoft-com:office:excel' as "xmlns"),
xmlElement
"Print",
xmlElement("ValidPrintInfo"),
xmlElement("HorizontalResolution",96),
xmlElement("VerticalResolution",96),
xmlElement("NumberOfCopies",0)
xmlElement("DoNotDisplayGridlines"),
xmlElement("Selected"),
xmlElement
"Panes",
xmlElement
"Pane",
xmlElement("Number",1),
xmlElement("ActiveRow",1),
xmlElement("ActiveCol",1)
xmlElement("ProectedObjects",'False'),
xmlElement("ProectedSecenarios",'False')
),VERSION '1.0'
from HR.DEPARTMENTS d, HR.LOCATIONS l, HR.COUNTRIES c, HR.EMPLOYEES m
where d.LOCATION_ID = l.LOCATION_ID
and l.COUNTRY_ID = c.COUNTRY_ID
and d.MANAGER_ID = m.EMPLOYEE_ID
show errors
create or replace trigger DEPARTMENT_WORKBOOK_DML
instead of INSERT or UPDATE or DELETE on DEPARTMENT_WORKBOOK_XML
begin
null;
end;
show errors
pause
declare
targetPath varchar2(1024) := '/home/SCOTT/Workbooks';
xmlText CLOB :=
'<Styles xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel">
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom" ss:Horizantal="Left"/>
<Borders/>
<Font/>
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="Caption">
<Font x:Family="Swiss" ss:Bold="1" ss:Italic="1"/>
</Style>
<Style ss:ID="Bold">
<Font x:Family="Swiss" ss:Bold="1"/>
</Style>
<Style ss:ID="BodyDefault">
<Alignment ss:Vertical="Bottom" ss:Horizantal="Left"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="TableBottom">
<Alignment ss:Vertical="Bottom" ss:Horizantal="Left"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/>
</Borders>
<Font/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="SalaryTotal">
<Alignment ss:Vertical="Bottom" ss:Horizantal="Left"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/>
</Borders>
<Font/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat ss:Format="_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)"/>
<Protection/>
</Style>
<Style ss:ID="HeadDefault">
<Alignment ss:Vertical="Bottom" ss:Horizantal="Left"/>
<Borders/>
<Font/>
<Interior ss:Color="#00CCFF" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="HireDate">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Right"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat ss:Format="[ENG][$-409]mmmm\ d\,\ yyyy;@"/>
<Protection/>
</Style>
<Style ss:ID="DepartmentName">
<Alignment ss:Vertical="Center" ss:Horizontal="Left"/>
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Right" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Top" ss:LineStyle="Double" ss:Weight="3"/>
</Borders>
<Font x:Family="Swiss" ss:Bold="1" ss:Size="18"/>
<Interior ss:Color="#FFCC00" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BoldCentered">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Center"/>
<Borders>
<Border ss:Position="Top" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:Color="#FFFFFF" x:Family="Swiss" ss:Bold="1"/>
<Interior ss:Color="#0000FF" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BoldLeft">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Left"/>
<Borders>
<Border ss:Position="Top" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:Color="#FFFFFF" x:Family="Swiss" ss:Bold="1"/>
<Interior ss:Color="#0000FF" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BoldRight">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Right"/>
<Borders>
<Border ss:Position="Top" ss:LineStyle="Double" ss:Weight="3"/>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:Color="#FFFFFF" x:Family="Swiss" ss:Bold="1"/>
<Interior ss:Color="#0000FF" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BodyCentered">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Center"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font x:Family="Swiss"/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BodyLeft">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Left"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font x:Family="Swiss"/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="BodyRight">
<Alignment ss:Vertical="Bottom" ss:Horizontal="Right"/>
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font x:Family="Swiss"/>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="Currency" ss:Name="Currency">
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat ss:Format="_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)"/>
</Style>
<Style ss:ID="Percent" ss:Name="Percent">
<Borders>
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
<NumberFormat ss:Format="0%"/>
</Style>
</Styles>';
res boolean;
begin
if (not dbms_xdb.existsResource(targetPath)) then
res := dbms_xdb.createFolder(targetPath);
end if;
targetPath := targetPath || '/' || 'Styles.xml';
if dbms_xdb.existsResource(targetPath) then
dbms_xdb.deleteResource(targetPath);
end if;
res := dbms_xdb.createResource(targetPath,xmlText);
end;
commit
pause
declare
cursor getDepartments is
select ref(d) XMLREF,
substr
extractValue
object_value,
'/Workbook/Worksheet[1]/@ss:Name',
'xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"'
1,32
) NAME
from DEPARTMENT_WORKBOOK_XML d;
res boolean;
targetFolder varchar2(1024) := '/home/SCOTT/Workbooks/Departments';
begin
if dbms_xdb.existsResource(targetFolder) then
dbms_xdb.deleteResource(targetFolder,dbms_xdb.DELETE_RECURSIVE);
end if;
res := dbms_xdb.createFolder(targetFolder);
for dept in getDepartments loop
res := DBMS_XDB.createResource(targetFolder || '/' || dept.NAME || '.xml', dept.XMLREF);
end loop;
end;
commit
pause
quitThe above example assumes user SCOTT (yeah I know !), and that user SCOTT has access to the HR schema and write access to an xdb repository folder called /home/SCOTT. It will create a document for each DEPARTMENT containing the employees for that department. -
Formula - Get the remaining space available on the report page
Post Author: Gerd
CA Forum: Formula
Hello,
i need the output positions (on Page) of the last record of a group.
It is possible the get the output coordinates (Pager x and y-Position) of this record.
Or it is possible to get the remaining space available on the report page with a formula ?
The formula should look like this. (e.g.)
if OnLastRecord and
ReportFieldName.OutputPositionY > MyLimit then
..... [do something]
or is this there a property where i can get the last output position
thanksPost Author: synapsevampire
CA Forum: Formula
You'd need to keep a counter of lines used per page to do this.
The amount of space isn't a property or a functionj within Crystal itself.
Perhaps you shoukld post why and what the requirements are rather than asking that a specific architecture be used.
I' can tell that you're bright, however there just might be someone somewhere with a different way of addressing the need.
-k -
Need to avoid printing of blank lines at end of report
Hello friends at www.oracle.com ,
after printing, any report is sending some blank lines, moving paper up. It pushes printing of next page to some lines below, causing other reports to begin printing much under the correct position, and it's propagating to other reports I print later.
How can I print a report and avoid printing those blank lines below?
Printer that's being used is an Epson LQ-570+.
Thanks, and best regards,
Franklin Gongalves Jr.Hi Franklin,
What version of Reports are you running? Also, is this a character mode report?
Toby -
Report page break not correct in browser
Hi all
I have 150+ reports that I am converting from 6i to 10g. These repors print correctly in 6i (client SErver) with page break at proper places. When I run the same report on web, the page breaks in the reports are converted to lines in the html output. Also the page headers appearin the middle of the page. Page break seems to be controlled by the browser and not by report. How do I make the report page break the same way as in 6i.
any help is appreciated. We are in the middle of testing and the users will not sign off until this is resolved.
Rgds
ArvindSET
System parameter MODE = Default
On Report Level Property Sheet
Under Report Escapes
SET After Page Value =
<table style="page-break-before: always;height=0"></table>
Run reports as DESFORMAT=HTML
This will resolve the Page Break issue.
Unfortunately, printing reports from browser will generate a blank last page.
Perhaps the command line parm BLANKPAGES=NO will work for you...
I am told it does not work because printing is a browser issue not a reports issue... -
Configuring displayed line in an interactive report.
HI,
I have an interactive report that the deployment is longer than one page. When I run any of the events I do is simply reprint the report with the new changes.
This is fine when done on the first page but when done in the second or third page, and reprint the cursor is on the first page.
With sy-lilli I can know exactly which line is run the event and assign the data to a variable (X).
How can i make the report display the line that i just clicked?
I am using symbol as hotspots to trigger the event, so i would like a checkbox efect.
Edited by: carlosccc on Dec 2, 2010 9:28 PMDon't know why these meesage is being printed withaout any format.(HOPE YOU UNDERSTAND, IF YOU CAN'T, SEND MY YOUR MAIL)
Hi, Before anything, thanks.
These is your code with some changes in the AT-LINE SELECTION EVENT.
REPORT LINE-COUNT 100 LINE-SIZE 100
NO STANDARD PAGE HEADING.
DATA: v_page TYPE sy-pagno.
SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
PARAMETERS page TYPE i.
SELECTION-SCREEN END OF SCREEN 500.
START-OF-SELECTION.
sy-lsind = 0.
DO 10000 TIMES.
WRITE sy-index.
ENDDO.
IMPORT v_page FROM MEMORY ID 'V_APGE'.
IF sy-subrc = 0.
FREE MEMORY ID 'V_APGE'.
ENDIF.
SCROLL LIST TO COLUMN sy-staco
TO PAGE v_page LINE v_page.
TOP-OF-PAGE.
ULINE.
WRITE sy-pagno.
ULINE.
AT LINE-SELECTION.
DATA: example TYPE i.
example = sy-cpage.
DO 10000 TIMES.
example = sy-index + example.
WRITE example.
ENDDO.
v_page = sy-cpage.
EXPORT v_page TO MEMORY ID 'V_APGE'.
*SUBMIT zsachinest AND RETURN.
*had to comment thse code cause "zsachinest does'nt exits here LOL"
THESE HOW IT IS PRINTED AT FIRST GLANCE FOR THE PAGE 10.
10
7,057 7,058 7,059 7,060 7,061 7,062 7,063 7,064
7,065 7,066 7,067 7,068 7,069 7,070 7,071 7,072
7,073 7,074 7,075 7,076 7,077 7,078 7,079 7,080
7,081 7,082 7,083 7,084 7,085 7,086 7,087 7,088
7,089 7,090 7,091 7,092 7,093 7,094 7,095 7,096
7,097 7,098 7,099 7,100 7,101 7,102 7,103 7,104
7,105 7,106 7,107 7,108 7,109 7,110 7,111 7,112
7,113 7,114 7,115 7,116 7,117 7,118 7,119 7,120
7,121 7,122 7,123 7,124 7,125 7,126 7,127 7,128
7,129 7,130 7,131 7,132 7,133 7,134 7,135 7,136
7,137 7,138 7,139 7,140 7,141 7,142 7,143 7,144
7,145 7,146 7,147 7,148 7,149 7,150 7,151 7,152
7,153 7,154 7,155 7,156 7,157 7,158 7,159 7,160
7,161 7,162 7,163 7,164 7,165 7,166 7,167 7,168
7,169 7,170 7,171 7,172 7,173 7,174 7,175 7,176
7,177 7,178 7,179 7,180 7,181 7,182 7,183 7,184
7,185 7,186 7,187 7,188 7,189 7,190 7,191 7,192
7,193 7,194 7,195 7,196 7,197 7,198 7,199 7,200
So, if i launch the event clicking on the number 7,182
The report will display right away the first page:+
1
11 13 16 20 25 31 38 46
55 65 76 88 101 115 130 146
163 181 200 220 241 263 286 310
335 361 388 416 445 475 506 538
571 605 640 676 713 751 790 830
871 913 956 1,000 1,045 1,091 1,138 1,186
1,235 1,285 1,336 1,388 1,441 1,495 1,550 1,606
1,663 1,721 1,780 1,840 1,901 1,963 2,026 2,090
2,155 2,221 2,288 2,356 2,425 2,495 2,566 2,638
2,711 2,785 2,860 2,936 3,013 3,091 3,170 3,250
3,331 3,413 3,496 3,580 3,665 3,751 3,838 3,926
4,015 4,105 4,196 4,288 4,381 4,475 4,570 4,666
4,763 4,861 4,960 5,060 5,161 5,263 5,366 5,470
5,575 5,681 5,788 5,896 6,005 6,115 6,226 6,338
6,451 6,565 6,680 6,796 6,913 7,031 7,150 7,270
7,391 7,513 7,636 7,760 7,885 8,011 8,138 8,266
8,395 8,525 8,656 8,788 8,921 9,055 9,190 9,326
9,463 9,601 9,740 9,880 10,021 10,163 10,306 10,450
I need it to display these:
10
24,398,615 24,405,601 24,412,588 24,419,576 24,426,565 24,433,555 24,440,546 24,447,538
24,454,531 24,461,525 24,468,520 24,475,516 24,482,513 24,489,511 24,496,510 24,503,510
24,510,511 24,517,513 24,524,516 24,531,520 24,538,525 24,545,531 24,552,538 24,559,546
24,566,555 24,573,565 24,580,576 24,587,588 24,594,601 24,601,615 24,608,630 24,615,646
24,622,663 24,629,681 24,636,700 24,643,720 24,650,741 24,657,763 24,664,786 24,671,810
24,678,835 24,685,861 24,692,888 24,699,916 24,706,945 24,713,975 24,721,006 24,728,038
24,735,071 24,742,105 24,749,140 24,756,176 24,763,213 24,770,251 24,777,290 24,784,330
24,791,371 24,798,413 24,805,456 24,812,500 24,819,545 24,826,591 24,833,638 24,840,686
24,847,735 24,854,785 24,861,836 24,868,888 24,875,941 24,882,995 24,890,050 24,897,106
24,904,163 24,911,221 24,918,280 24,925,340 24,932,401 24,939,463 24,946,526 24,953,590
24,960,655 24,967,721 24,974,788 24,981,856 24,988,925 24,995,995 25,003,066 25,010,138
25,017,211 25,024,285 25,031,360 25,038,436 25,045,513 25,052,591 25,059,670 25,066,750
25,073,831 25,080,913 25,087,996 25,095,080 25,102,165 25,109,251 25,116,338 25,123,426
25,130,515 25,137,605 25,144,696 25,151,788 25,158,881 25,165,975 25,173,070 25,180,166
25,187,263 25,194,361 25,201,460 25,208,560 25,215,661 25,222,763 25,229,866 25,236,970
25,244,075 25,251,181 25,258,288 25,265,396 25,272,505 25,279,615 25,286,726 25,293,838
25,300,951 25,308,065 25,315,180 25,322,296 25,329,413 25,336,531 25,343,650 25,350,770
25,357,891 25,365,013 25,372,136 25,379,260 25,386,385 25,393,511 25,400,638 25,407,766
25,414,895 25,422,025 25,429,156 25,436,288 25,443,421 25,450,555 25,457,690 25,464,826
The exact page in with the event was launched. so the user would only see the number changing.
Edited by: carlosccc on Dec 3, 2010 3:11 PM
Edited by: carlosccc on Dec 3, 2010 3:27 PM
Edited by: carlosccc on Dec 3, 2010 3:30 PM -
Diadem REPORT Page tab feature
I just wanted to point out an annoying bug/feature of Diadem 10. not sure if it is older versions or not. When there are more pages or worksheets in a REPORT than your screen is wide, the issue appears. When you want to select a different page to view and the tab is split by the edge of the screen here is what happens.
say I want to select the split page named Page 3, where Page 1 and 2 tabs are fully visible, but Page 4 and 5 are not shown at all. I click on the split page tab for Page 3, the screen refreshes and the new Report Page is shown. I expect Page 3, the one I clicked on, to be shown. This is not the case. Page 4 is actually shown and now Page 3 tab is fully visible and the Page 5 tab is split by the edge.
The Report should not skip the page I selected to go to the next one, but should go to the actual page I clicked on.
Hope it get fixed in the next version or patch release as it is a slight annoyance. BTW, would it be possible to program it to allow a drag and drop rearrangement feature for the tabs? Okay, I will shut up now. Thanks!Hello,
following your description, I could understand what you mean. I found that you can prevent this effect by clicking on the very left of the respective tab. Maybe this helps you as a workaround.
I will inform R&D about this issue but I cannot promise that a fix will make it into the next release.
Concerning the reordering of the tabs, I will file a product suggestion.
Thanks for the feedback.
regards
Ingo Schumacher
Systems Engineer Sound&VibrationNational Instruments Germany -
Since update Remote Desktop continue report off ARDAgent.app
I have an continue report off the "ARDAgent.app" to allow the network-connections. Even after to correct this in the panel off "Firewall". This happens every time when I start up my Imac. This was starting after the last update off the Remote desktop program for about a week ago.
Does anyone knows how to solve this problem?
Otto VisserI uninstalled Apple Remote Desktop using this information from Apple, Uninstall or disable Apple Remote Desktop
I didn't have the file ~/Library/Preferences/com.apple.RemoteDesktop.plist and for some reason I actually had the ~/Library/Containers/com.apple.RemoteDesktop, which is where Apple stores App Store purchases. Once I deleted everything, the App Store updater didn't show any updates for Remote Desktop (obviously because I didn't have the application but at least this is working).
I proceeded to re-install ARD using the DVD. This is an unlimited client management disk requiring 10.3.9 or later. I got a message saying a newer version was already installed but I believe this is because it was also trying to install the client software. It stuck when trying to add a password to the administrative software so I had to force quit. The App Store updater came up with the update notice and once I clicked on it it said it was already installed (3.7.2), which it wasn't. I tried again and this time I got the following message:
At this point, I don't have a functioning ARD administrator application. I'll contact Apple and see if I can exchange my ver3.0 serial number for an App Store redemption code. I did notice I didn't have the ~/Library/Containers/com.apple.RemoteDesktop after reinstalling so somewhere along the line something got installed but it never showed up in my purchases. -
Lines truncated in classical report when called from an interactive alv rep
hi experts,
i have an alv report after clicking a field in that alv report it has to go another screen(interactive) which is shown in classical format.
the problem is when i am moving to classical format the columns are getting truncated ...i tried increasing the line size of the report but no use.can any one guide me?
with thanks in advance,
syedHi,
The only option what you have is to write like below ...
loop at itab.
if v_count = 0.
perform write_top_of_page.
endif.
".... write your report ...
v_count = v_count + 1.
if v_count = 60. "<-- you want top-of-page after 60 lines (60 records per page.)
clear v_count.
endif.
endloop.
Regards,
Srini.
Maybe you are looking for
-
How do I transfer a bought or rented movie from my IPhone to me IMac?
I just bought one movie and rented 2 on my IPhone 4. I'm just wondering how I add them to my IMac? Any help would be greatly appreciated! Thank you!
-
Best practice/pattern for flag values
I'm writing a class that has several public static final int fields that can be combined bitwise. I'm debating whether to number all the default values zero, have zero represent the defaults but NOT have public fields numbered zero, or number every f
-
EPSON DX6000 , INSTALL PROBLEM
Hi , I'm trying to install an Epson DX6000 on my iBook G3 OS 10.4.1 and it wont finish the install. It runs right through installing up to about 99% and hangs on last 12 files. I have successfully installed an Epson CX5200 & RX600 without any problem
-
Power View seems broken by Updates
We are using Power View in Excel and it seems broken since several days due maybe to Windows updates. We did test with really simple tab (2 columns, 3 lines of numbers). We found that machines without last updates continue to work but not up to date.
-
Need Help as i m new user of Blackberry
I have Blackberry 8300. I install "Blackberry Desktop software 6" to connect my phone with PC. It installed successfully. I used USB Cable to connect it. When i run the software, on start it open a new small window "Unlock Blackberry device" it show