Multiple ttitles and btitles in a report possible

Hi,
I want to create a report which has a heading for the report as a whole and three subheadings.
How do I do this?
Just to be clearer, here is what I want to spool to a text file:
ALL TABLES
EMPLOYEES
rows......
CUSTOMERS
rows..........
PRODUCTS
rows........
Here is the code I have got so far:
ttitle 'EMPLOYEES'
select * from employee
ttitle 'CUSTOMERS'
select * from customer
ttitle 'PRODUCTS'
select * from product
But I don't know how to make a header for the report overall then (like a page header or footer). Any ideas?

Page size and break options of SQL*Plus will help - http://psoug.org/reference/sqlplus.html
Best regards.

Similar Messages

  • Is printing to generic text printer and hand-coding the report possible?

    We have created Oracle Reports that are formatted to print to Zebra printers. We code the report in Report Layout and the text printed is for generic text printers, what our Zebra printers requires. Can this be done with APEX reports?
    Example:
    ^xa
    ^ilr:val_set.grf2^fs
    ^fo88,132^a0,90,80^fb464,1,0,C,0^fd&<ACCESSION>^fs
    ^by2,3.0,32^fs
    ^ft64,402^BCb,32,n,n^fd&<FARMFIELD>^fs
    ^ft600,402^BCb,32,n,n^sn&<LOCLOW>,1,y^fs
    ^fo304,232^a0r,20,20^fd&<LOCTYPE>^fs
    ^fo334,232^a0,50,45^sn&<LOCLOW>,1,y^fs
    (skipping some code here for brevity)
    ^pq&<LOC_ROWS>^fs
    ^xz
    Asking whether APEX can print to generic text printers and can we code the report output
    ourselves.
    Thanks for any help.
    dave

    Here is a simple example of printing via pl/sql to a text file...
    create or replace procedure utl_file_io is
    l_fil utl_file.file_type;
    l_buf varchar2(200);
    begin
    l_fil := utl_file.fopen('TMP', 'amar_test.t', 'W');
    utl_file.put_line(l_fil, 'This is a sample text file.');
    utl_file.put_line(l_fil, 'Generated from Oracle utl_file package.');
    utl_file.put_line(l_fil, 'Below is the content of am1010 table.');
    for rec in (select col1, col2 from am1000) loop
    utl_file.put_line(l_fil, rpad(rec.col1, 15, ' ') || rec.col2);
    end loop;
    utl_file.put_line(l_fil, 'End of File');
    utl_file.fclose(l_fil);
    exception
    when no_data_found then
    utl_file.fclose(l_fil);
    end;
    This routine will generate a text file to the default directory on your server, you would need to build an Oracle directory and change the code to include the path to your file there. Getting it to the printer could be a simple shell script that copies the file out your your printer if it is on the network and can be seen..
    Thank you,
    Tony Miller
    Webster, TX

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • Is it possible to select multiple clips and create a sequence from each individually?

    Is it possible to select multiple clips and create a sequence from each individually?  If you select multiple clips and select "New Sequence from Clip" it puts all of the clips into one sequence.  Is there an easy way to quickly perform this on multiple selected clips separately? 

    So now I *have* used Butler with PPro, and it works very well, here's an idea of how to do it:
    Import folder of clips
    Ensure first clip selected in bin and sorted by Media Type
    Most of these commands need shortcuts assigning - mine listed below
    Macro:
    To create seq from selected clip:
      ‘New seq from clip’ (Shift+CMD+N)
    To duplicate this seq:
      ‘Reveal Sequence in project’ (Shift+F) - not strictly necessary as it will already be selected
      ‘Window | Project’ (CMD+9)
      ‘Edit | Duplicate’ (Shift+CMD+/)
    To rename the duplicate
      ‘Enter’
      Various keystrokes to rename as required
      ‘Enter’ - to make name stick
      ‘Shift+Enter’ - to reselect that sequence
      ‘Esc’ - to get out of editing name
    To change resolution of duplicate:
      ‘Sequence Settings’ (CMD+5)
      ‘Tab’ x 3 (to get to H Frame Size)
      ‘xxxx’ (to enter frame width)
      ‘Tab’ x 1 (to get to V Frame Size)
      ‘yyyy’ (to enter frame height
      ‘Enter’ x 2 as prompt will say previews will have to be deleted
    To then find next clip ready for macro to run again:
      ‘Open in Timeline’ (Shift+CMD+O)
      ‘Match Frame’ (Shift+Spacebar)
      ‘Reveal in Project’ (Shift+CMD+F)
      ‘Window | Project’ (CMD+9)
      ‘Down Arrow’ - to select next clip
    I tried it with Butler (manytricks.com - free trial, $20 to buy) and it worked a treat, takes about 3 secs per clip
    AHK (for windows) is at autohotkeys.com and is free.
    You could start making multiple macros - that would enable you to do grade / resize in middle of duplication - and then export etc, but I figure you can figure that out ;-)

  • Multiple rows and multiple cols inone report

    Hi
    All
    I have a req where i need to build a report with multiple rows and multiple columns
    .... .......................  2009 jan ,        2009 feb ,      2009 march ,   2009 april...........................
    ............................ dim3 mem1 ,    dim3 mem1 ,  dim3 mem1,     dim3 mem1..........................
    dim1 mem1
    dim2 mem1
    calc value
    dim1 mem2
    dim2 mem1
    calc value
    dim1 mem3
    dim2 mem1
    calc value
    please advice if i can use the colkey range and rowkeyranges for this type of expansion and how?
    thanks
    Edited by: bpc_now on Oct 21, 2010 6:40 AM

    Hi,
    If you need multiple dimensions, then the first thing is to specify EVDRE("mXn")
    where m = number of dimensions in column
    n = number of dimensions in the row.
    If the EVDRE has already been built and you wnat to change it, then you need to change the rowkeyrange and colkeyrange. And accordingly, you should have 4 expansions - 2 for rows and 2 for columns.
    Hope it helps.

  • Combined TO for multiple deliveries and multiple storage types possible?

    Folks,
    I would need to have 1 pick TO for a shipment which has multiple deliveries and materials that are stored over several storge type. With stanrd SAP this is not posible. Any ideas wether this can be achieved through a user exit?
    Regards,
    MdZ

    Hello MdZ,
    If you can suggest me regarding TO for Group...
    Using VL06O (outbound delivery monitor); If I create the TO for outbound delivery, it prints the pick-sheet for each storage type.
    But if I attach the delivery to u2018WM groupu2019 and then create the u2018TO for Groupu2019 using VL06O it does not create any pick-sheet.
    If you can suggest somethingu2026
    Regards,
    JPS

  • Can I make the parameter supports multiple selection and editable at the same time?

    Hi, 
    I am building my report using SQL Server Report builder 3.0. All the parameters are added to the report
    by the builder. When the user access the report by browser, he can change the parameter value and click "view report" button to load the report from the database.
    For one of the parameter, I want to provide user the ability to select frequently used value as multiple
    selection, and meanwhile let them able to edit the value if the preloaded selection doesn't contain what he wants.
    Is it possible to archive this goal using report builder?
    Thanks!

    You cant have this functionality using standard report viewer. An approximate work around can be implemented as follows.
    Have two parameters one based on your current parameter values (dropdown) and another one without any available values set and default set to NULL (Set Allow Null value property and pass Null as default value). This parameter will appear as disabled textbox
    with NULL checkbox checked. 
    Now in your code behind which gives you first parameter's values Add one more value say <None Of Values> and set value as some default value (-1 if int or just a random string value).
    Now in the value for second parameter set a expression like below
    =IIF(Parameters!FirstParam.Value ="<Select None>","",Nothing)
    This will make sure second parameter gets activated when you select option <none> from first. Then you can type the value you want in it
    In query behind just make filter like below
    WHERE field = CASE WHEN @Param1 <> '<None>' THEN @Param1 ELSE @Param2 END
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Creating multiple libraries and using an external drive for data

    I'm a recent switcher and new to iphoto. On the windows platform, I used adobe album. I have a around 10k of images that I put on an external drive which is attached to my new imac. I deleted the iphoto folder and redirected it to my images on my external. All is working great. I'm looking for some advise on work flow of file/iphoto management. i.e. I'm assuming the more images I accumulate, the slower I photo is going to run? I hear you can create multiple iphoto libraries. Will that only load the photos that are associated with the library and I'm assuming optimize iphoto's performance versus always loading every photo you have taken every time you work in iphoto? If adding libraries is the way to go, can someone direct me to instruction on how to do this?
    This may be beyond this threads scope but I plan to put all my data (iphoto, imovies, itunes) onto an external drive in order to keep the imac main drive as clean a possible. Is my thinking correct in doing so. Any negative repercussion in doing so?

    Joe:
    I'm assuming the more images I accumulate, the slower I photo is going to run?
    You'll have to get quite a lot of photos into iPhoto before you start to see a real slowdown in performance. Users have reported libraries of 40K files and they perform just fine. However, do not keep all of rolls open as that will really do a job on the performance. Just open the rolls you need and close them all before quitting.
    Yes, you can use multiple libraries and only load what's in each. I use iPhoto Library Manager to manage and move quickly between 10 libraries. With the paid version of iPLM you can move albums and/or rolls between libraries as needed and keep the keywords, ratings, and comments intact.
    Using an external HD in order to maintain sufficient free space (10G minimum is what I recommend) on the boot drive to help optimize performance is a very good idea.
    As far as any negative aspects, it would be a good idea to have a second external HD as a backup to the working external HD. You can't be too careful with those image files (and other important files) that can't be replaced.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • When converting multiple word and excel docs to a combined PDF random pages have blue background in the finalized PDF.

    I have a user using Acrobat 10. It was installed two weeks ago and initially had no problems. Today she reported that when she tries to convert multiple word and excel docs by selecting them, and right clicking on them to select convert/combine to PDF, random pages in the finished PDF have a blue background. I did some searching online and can find no information about this problem. Can anyone here shed some light on this issue and maybe point me in the direction of a solution? Any help is appreciated. Thanks!

    Hi Gilad,
    So, something I didn't consider was that this could be a setting in the office docs. The reason I didn't consider this was be cause we tested multiple docs and had similar results each time. I went back and looked into this possibility and found a setting in word that was causing this issue. Although the word doc showed no page color when opened in word, if I went to "Page Layout" -> "Page Color", a shade of blue was selected. By selecting "No Color", and then converting/combining the docs to PDF we got the desired result. Thanks again for your reply!

  • Multiple users and multiple select options

    Hi,
    First of all, let me congratulate Oracle HTML DB team for this great product! This is extremely powerful and useful.
    I have multiple selection item on the form to generate report for the selected multiple schools. I have two critical questions.
    1) Currently I am deleting all records from database tables for multiples selects and similarly selecting all records from these tables to populate dependent LOVs and so on. This is a major issue when multiple people use this application at the same time. I looked at couple of examples to create, delete and select records based on IDs (unique) and it is not clear to me if I need to create parameter/hidden params on the reports side or on the HTML DB side or .. how do they communicate etc. Could any one clarify this process of checking for unique IDs please.
    2) Is there any way to give an option to the user to treat multiple selected item as just one single and to treat them separate? For example, if we let the user count number of students at two schools, how can we let the user count two schools separate as well as both schools together? This should also further ask for the possible options separate for both schools separate if they were to run separate.
    This is very important for me and appreciate any help from you. Thanks in advance.

    Hi,
    Could any one point me in the right direction, please!
    Thanks,

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

  • Multiple values based on LOV in report

    Hi,
    I have a checkbox on a form where I can select values like e-mail, fax, post.
    And then I have report that has a column for confirmation type that is based on same LOV as the checkbox.
    The problem is that wen there is one value selected it shows correctly in report that e-mail for example. But when I have multiple values there it shows P:E only not Post, E-mail as it should. So when there are multiple values it shows only LOV return values not display values.
    How can I get it to show display values instead of return values when there are multiple values (Post, E-mail instead of P:E)?
    Thank you a lot.

    anyone?

  • Multiple users and shopping carts, one searchable index?

    Hi all,
    I've got an idea but I would like to know if it possible with Business Catalyst. I'll try and explain as simply as possible:
    I have multiple users (let's say 10). They all need separate shopping carts as they are all selling different products. They all need their own admin areas that keep track of their incomes, workflows, shopping carts, etc. They are essentially 10 independent users. Will the WebCommerce10 plan satisfy their needs, or will 10 separate WebCommerce single plans need to be sold?
    Taking the above into account, is there anyway to have 10 independent shopping carts, but they can all be searchable simultaneously? e.g. think eBay, lots of users with their own independent admin areas and products, but one search field returning many results from all the user's shopping carts? Is there anyway to achieve something like this with BC? Can subdomains do this? Any other ideas how to achieve this if none of the above is possible?
    My plan B is having a landing page where a link for each of the 10 users will take them to their relevant shopping carts, but this experience isn't quite as integrated as I would like, from a web surfer's point of view.
    Thanks.
    Clint,
    Komma Media

    Hi Robbie,
    Yes, this would require significant modification to the shopping cart functionality. As it is now, it's very dependent the ShoppingCart being associated with the session and therefore the user. To change that would be significant work.
    Additionally, if you had two people logging in to the same account and editing the same order around the same time, this would tend to not to work well. This is because two users would be two sessions and they would often get routed to different app server instances. Because the way orders are managed, there's no way to immediately sync up the changes between multiple instances, and if you managed to do it would likely slow things down drastically. I would not recommend trying this with ATG.
    Thanks.
    Nick Glover
    Oracle Support for ATG Products

  • How to share itunes library with multiple users, and keep organised

    Hi,
    I'm using iTunes (v12) on Windows 7 and am trying to set myself up so that multiple users on this PC are sharing the same library. I've followed the guidance mentioned on a couple of other threads, and put the library in the Users\Public\Music location, and on each user account have pointed iTunes to this location. This has worked OK, as both users can see all the music.
    However, problems arise when User A deletes a couple of files (duplicates for example) - User B logs in, and the song is still listed in the library, but with an alert stating the original file cannot be located. They then have to go through the library and also delete these entries. Equally, if User B adds some music files (as opposed to iTunes downloads), they are not visible to User A until they "Add file to library..."
    Are there any further steps that I can take to keep both users views of the library identical, without manual intervention by the second user whenever the first makes a change?
    Cheers,
    Matt

    The way you've set it up each user has a distinct library, but is accessing a common set of media files and folders.  To accomplish what you want, you need to have a complete iTunes library (database + media) in a common location - typically this would be C:\Users\Public\Music\iTunes.  See turingtest2's notes on Make a split library portable for the steps that may be needed to bring your library into a suitable structure.  Based on your description, you'll need to select one user's library (C:\Users\username\Music\iTunes\iTunes Library.itl) to act as the shared "master" and move this to the Public folders.
    Then, for each user, hold down SHIFT while starting iTunes - when you get this prompt:
    click on Choose Library..., navigate to C:\Users\Public\Music\iTunes, select the iTunes Library.itl file you'll find there, and click Open (you'll only need to do this once for each user account).
    Note, though, that iTunes is inherently a single-user application - any attempts to run iTunes at the same time will cause errors (and, in the worst case, possible corruption).  For this reason, its a good idea to disable fast user switching in Windows so that only one user can be logged in, and running iTunes, at the same time.

  • How do I process multiple files and turn them from raw to jpeg

    How do I process multiple files and turn them from raw to jpeg. Ive tried and it seems to go through the files but doesnt seem to process them or store them in the selected folder

    Yes that was the first thing I did. Then I used the process multiple files and selected a new folder to put them in and selected use open files and selected to turn them into jpeg. The images flash on the screen like they are being processed, but the folder never appears in library. Is it possible because there are a couple 16 bit files open that this corrupts the task. Do I need to create the folder first. Will elements not create the folder on its own.
    Thanks Vince

Maybe you are looking for

  • How do i cancel a username to use another

    my husband gave me his IPad2 and it is set up with his user ID, contacts, pictures etc.. How do I remove his information and set it up for my person use?

  • Vendor Master change  - Message 00055

    Dear Gurus, There is no issue in changing the vendor master, but suddenly in Change - Contact Persons screen (Vendor master change), the system prompts to Fill in all required entry fields (which is mandatory - the system pops suddenly, but its not h

  • Text messaging in other languages

    Seems like 3G does not support text messaging in Korean. Messages sent or received in Korean appears as blank or question marks. Is there going to be a firmware update in the future that will allow text messaging in foreign languages? Message was edi

  • Need tab order to loop back to first field.

    Using Adobe Pro, would like the form to loop back to the first tab after tabbing off of the last field.  Currently it goes to a couple text boxes that I added to the form that are not part of the fillable text fields.

  • Insert picture or documents in Database

    Hello, can someone give me an example how I can insert a picture, doc or pdf into a table and select this columns? I have no idea! Please help me.