Printable Report

I am in the process of evaluating Lightswitch HTML Client for use in an application and would need the ability to create printable reports.  There appears to not be an easy solution to creating and printing reports.  DevExpress appears to have
had a report creator but has been discontinued.  I am experienced in MS Access where reports are easy. :)  
These reports would not have charts, mostly just printable screens really.  Values from the tables and calculated fields.
Thanks!

Hi Voyagr12,
once, when I needed a cheap solution to download simple PDF reports in a VS2012 HTML application, ended up using just RDLC, WebAPI and ServerApplicationContext, here some
details from Joe Binder.
Summirizing, you need to:
design an RDLC in Visual Studio
put the RDLC in a folder on the Server, together with its own ApiController
bind your ApiController in Global.asax
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
RouteTable.Routes.MapHttpRoute( _
name:="ReportsApi", _
routeTemplate:="reports/{controller}/{mailAddress}", _
defaults:=New With {.mailAddress = RouteParameter.Optional})
'optional parm to send PDF via mail'
End Sub
navigate to the correct Server location from your screen javascript code
myapp.BrowseCustomers.PrintList_execute = function (screen) {
window.location.href = "../reports/Report";
Your ApiController GET function:
uses ServerApplicationContext to load data into RDLC
Using ctx As ServerApplicationContext = ServerApplicationContext.CreateContext()
Dim list = ctx.DataWorkspace.ApplicationData.Customers.GetQuery.Execute.ToList
Dim rpt As LocalReport
Try
rpt = New LocalReport
rpt.ReportPath = System.Web.HttpContext.Current.Server.MapPath("~/bin/YourAppName.Server/Reports/Report1.rdlc")
rpt.DataSources.Add(New ReportDataSource("Customers", list))
Catch ex As Exception
Dim err As New HttpResponseMessage(HttpStatusCode.InternalServerError)
Throw New HttpResponseException(err)
End Try
renders the report data into PDF memory stream
Dim deviceInfo As String = _
"<DeviceInfo>" + _
" <OutputFormat>PDF</OutputFormat>" + _
" <PageWidth>21cm</PageWidth>" + _
" <PageHeight>29.7cm</PageHeight>" + _
" <MarginTop>1cm</MarginTop>" + _
" <MarginLeft>2cm</MarginLeft>" + _
" <MarginRight>2cm</MarginRight>" + _
" <MarginBottom>1cm</MarginBottom>" + _
"</DeviceInfo>"
Dim mimeType As String = Nothing
Dim encoding As String = Nothing
Dim fileNameExtension As String = Nothing
Dim warnings() As Warning = Nothing
Dim streams() As String = Nothing
Dim renderedBytes() As Byte
Try
renderedBytes = rpt.Render( _
"PDF", _
deviceInfo, mimeType, encoding, fileNameExtension, streams, warnings)
Catch ex As Exception
Dim err As New HttpResponseMessage(HttpStatusCode.InternalServerError)
Throw New HttpResponseException(err)
End Try
Dim _mediaType As MediaTypeHeaderValue = MediaTypeHeaderValue.Parse("application/pdf")
Dim fileName As String = "Customers.pdf" ' myFileStoreEntry.FileMetaData.FileName
Dim memStream As MemoryStream = Nothing
Dim fullResponse As HttpResponseMessage = Request.CreateResponse(HttpStatusCode.OK)
Try
memStream = New MemoryStream(renderedBytes)
fullResponse.Content = New StreamContent(memStream)
fullResponse.Content.Headers.ContentType = _mediaType
fullResponse.Content.Headers.Add("content-disposition", String.Format("attachment; filename={0}", fileName))
Catch ex As Exception
Dim err As New HttpResponseMessage(HttpStatusCode.InternalServerError)
Throw New HttpResponseException(err)
End Try
returns HttpResponseMessage
memStream.Position = 0
Return fullResponse
So far I never applied the same solution to a VS2013 app but I think this could be a good starting point, I'm copy/pasting code and changing personal code references from an old project so please double check.
Also, I remember I wasn't able to use this solution on Azure, please take a look at
this post.
Marco

Similar Messages

  • Printable Report Query Problem

    I am attempting to develop a printable report query. I have created a report query under shared components that consists of 12 separate queries that gather data that all relates to a single page item. The intent is to create a printed PDF document for the user on demand that will display all this information about the page item that they have selected.
    The report query gathers the information and generates an XML file in the following format.
    <DOCUMENT>
        <ROWSET1>
            <ROWSET1_ROW>
                             *Data from query 1*
            </ROWSET1_ROW>
        </ROWSET1> 
        <ROWSET2>
            <ROWSET2_ROW>
                              *Data from query 2*
            </ROWSET2_ROW>
            <ROWSET2_ROW>
                              * Data from query 2*
            </ROWSET2_ROW>
       </ROWSET2>
       <ROWSET3>
           <ROWSET3_ROW>
                              * Data from query 3*
           </ROWSET3_ROW>
           <ROWSET3_ROW>
                              * Data from query 3*
           </ROWSET3_ROW>
       </ROWSET3>
    </DOCUMENT>I then took this XML file and developed an RTF template using BI Publisher desktop and imported it as a Report Layout.
    I then connected this RTF layout to the report query and ran it. I did not get the all the data to print.
    I found the reason it did not work was that the XML file that is generated from the report query is not static. The next XML file that was generated from the report query looked like this:
    <DOCUMENT>
        <ROWSET1>
            <ROWSET1_ROW>
                               * Data from query 3*
            </ROWSET1_ROW>
            <ROWSET1_ROW>
                               * Data from query 3*
            </ROWSET1_ROW>
        </ROWSET1> 
        <ROWSET2>
            <ROWSET2_ROW>
                               * Data from query 7*
            </ROWSET2_ROW>
            <ROWSET2_ROW>
                               * Data from query 7*
            </ROWSET2_ROW>
            <ROWSET2_ROW>
                               * Data from query 7*
            </ROWSET2_ROW>
       </ROWSET2>
       <ROWSET3>
           <ROWSET3_ROW>
                               * Data from query 1*
           </ROWSET3_ROW>
       </ROWSET3>
    </DOCUMENT>So I cannot develop an RTF template to display the data if I do not know where that data will appear in the generated XML.....
    Questions (I will offer several POINTS to anyone who can answer any of these questions!!!!)
    I am using APEX version 3.1
    *1. Why does the report query seem to randomly renumber and reorder the XML data it produces?*
    *2. Is there any way to make the report query output the XML data in the same order that the individual queries are ordered every time?*
    *3. Is there any way to specifically name the rowsets or rowset rows that is supported by APEX?*
    *4. Are there any other methods that I can explore to produce this report?*
    *5. Is this a problem because I am on an old release? Is this not a problem on 4.1?*
    Edited by: bhenderson on Feb 1, 2012 8:22 AM

    Thanks for your response.
    There are 12 separate queries in the report query. Each one is in a separate box on the report queries screen.
    I don't know how to post an image here, but I will try to describe it:
    The first query selects several fields relating to :P5_WIP_ENTITY_ID, which is a Work order. This query is header information about the job and should only return one row.
    The other queries get other information relating to :P5_WIP_ENTITY_ID, like part numbers that may have been issued to that job, purchases made for that job and so on. These queries may return more than one row or may not return anything.
    I have created the queries in the order that I want them to display on the form, however, when the XML is generated, ROWSET1 may have the data from the Header Query one time, then the next time it may have data from the purchase query. In other words, it does not display the data in the order that the queries appear on the report query page, and it seems to reorder the output at random.
    I have looked everywhere I could think of, but there doesn't seem to be any way of connecting or relating the separate queries. I also tried doing separate queries in one box and joining them, but there is a limit of 60 data items you can select from one query box.
    Edited by: bhenderson on Feb 3, 2012 10:01 AM

  • UCCX printable reports for Contact Service Queues displaying old data

    Hello,
    Does anyone know how to remove old data from the printable reports? I am trying to view all users listed under specific CSQs and it returns old data of users that are no longer in our system.
    -Ben

    Walter,
    Thanks for the suggestions. We are running version 8.5.1.11002-22. I strictly deal with the UCCX side of things and spoke with the CUCM admin. He advised that the extension is still active because we are forwarding all of the calls for now. Once he removes it I am sure that the name will disappear from the printable reports. If it does not disappear, you will see me posting again.
    Thanks Walter.
    -Ben

  • How to create printable report from a swing app.

    Hi,
    I have googled quite a bit and have searched the forum extensively but haven't found answers to my questions.
    I have a small swing based application (that uses jtextfields, jbuttons, jlist, etc) that collects information from user
    and stores in some variables; which are like strings, integers, hashmap, etc.
    Now this information is to be formatted and is to be printed as a report.
    Formatted as in, some part of the collected text is to be printed in certain font and other in different color and so on.
    Also the report is to be printed on a paper leaving some space at left and at the top. That means margins need to be set.
    And before all info is to be sent to printer I need to display this information in some report viewer (preview).
    How can I format certain text and set margins? (Is there some Document kind of api which allows me to set margins, change font of certain text?)
    How should I display this text / information as a print preview? (Should I use jeditorpane / jtextpane ?)
    How should I send all the information to the printer? (What java api should be used for printing?)
    The data entered by the user is not saved / persisted to any database. It's to be sent to the printer after submit button is pressed on the swing app.
    Since there is no database I couldn't use jasper-reports.
    Following are links to all threads (not useful) I found when I searched for swing / print / report in the forum :
    http://forums.sun.com/thread.jspa?forumID=331&threadID=225351
    http://forums.sun.com/thread.jspa?forumID=57&threadID=576758
    http://forums.sun.com/thread.jspa?forumID=57&threadID=570629
    http://forums.sun.com/thread.jspa?forumID=1&threadID=489905
    http://forums.sun.com/thread.jspa?forumID=57&threadID=571093
    http://forums.sun.com/thread.jspa?forumID=257&threadID=138450
    http://forums.sun.com/thread.jspa?forumID=57&threadID=583150
    http://forums.sun.com/thread.jspa?forumID=57&threadID=5399572
    http://forums.sun.com/thread.jspa?forumID=57&threadID=579619
    http://forums.sun.com/thread.jspa?forumID=57&threadID=593199
    Help would be much appreciated.

    alan_mehio wrote:
    The simplest thing to do in your case is to load the file content into the JTextArea
    then to create the header and the footer if there is any from java.text.MessageFormat
    then you invoke the print method on the JTextArea instance object> Just let me know if you are face any furrher problem
    Alan Mehio,
    I have been able to set margins and get the printout just the way I want it (after some experiments / trial & error).
    But the problem is, parameters to paper.setImageableArea() are hard coded as in the example code below :
            System.out.println("print?");
            PrinterJob printJob = PrinterJob.getPrinterJob();
            if (printJob.printDialog()) {
                PageFormat pf = printJob.defaultPage();
                Paper paper = pf.getPaper();
                paper.setSize(8.5 * 72, 11 * 72);
                System.out.println("paper width : " + paper.getWidth());// expecting 612
                System.out.println("paper height : " + paper.getHeight());// expecting 792
                System.out.println("ImageableHeight : " + paper.getImageableHeight());
                System.out.println("imageable width : " + paper.getImageableWidth());
                System.out.println("ImageableX : " + paper.getImageableX());
                System.out.println("Imageable y : " + paper.getImageableY());
                //paper.setImageableArea(108, 144, paper.getWidth() - 108, paper.getHeight() - 144);
                paper.setImageableArea(222, 244, paper.getWidth() - 222, paper.getHeight() - 244);
                pf.setPaper(paper);
                printJob.setPrintable(jTextArea1.getPrintable(null, null), pf);
                try {
                    printJob.print();
                } catch (Exception ex) {
                    System.out.println("exception while printing...");
                    ex.printStackTrace();
            }In my case the left margin should be 1.5 inches (38.1mm) and top margin should be 2 inches (50.8 mm)
    Considering 72dpi printer for a A4 size page (8.5in X 11in), the parameters to paper.setImageableArea() should be
    (108, 144, paper.getWidth() - 108, paper.getHeight() - 144);
    But the printout leaves only 1inch for top and left margins.
    Here are o/p lines for method-call with above said params :
    paper width : 612.0
    paper height : 792.0
    ImageableHeight : 648.0
    imageable width : 468.0
    ImageableX : 72.0
    Imageable y : 72.0
    When I pass the following values I get text printed with desired margins on the paper but the above printlns remain exactly the same!
    paper.setImageableArea(222.4, 244, paper.getWidth() - 222.4, paper.getHeight() - 244);
    Although I have been able to achieve what I wanted to without using 3rd party libraries,
    I feel this hard coding of values isn't a good idea and leaves a doubt whether this will work on other systems with different printers.
    My question is, how to get these numbers correct every time? Is there a formula for obtaining these numbers?
    Also formatting of certain part of to-print text is something that is yet to be figured out.
    Thanks.

  • Working with Printable Reports

    We have been running production with Crystal Reports for almost 6 months now, today we just found out, after being told numerous times from Crystal that it is not the case that "The Crystal Reports for Java Reporting Component (JRC) bundled with IBM® Rational® Application Developer for WebSphere® Software, Borland® JBuilder®, and BEA Weblogic WorkShop(tm) has been designed for dev & test environments as well as for non mission-critical workgroup application that do not have extensive demands for user concurrency" We are interested in other types of reporting or possibly licensing Crystal/Oracle App Server. I was interested in seeing some examples people may have of reports using the FOP built in to htmldb. Some of our reports are fairly complex, and many are emailed to people. If anyone can show me examples on htmldb.oracle.com of ones they have created, I'd appreciate it.
    Thanks,
    Scott

    We have been running production with Crystal Reports for almost 6 months now, today we just found out, after being told numerous times from Crystal that it is not the case that "The Crystal Reports for Java Reporting Component (JRC) bundled with IBM® Rational® Application Developer for WebSphere® Software, Borland® JBuilder®, and BEA Weblogic WorkShop(tm) has been designed for dev & test environments as well as for non mission-critical workgroup application that do not have extensive demands for user concurrency" We are interested in other types of reporting or possibly licensing Crystal/Oracle App Server. I was interested in seeing some examples people may have of reports using the FOP built in to htmldb. Some of our reports are fairly complex, and many are emailed to people. If anyone can show me examples on htmldb.oracle.com of ones they have created, I'd appreciate it.
    Thanks,
    Scott

  • Cisco Mars Printable Reports?

    Has anyone found a decent way to print reports from the MARS that doesn't look like garbage. I've tried printing straight from the web console, cut and paste to a word doc, printing to PDF and the formating on all of them looks horrible.
    Would it be that hard to put a "printer friendly" button on all the reports in the MARS?

    You can go through "Cisco Security MARS 4.2.x Documentation Guide and Warranty" document
    http://www.cisco.com/en/US/products/ps6241/products_documentation_roadmap09186a008066e2fa.html

  • Create Simple Printable SQL Reports in APEX 3.2 Without a Print Server

    Oracle Apex 3.2
    Oracle 11g
    OHS
    I thought I'd post an answer on how to get a printable SQL report in Oracle Apex without having to configure a print server. I'm sure that similar things have been posted in various other places, but I found the documentation for using custom row templates (to create a printable report) to be incomplete at best. For my needs, I was not looking for an awe inspiring report printout, but rather simple directory information printouts. For example, if you wanted a printable report to look like this:
    =================================
    CURRENT ACTIVE EMPLOYEES REPORT
    =================================
    First Name: Bob                  Employee ID: 0000000000
    Last Name: Swarts              Company Credit Card Number: 0000-0000-0000-0000
    Middle Initial: F                  Social Security Number: 000-00-0000
    First Name: Sue                  Employee ID: 1111111111
    Last Name: Johnson           Company Credit Card Number: 1111-1111-1111-1111
    Middle Initial: G                 Social Security Number: 111-11-1111
    etc.....In MS Access, doing this is very easy. From what I understand, this is also very easy to do this using PDF software with a print server. However, if you are like me, you don't want to waste time and money by obtaining and configuring a print server (even if it is free). However, never fear because you can create simple reports like this with relatively minimalistic effort; and you can do so without having to configure a print server.
    1.) Create a new page
    2.) Create a new sql query report region on the page
    3.) Make your query just as you would normally.
    For this example the query would be:
    select first_name, employee_id, last_name, company_credit_card_number, middle_initial, social_security_number from employee_table4.) Go to "Shared Components"
    5.) Under "User Interface" click on "Templates"
    6.) Click on the "Create" button
    7.) Select "Report"
    8.) Select "From Scratch"
    9.) For the "Template Class," choose one of the "custom" classes. For the "Template Type," choose "Named Column"
    10.) Click the "Create" button
    11.) Now that you created a custom row template, go back to "Shared Components" and then to "Templates"
    12.) Find your custom template and click on it
    CUSTOM TEMPLATE HOW TO
    1.) In the "Row Template 1" textbox, you are going to create some custom css that will display the data on the page. The css to make the report look like the report above would be:
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p style = "page-break-after: always">----------------------------------------------------------------</p>
    </div>
    {code}
    As you probably figured out, the numbers between the two pound signs ("#") are substitution strings for the variables in your select query in the SQL report.  As you have also probably noticed, the "page-break-after: always" line will always make it so that only one report is shown on a page.  To fix this, we will need to use logic and row template 2.
    2.)  For the "Row Template 1 Condition," select "Use Based on PL/SQL Expression" from the select list.
    3.)  In the textbox for the row template 1 expression enter in the following:  {code}substr('#rownum#',-1) = 0 or substr('#rownum#',-1) = 5{code}
    ***** This condition will make sure that this template is applied when the last digit in the row number is either a "0" or a "5."  So, only 5 reports will be displayed per page.
    4.)  Now go down to "Row Template 2" and enter in the following in the textbox:
    {code}
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p>----------------------------------------------------------------</p>
    </div>look familiar? that is because it exactly the same code as above, except without the page-break-after piece.
    5.) For the "Row Template 2 Condition," select "Use Based on PL/SQL Expression" from the select list.
    6.) In the textbox for the row template 2 expression enter in the following: substr('#rownum#',-1) != 0 or substr('#rownum#',-1) != 5***** This condition will make sure that this template is applied when the last digit in the row number IS NOT a "0" or a "5."
    7.) Scroll down to column headings and enter this in the textbox for the "Column Heading Template": OMIT
    8.) Click the "Apply Changes" button
    9.) Now go back to your application and the page you want to apply the custom report to
    10.) On the report, click on the report tab
    11.) Scroll down to "Layout and Pagination"
    12.) Click on the "Report Template" select list
    13.) Select your custom template
    14.) Click the "Apply Changes" button and run the page
    Try printing the report, if it does not print correctly, try it in Opera, Safari, Internet Explorer, Firefox, and Google Chrome. Please note that it is my understanding that only Firefox does not understand the css "page-break-after: always"
    If needed, add some css to the page to hide tabs and other items when you print.
    ~Andrew Schulltz

    DOH. Too much copy/paste.
    In my code, I was setting an application variable to contain the email address I was retrieving from AD. Once commented out, it worked fine.
              IF l_attr_name = 'mail' THEN
                 APEX_UTIL.SET_SESSION_STATE('F111_USER_EMAIL',l_vals(i));
              END IF;

  • How do I add a new worksheet to an excell file utilizing a template with the report generation toolkit?

    Hello,
    My vi is gathering data from a piece of machinery. At varrious points durring the process, my vi must create printable reports. I am using the report generation tool kit to do this. What I want to do is for every report generated durring the run, add it as a new worksheet in an Excell workbook. My excell template works fine for the initial master report and I can add new data to new worksheets. What I am having a problem figuring out is how do I add the new data to a new worksheet using an excel template? I have 5 different reports that need to be generated at different times with some more often than others. I would like all these reports to be in the
    same master excel file. Thanks in advance
    -Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Greg,
    There is no built-in support in LabVIEW to add a new worksheet to an existing Excel report simply because this functionality does not exist in the Excel application itself.
    My suggestion would be to open up the template you wish to use for the new worksheet. Copy the cells from the template and paste them into your new worksheet that you've created. Then close the original template and you have another copy of the template in which you can populate with data values.
    I have attached an example program of how to Copy and Paste a Cell in Microsoft 97 Using ActiveX in LabVIEW to this post. Hope this helps!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    XL_cell_copy_and_paste.llb ‏76 KB

  • Calling a BI Publisher report from a dynamic action

    Greetings,
    I am working with Apex 4.1.0. I have created a BI Publisher query and layout and defined them in the Shared Components for my application. I also created a button defined as 'Download Printable Report Query'. When I press the button, everything works as expected. The page variable is passed to the report and the report prints as it should.
    My question is, can I run this report using a Dynamic Action instead of a button?
    Thanks
    Larry

    Hi,
    All that such a button does is submit the page and branch to page zero passing in the request field something like this:
    PRINT_REPORT=my_report
    So, to do the same in a dynamic action, use an "execute javascript code" action with something like this in it:
    location.href = 'f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=my_report';
    Luis

  • Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?

    I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
    not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1

    Hi,
    You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
    Let me know if you have any further questions and good luck!
    Kileen C.
    NI

  • Master data reporting in SAP BW

    Hi everybody,
    we are using BW for reporting on master data. The concerned objects are all customer developments. We are experiencing problems concerning design questions and the print layout of the queries:
    Our consultant advised us to use info objects for the implementation of master data in BW and to build the info objects just as the datasources in the source system, meaning: 1 table in the source system = 1 info object in BW. What are your experiences on that?
    Second issue is, we have several long text informations. With the limitation of infoobjects to max. 60 digits, we are forced to split the contents into several infoobjects.
    How do you handle long text informations in BW? (We need a printable report.)
    Thank you for your suggestions, kind regards, Kathrin!

    Hi Kathrin,
    It's OK to build one datasource on one table in the source system and load it into one infoobject. The main thing here that if you need to link these IOs that you load appropriate attributes into IOs to be linked.
    Not knowing details it's hard to tell if this approach is the best.
    About 60 symbols limitations you can see these refs:
    Re: 60 Character Limitation - Dirk Herzog please help
    Re: Bypass 60 char limit
    Re: how to load low-case letter into InfoObject Master data
    Best regards,
    Eugene

  • Report Formatting with Dynamic Height Header/Footer

    I need to generate a printable report (pdf if possible) with a:
    1) Header - Dynamic Height based on recordset output
    2) Body - Recordset output, may carry over to multiple pages
    3) Footer - Dynamic Height based on recordset out
    In short, the whole page is dynamic- The header and footer need to be on every page and whatever height is left over to fit within the print area goes to the body and the line item output of each record (think invoice).  Then the number of pages will depend on how long it takes to output the body recordset (but the header and footer MUST be on each page).
    I have been trying to get this to work using cfdocument since CF7 and have never had any luck. It has not worked due to the reason that since the header and footer are dynamic height, I do not have any way to set the margins properly on page generation (so it shrinks the header or leaves excess whitespace).
    Anyone recommend the best way to go about this? I have heard about the report builder and am not sure if that will fit these requirements.  I appreciate any assistance!

    When the footer goes to the 2nd page the page subform is incremented so you will have to reference the page subform as well. I suggest that you add a button (this is for a test only) to the footer subform and add the code app.alert(this.somExpression). Now render the form and make sure the footer stays on one page. Hit the button and take note of the someExpression. Now add enough rows to force the footer to a new page. Hit th ebutton again and take note of the changed somExpression. So to solve your problem you will have to find out which page your footer is on. and then construct your expression to incorporate this chane in expression. Note that the indexes are 0 based but the page numbering is 1 based.
    Hope that helps
    Paul

  • Validation Report

    HELLO EXPERTS
    Can you give me some ways how will i make a validation report and how will it be able to identify what fields or specific report there is unbalanced data
    tnx regards
    Clodualdo David

    Hello Andy,
    I believe the following view - APEX_APPLICATION_PAGE_VAL - includes everything you need to generate a "regular" (printable) report - .
    Hope this help,
    Arie.

  • Record pricing conditions report

    Hello experts,
    My requirement goes like below.....
    A viewable and/or printable report is needed that will pull all open purchase orders within a time period that has a line item and material number where the price on the PO has been manually changed and is different than the purchasing info record pricing conditions and / or the contract price condition if the contract is referenced on the PO.
    Plz can anyone give me some idea so that I can develop technical specs for the above functional specs
    Its bit urgent for me
    Thanks a lot for your valuable time
    SIRI

    Hi Harvinder,
       As for my knowledge there is no Standard repot avialable in SAP for your requirement.
        You need to speak with your ABAP consultant to generate customised report. Tell him to fetch the values from table KONV which is fo condition values. Based on your requirement you need to generate customised report.
    Thanks,
    Swamy H P

  • Type of Reports available in SAP B1?

    Hi all,
    I am New to SAP B1. I created one Screen.I want to generated report for that.
    <b>I dont know how to create reports?</b>
    and
    <b>what are the type of reports in the SAP B1?.</b>
    Anyone explain Step by step.
    Regards,
    Suresh.G

    Besides XL reporter (which is a cool tool) you can also use the query generator to create custom SQL queries and then using print layout designer you can create a nice printable report.
    For more info on this go to the service market place and under the education link you can get flashbooks in the implementation and developer classes for print layout design and for custom queries.
    The last option will be using SDK and crystal reports, you can design the reports under crystal reports and then using SDK to attach those reports to the menu.

Maybe you are looking for

  • Itunes will not load. I need to sync iphone

    I have uninstalled and reinstalled with and without my antivirus enabled. I have made sure everything is updated. I have tried using a new user account. Nothing works. Anyone know what to do?

  • No visual on quicktime files

    Hello, I'm working a project where I was given some footage on a DVD. It's in Quicktime ASF and after importing it I'm getting a white screen and only audio. Any suggestions on how to fix? Thanx, John

  • FotoMagico to FCP

    Hi everybody, Please can any FotoMagico user tell me what export presets they use in FotoMagico for use in FCP. I currently have FotoMagico Express edition and use the export to DVD preset. However, when importing to FCP the quality is really poor. I

  • Error when creating a JCo destination

    Dear All, I am trying to create a JCo destination using the 'Content Administrator' but am getting the following error: "Please choose another name for the new JCo destination. The defined name 'SLD_PROBE_XYZ' is used in the SLD." It seems that whate

  • Showing the images

    Hi.I need to show the images wich are in folder images & display "No Image" for those we have not the image in the folder. I wrote this code: <cfset PhotoLocation = "e:\www\NeedBattery\images\manufacturer\<cfoutput>#getBrands.cat_level2_image#</cfout