How do I create complex reports?

Hi,
My users need to be able to view .pdf or .rtf reports in my PHP application connected to our Oracle 10g database. I am not sure how to achieve this. Any help is truely appreciated.
Regards,
Kelly

Hey Kelly as others have said that are no tools like this in the PHP world. You can try some of the frameworks but I am not so sure where that will lead you. If you want to send PDF's, like others have said check the free PDF libraries out there.
My current favorite is Free PDF. http://www.fdpf.com or org I forget.
Generally speaking you build your query then after executing it you just have it poke the data into the fpdf functions eg:
while($row = oci_fetch_assoc($query)){
//all the line for creating the pdf elements go here.
pdf->newRow = "some tex or label" . $row['COLUMN_NAME'] ." and more text" ;
The pdf Library handles all the file sending for you so that when a user clicks on some query in the browser, then up pops their PDF all nicely formatted and read to be save / printed etc.
I hope this helps.

Similar Messages

  • How do I create a report of what is run and when on Crystal Server

    In crystal server, how do I create a report that will tell me the name of all of my reports and the time it is scheduled to run?
    I get the feeling it is in the Query Builder,  but I have no idea what the names of all of these tables are.
    Anyone ever done this or know of another way to do this?

    Please download https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/404170c1-59ae-2b10-b19f-c86764e759a5#rating and read the section titled "Auditing Reports".

  • How do we create Web Reports ?

    How do we create Web Reports ?

    Hi,
    Please find the follwoing for webreporting.
    Wad 7.0 links
    Presentation: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6dd54713-0c01-0010-8691-a3576b9a95d9
    Pdf: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cedbc9bb-0601-0010-1a8f-b9684aaf0204
    http://help.sap.com/saphelp_nw2004s/helpdata/en/83/54973910a9bc12e10000000a114084/frameset.htm
    help.sap.com
    http://help.sap.com/saphelp_nw04s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/d4fed1c60a9743ade3b4cf306d5d48/frameset.htm
    Creating Web Applications with the BEx Web Application Designer
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/b26a3b74a4fc31e10000000a114084/frameset.htm
    pdf files
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6f969190-0201-0010-2c9b-89b55c42c4d4
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b085e86e-2353-2910-0c96-9f6ab693d0e6
    E class on WAD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/8783eb70-0701-0010-7dab-8531d45da926?prtmode=navigate

  • How do i create a report that has drill-down with class?

    How do I create a report that has drill-down levels so that I can have summary information at the top level but then view specific records at a more detailed level?

    can i know ur email address.
    this is my other one coding
    but problem is very very slow when i 1 see my output
    TABLES: proj, coep.
    *&            TYPES DECLARATION                                        *
    *TYPES: BEGIN OF tb_coep,
             wtgbtr TYPE coep-wtgbtr,
          END OF tb_coep.
    DATA : int_proj TYPE proj OCCURS 0 WITH HEADER LINE.
    DATA : int_coep TYPE coep OCCURS 0 WITH HEADER LINE.
    DATA : gd_date(10). " FIELD TO STORE OUTPUT DATE
    TYPES : BEGIN OF t_date,
              year(4)  TYPE n,
              month(2) TYPE n,
              day(2)   TYPE n,
           END OF t_date.
    *&            SELECTION-SCREEN                                         *
    SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-001.
    SELECT-OPTIONS: so_pspnr FOR proj-pspnr OBLIGATORY.
    SELECTION-SCREEN ULINE.
    SELECTION-SCREEN END OF BLOCK b01.
    *&            TOP-OF-PAGE                                              *
    *&            fetch the data for the list                              *
    SELECT * INTO int_proj FROM proj where
             pspnr in so_pspnr.
    append int_proj.
    CLEAR int_proj.
    ENDSELECT.
    SELECT * into int_coep FROM coep WHERE
             wtgbtr in so_pspnr.
    append int_coep.
    CLEAR int_coep.
    ENDSELECT.
    LOOP at int_proj.
      write : / int_proj-pspnr, int_proj-post1.
    ENDLOOP.
    LOOP at int_coep.
      write : int_coep-wtgbtr.
    ENDLOOP.
    Edited by: Dickson on Jul 10, 2009 10:53 AM

  • How can I create a Report from a SWT-Application?

    Post Author: mkoch
    CA Forum: JAVA
    I'm a Developer and new to Crystal Reports and I have the job to create a Report from a SWT-Application.The report-files ( *.rpt) were created with Crystal Reports 10 or 11.> I'm not sure but I have access to a machine where Crystal Reports 10 Developer an Crystal Reports 11 Runtime are installed.Can anybody describe in detail how I can start the creation of a report from my Java-Application?> What libraries are needed, where can I get them and so on.I saw in the CR10-Setup that there is a Java-feature - but unfortunately this is not installed on my test-machine.--> Is it necessary to install this feature or can I get this files on businessobjects.com?Is it possible to start the report-creation from command-line?I saw a Java-example on the internet which uses Report.exe - but I haven't found this on my machine.I hope, that somebody can help me.GreetingsMarkus

    Inv. #
    Item
    Sale Price
    Lisa
    Oct Sold 12
    Oct Sold 12-2
    Oct Sold 12-3
    149
    Vase Lidded
    25
    201
    Bird
    7
    7
    202
    Bird
    7
    203
    Bird
    7
    204
    Bird
    7
    7
    205
    Bird
    7
    7
    206
    Bird
    7
    7
    207
    Bird
    7
    207
    Bird
    7
    7
    208
    Bird
    7
    7
    209
    Bird
    7
    7
    This is my very simple inventory.  On previous program I could sort by those items that did not have any figure in the row across.  Then I could print a report of open inventory.  Such as 149 Lidded Vase has not sales amount in the four colums across, thus it is open inventory.  How can I capture all those items in one report?

  • How do I create a report with a search button

    All,
    This may be a dumb question, but I am trying to create a report in Portal 3.0.9 with
    a search button. I created the report using the 'create report by query' option and
    that was fine. But what I really want to see is the customization page that shows
    a field and 'run report' that a user can insert a record he/she is looking for.
    For example:
    Employee Id: ________
    | Search |
    Results if user enters a valid number
    Employee Id : 1
    Employee Name : John Smith
    Employee Address: 111 Anywhere St. Anyplace USA
    I can alter the customize page to make the search page fit my needs, but how do I create
    a portlet out of the customize page and stick on my main page? When I run my report it
    calls and returns all employees.
    Thanks,
    Dan

    Hi,
    You cannot publish the customization form as a portlet. The only way you can do this is to call the customization form from the dynamic page in the <oracle> tags. You can then publish this dynamic page as a portlet on the page.
    Here is an example which calls the customization form of new_rpt2.
    <HTML>
    <HEAD>
    <TITLE>Example</TITLE>
    </HEAD>
    <BODY>
    <H2>Example of A Dynamic Page</H2>
    <ORACLE>
    begin
    <schema_name>.NEW_RPT2.show_parms;
    end;
    </ORACLE>
    </BODY>
    </HTML>
    Hope this helps.
    Thanks,
    Sharmila

  • How to properly create complex OCI objects (for Annotation Text)

    I am upgrading a tool that will upload text objects to a table with a ST_ANNOTATION_TEXT field. The app is a C++ app and I need to instantiate a ST_ANNOTATION_TEXT (using OCIObjectNew??). I actually have 2 questions. First, does anyone have an example of how to accomplish this? I seem to be unable to correctly create the annotation text type in C++ to be able to append to (calling OCICollAppend). Second, since ST_ANNOTATION_TEXT is a complex type (contains an array of annotation text elements), do I need to call OCIObjectNew on not only the main ST_ANNOTATION_TEXT type but also for the ST_ANNOTATIONTEXTELEMENT_ARRAY, ST_ANNOT_TEXTELEMENT_ARRAY, and the ST_ANNOTATIONTEXTELEMENT?
    I can't seem to find in info on this so hopefully someone else has been through this.

    user3068343 wrote:
    I am still having an issue where the sub objects are still NULL.Actually I was mistaken. I must have confused getting an Object from OCIObjectNew with using one of its constructor method in a statement.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28395/oci18nav004.htm#sthref3438 clearly state the object will have NULL attributes, unless the OCI_ATTR_OBJECT_NEWNOTNULL flag is set on the environment handle.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28395/oci11obj.htm#i446308 further tells you what the default value for the object members will be.
    An older 9i doc http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96594/adobjadv.htm#1008774 also warns about resetting the indicator struct member when you update a member of the object.
    user3068343 wrote:
    ++a) you allocate the object's top-level struct yourself (SDO_GEOMETRY in my case) in C+++
    Above you suggest creating the objects top-level struct myself. How do you create that top level object? I have been using OCIObjectNew on that object as well as its sub objects? Is that how you are creating the top-level object?This technique works only on binds, as objects you get back from defines are always allocated from the object cache. I create the top-level object directly on the stack... This is something I discovered worked, but is not documented, so you're probably on safer ground using OCIObjectNew instead.
    BTW, the reason I can't easily post OCI example code is that my code uses wrappers around the objects that hides most of the OCI:
    Geometry Geometry::make_point(OCIEnv* envhp, OCIError* errhp, float x, float y) {
        Geometry point_geom(envhp, errhp);
        point_geom.set_null(false);
        point_geom.gtype() = 2001;
        PointRef point = point_geom.point();
        point.set_null(false);
        point.x() = x;
        point.y() = y;
        return point_geom;
    }The above creates an 2D point-type SDO_GEOMETRY hidden inside the Geometry class, itself deriving from a GeometryRef class. The latter wraps a C++ API on top of the struct pointers for a SDO_GEOMETRY/SDO_GEOMETRY_ind, while Geometry actually composes the OTT generated value/indicator structs by value, and passes addresses to its nested structs to GeometryRef (its parent class). So GeometryRef can manipulate an object irrelevant of where it was allocated, the stack or the object cache. The Geometry class is a value class, but it's useful for binds only, and like I said uses a behavior which appears to work but is not explicitly documented.
    Unless you have nested objects by reference, nested objects are composed by value in the OTT-generated structs, so the space for all nested objects is already allocated after the first OCIObjectNew. But the members themselves are not initialized, and thus marked as null in the indicator struct.
    In the code above, my Geometry instance is fully allocated (on the stack), but fully uninitialized (the indicator is by default set to all nulls). I first set the atomic flag to non-null, then get the Ref wrapper around its nested SDOPOINT_TYPE to also set it to non-null, and fill in the x/y member (via another NumberRef wrapper, which knows about the member and the indicator for that member, and sets it as non-null when assigned to). Notice how how I return the instance by copy: My point geometry instance doesn't have a pointer-aliasing issue here, only because its two OCIColl* are null. In the general case, you can't copy my value wrappers without making a true deep copy... But I'm getting into the weeds here.
    The important point is that OCIObjectNew doesn't init the nested objects unlike what I stated earlier. Sorry for misleading you on that. --DD                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Created Quiz in Captivate 4. How can I create a report on Question Level

    I have created a quiz in Captivate 4. I would like to create a report on question level. for e.g., I'd like to determine the no. of users that answered wrong on specific question consistently. This helps us to go back and tweak the quiz to make it more learning friendly.

    Hi there
    This is normally handled by virtue of installing a Learning Management System (LMS). You then upload the Captivate into the LMS and the LMS handles aggregating and keeping track of performance.
    Captivate does offer an E-Mail reporting function, but it's far from reliable and not remotely secure. Additionally you would be forced to hand tally and track responses if you are fortunate enough for it to actually SEND responses.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How can I create a report with a specified format in Answers

    Hello Everyone!
    I want to create a request in Answers gives me a report format like this:
    http://i25.tinypic.com/t6p0ee.jpg
    How can I achieve this?
    Please help!
    -D

    Thanks for quick replies. I think I was not able to give a lot of details.
    So, I am selecting a country, region, branch (branches can be multiple)
    The report is grouped by Branch (I get details of each individual projects within each of the branch, the total sales of individual projects and then total sales of the branch)
    The report then further gives me sum of sales of the branches that selected in my query.
    In the end I want the report to look similar to the pic I posted.
    Thanks!
    -D

  • How do I create dashboard report in SAP B1

    Hi ,
    Currently I am  using SAP B1 8.81 PL-06 with cockpit enabled. By default we have got in bulit sales Analysis , customer aging and service call reports, but what are the way to create our own dashboard reports. Is there any sources or methods to get Dashboard application ...Please share your views .....
    Thanx
    Note : In Widget gallery avaialble in download sdn site not solve the purpose ...

    Hi,
    To create your own dashboards you will need Xcelcius, with this you design your dashboard and can insert pretty much any query you need, you then add a Data Connection to retrieve the data from SAP Business One. Then you export it from Xcelcius as an .SWF file (Flash). Then, using the free SAP B1 Utilitiy Dashboard Packager you can then prepare it to be imported into SAP B1. You then import it, assign user permissions and Bobs your uncle.
    I have very very much simplified it there, but there are plenty of examples on how to do this out there, happy to email you a couple if you wish, but you do need Xcelcius to create the dashboards to begin with.
    Welcome to the small group that can design the dashboards (myself included) and welcome to all the headaches you are going to get with the B1 Integration Service and Event Sender disaster !
    If I can help please let me know
    Regards
    Sean

  • How to manually create a Report Layout using Crystal

    I am trying to create a new layout using Crystal for my Statements using BP Aging .  the out of the box Crystal report for that will not work and it would be easier if i just decide what tables I want to look at.  The problem is i am not sure how to set up the parameters so when i print from the aging it will automatically fill in my parameters with the correct information.  I have already written the report but when i attempt to print from the Aging report it asks me for my perimeters every time.  I tried to look at the out of the box version but it does not even use perimeters so i have no idea how SAP feeds Crystal what information to filter by. I'm using 8.80 PL 16 thank you in advance for any help you can give.
    Edited by: Megan Salem on Oct 31, 2011 5:31 PM

    not really, The system one all comes from some sort of "pld" table and the only designations are the f-numbers (F_124) and i don't have a clue what those are, and when i try to link what should be an the invoice number to the OINV table other things come back blank even when i use left join.  I need some of the information that is provided but i need more than what is currently there so i need the ability to link to the other tables and have it work for every one.  (I'm trying to make it more like the dunnung statement only so it can be run at any moment in time and give the exact amount owed.)

  • How parameter is created in report 6i

    I have created report of department wise employee using 3 tables. How can i pass parameter into this report. I want to pass departname name as a parameter. Anybody can help me?
    Thanks in advance.

    Hi,
    Is your problem solved or not, i'm bit confused as your title specifies it as [Solved].
    Anyways to create List of Values for a field:
    On the Parameter form of your report you might be having Text field for your parameters.
    For the field for which you require a List of values, go to the Property Palette of that field and find List of Values. Click on the button and then create the List using Select Statement.
    Regards
    Arif

  • How can I create a Report with LabView Real-Time?

    With conventional LabView, I can create Reports in HTML, for example to document Errors.
    I need this feature in LabView Realtime. Is it possible?

    It is possible, but you got to put a name to the file with an extension of three letters. i.e. errors.htm
    Three letters on the extension is what the RT Operating system allows to use.
    Then you will need to do an ftp to your RT machine and get the file and maybe change the extensions.
    Not all the vis for Report generation can be used in the RT engine. The ones that use ACTIVE X will not work. i.e printting
    Another way to generate reports and the most recommended is to use the host machine to generate the reports.
    Regards,
    Blasioz Valenzuela
    National Instruments

  • How to design this complex report

    I'm getting crazy======
    my mdb file is like this.
    For example, "PointName" has many pointname, like C1, C2, C3..........,[they are vertical tunnels].
    For every point/tunnel, like C1,
    we mearsure it every few days, and get the displacement with the depth.
    Point C1 ---- 2014/2/19 ---- depth: -1 ---- it's displacement is 0.4
    And for the report, I want every point have a crosstab and graph.
    How to do this report, many thanks!!!

    Hi, Jamie
    I think I haven't say it clear. The final report is all C1 in one crosstab, all C2 in one crosstab.......this is the key.
    I followed as you say, it shows, there are many c1 and c2, and the crosstab is wrong.
    Then I tried to use subreport
    it shows
    I want one C1 and one C2 and so on, and all C1's data in one crosstab and all C2's data in one crosstab.
    That's it.
    A'm I clear? If not, please tell me. Thanks.

  • How do I create a report as a *.CVS file?

    My users want to be able to access reports generated from Apex as a separate file they can store or print out. I think a good way to do this would be by generating a *.CVS output file from my Apex application.
    How can I do that?
    Steve "the n00b" in Raleigh NC

    Open your report page, go to report attributes scroll down to Report Export section, select Yes from Enable Report Export, enter in the value for Link label, and if you want a specific filename, enter it in the filename textbox (otherwise the name of your report region will be used for the name).
    Thank you,
    Tony Miller
    Webster, TX

Maybe you are looking for

  • Web services with JDeveloper - serialization error

    Dear all, I have an issue with web services created with JDeveloper 10.1.3.2.0. Namely, this is what I do: 1. I've created some TopLink classes from tables; one of this classes is called Task (and it's located in a package called "integration") 2. I'

  • How to implement boolean comparison and event structure?

    Hello all, I'm currently developing an undergraduate lab in which a laptop sends out a voltage via USB-6008 to a circuit board with an op-amp, the voltage is amplified, and then sent back into the laptop. The student is going to have to determine an

  • Dymanic parameter with LOV from command demanding a parameter

    Hello, I have a problem with creating dynamic parameters. I use different query to form list of values for the main query parameter. Let's say this parameter is manufacturer_name, so I'm selecting distinct manufacturer_name values from some table. Bu

  • Urxvt color scheme

    Hi everyone, I have a rather simple problem that I can not figure out how to fix.  Certain pieces of text in urxvt are highlighted in black (e.g. when I restart a daemon, for example: /etc/rc.d/alsa restart).  This is an issue since my font color is

  • Dynamic package loading..

    Hello all, Here is what I am trying to do. We have a jar package which is dynamic in nature. To avoid bringing down the server every time it gets changed, we decided to bring in the dynamic mode of loading packages. We decided to use the URLClassLoad