How to Run 2 Queries to Access Header/Footer date.

I want to take a report from 9idatabse as follows...
1.On left top Image
2.In center top Company profile
below that
3.Tabular Report
Problum comming is that how to run 2 different quries
and if i uses he template to add the header for image
and Company profile then how to access company profile
data saved in a table.if i runs query for header then
the format malfunctins.
if i m unable to explain then i want only that..report should
like that...
Image Company Name
Company Address
Company Pin
Company City,Country
Item id Item desc Quntity Remarks .......
1
1
1
1
1
1
1
1
1
Pl help me in this regard.
Thanks
[email protected]

You can use iText to combine two PDF files into one.

Similar Messages

  • How to Run 2 Queries to Access Header/Footer date in Getting Report.

    I want to take a report from 9idatabse as follows...
    1.On left top Image
    2.In center top Company profile
    below that
    3.Tabular Report
    Problum comming is that how to run 2 different quries
    and if i uses he template to add the header for image
    and Company profile then how to access company profile
    data saved in a table.if i runs query for header then
    the format malfunctins.
    if i m unable to explain then i want only that..report should
    like that...
    Image Company Name
    Company Address
    Company Pin
    Company City,Country
    Item id Item desc Quntity Remarks .......
    1
    1
    1
    1
    1
    1
    1
    1
    1
    Pl help me in this regard.
    Thanks
    [email protected]

    You can use iText to combine two PDF files into one.

  • Information on how to run SQL queries on the CUCM itself please

    Good Day All,
    I need to run an sql query on the CUCM to list all of my directory numbers, their partition, and their external mask values.
    I came across this excerpt below earlier so I have a bit of an idea how to do it but iw would be great to see some other examples of sql queries.
    Any assistance is most appreciated.
    Also, is there a document somewhere to tell me how to run these queries?
    Thanks in advance
    Regards
    Amanda
    Currently Being Moderated
    05/04/2011 5:18 AM (in response to Joshua Royle)
    Re: Is there a way of pulling a report off CM showing all phones that have diverts on?
    Try if running this SQL query from the CLI helps you, it should list all DN's that have CFA enabled to VM or a DN:
    run sql select dnorpattern,cfadestination,cfavoicemailenabled from CallForwardDynamic c, numplan n where c.fknumplan = n.pkid and (cfadestination != '' or cfavoicemailenabled ='t')

    Hi Amanda
    Basically it's standard SQL, so it wouldn't hurt to google 'informix select statements' and do a little reading to get the basics. There are millions of permutations of queries so it's a matter of understanding the syntax, and then applying that to the database in question. The only difference when running commands from the CLI are that:
    - You prefix the standard informix SQL statement with 'run sql'
    - You don't get any help from CUCM with the syntax, so you might be well advised to use something that understands SQL a little and colorises it as you type, and then paste the resulting commands into the CUCM SSH window. I use a text editor named JEdit, if you create a text file and save it as a file ending in .sql it will highlight your syntax.
    - Other programs are available that do reasonable syntax highlighting (e.q. SquirrelSQL) that are designed for querying the DB directly, but you can't actually query directly against the DB for security reasons. You'd still have to copy/paste the commands.
    Now... to understand the DB you'll need a reference describing all the tables etc. This is here:
    http://www.cisco.com/en/US/products/sw/voicesw/ps556/products_programming_reference_guides_list.html
    Pick your version of CUCM and download the 'Data Definition' document.
    A few notes on the command:
    run sql : is just the CLI command that tells the shell to run the following text as SQL.
    select : the SQL command to retrieve data
    dnorpattern,cfadestination,cfavoicemailenabled : the column names to retrieve
    callforwarddynamic c, numplan n : the names of two tables, and the abbreviations you want to refer to them as
    where c.fknumplan = n.pkid : this tells SQL to return values from the two tables where these fields match up. In the data definition you'll see notes that c.fknumplan (i.e. the fknumplan column in the callforwarddynamic table, as noted by the c. prefix) refers to the PKID column in the numplan field. This is a very standard type of join in the CCM DB.
    and (cfadestination != '' or cfavoicemailenabled ='t') : another clause, basically in this query we want to see only rows where cfadestination isn't blank or cfavoicefmailenabled is set to 't' for true).
    Most tables are linked in one of two ways in this database:
    - a column prefixed 'fk' refers to the pkid field (there is always only one pkid field per table) in the table following the 'fk' prefix. E.g. above fknumplan refers to the numplan table, pkid field. fkdevice would refer to the device table, pkid field.
    - a column prefiex 'tk' refers usually to an enum table which is prefixed with 'type'. This is a table that maps the number value in the 'tk' field to a string. An example would be tkmodel - this represents the phone physical model type (e.g. 7962), and maps to a table called typemodel, and the 'enum' column in that table.
    Regards
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • How to know whether a line in a list is header / footer / data line?

    Dear All,
    I have a list with header and footer lines. The lines that contains the actual data has a check box column. Due to the page size I'm using, all of my data will be shown in several pages with each page has header and footer lines.
    What I'm doing is to read the check box in each line by using the following code:
      DO.
        READ LINE sy-index LINE VALUE INTO wa.
        IF wa-mark IS NOT INITIAL.
    The field 'mark' is the check box field.
    The problem here is the header and footer lines are also read by the READ LINE sy-index LINE VALUE INTO wa statement while I want to treat header and footer lines specially.
    Is there any way to mark a line as header / footer / data line?
    Thanks in advance,
    Haris

    The header and footer should have some standard text. You can check for that.
    Rob

  • How to make shapes appear behind page header/footer in Pages '09

    In a Pages (v4.0.2) page layout document, I'm trying to make a gradient as the page background. Since there's no built-in way to do this (as far as my googling shows), I've tried what others have suggested:
    1. Create a new shape and resize it so it fills the entire page
    2. Go to Arrange > Send to Back
    3. There's no step three!
    This work great for most of the page. However, the page header and footer are always hidden by the shape, and I can't find a way to get them to lay +in front+ of the shape. How can I get the background shape behind the header & footer?
    Thanks for your help,
    Mike

    fruhulda wrote:
    As far as I know you don't need to send the shape to the back.
    Choose in the menu Format > Advanced > Move Object to Section Master
    Are you sure that we may do that with a shape?
    Here the item is greyed
    Yvan KOENIG (VALLAURIS, France) samedi 29 août 2009 21:28:21

  • How to run multiple queries in a report 6i

    hi!
    i have multiple queries that i have created in data model
    how can i invoke them in my report?
    thanks!

    Every query is run automatically. You can have a Q1 and Q2 and display results of Q1 on one page, and the results of Q2 on another.

  • How to run multiple queries in a workbook

    Hi,
    I have 3 queries in a workbook with the same variables. How can I refresh all the 3 queries when I change the variable value. It allows me to refresh only one query at a time but I need to refresh all the 3 queries at once whenever variable value changes.
    Thanks,
    Kal

    Prakash,
    Do you have any more information on where i would find the setting to;
    "Refresh individual queries within a workbook (Single DataProviderRefresh)"
    is it on the
    i) dataprovider setting
    ii) workbook setting
    iii) elsewhere?
    many thanks
    Ian

  • How can I disable ALL public access to profile dat...

    I don't know how you Micro-shunts manage to do it, but ever since the forced migration to the Micro-shunt version of the Skype client, it is getting prgressively worse with every iteration. I'd been a very happy Skyper until the enslavement -- sorry, forced migration. ALL of my profile information (what little there was) was 100% private, I only gave my contact details to people I wanted to have it. I was never plagued by spam, never bothered by block-avoiding boojums. Since allowing the current horror onto my Mac, I get over a dozen complete randoms -- all of them with dubious female names from far-away lands -- with contact requests per week, and in the space of the six hours I mistakenly had my mobile phone on my profile, I received four spam SMSes, all of which I was charged to receive. I soon put a block on those so-called premium SMS services. So far, Microsoft, you have taken away much of what makde Skype, and given nothing but frustration (and windows three times larger but holding a quarter of the information) since you took over. Now, please tell me, dear Micro-machines, how the BLEEDIN' 'ECK do I turn off ALL my private information that you are currently putting up on public display? I DO NOT want to be searchable. I DO NOT want to be pestered. Please restore the option for this. The paid offer of a VPN to the Chinese MSN network is looking more appealing by the day, and I'd rather spend money so I don't get hassled than put up with the torture of the past three months.

    Hi, Hyram, and welcome to the Community,
    I am a PC, so this is how I would accomplish your goal (I recommend performing these procedures via a computer rather than a mobile device):
    Access your profile from your account (where the Contact list is), and you should be able to remove all information which defaults to public view, leaving the choices as "blank" or "not specified."
    Check your privacy settings to ensure they indicate you receive audio calls, video calls, and private messages from people on your contact list only.  Remember to Save your changes.
    You must contact Skype Customer Service to request your account name be removed from the search directory.  Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service   As you know you wish to contact Customer Service, skip past Step 2 of the instruction where you will see various FAQ articles and other information to review and proceed to Step 3, Continue Support Request.   I find it easier to sign on to the Skype website and then go through the contacting Customer Service routine.
    I still receive random, occasional, unsolicited contact invitation requests, however far fewer than previously.
    Best regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to submit an email with a header/footer in the body of the email?

    I'm trying to submit an email with a PDF attachment but needs to have a static header and footer in the the body of the email before sending it.  How would this be done and is it possible to do this? I'm new at this and not sure how to even start this.  Any help with this is greatly appreciated.  Thank you.

    You can put info into the body of the email but you are limited on formatting it. Here is a post from Stefan Cameron with sample that I think will really help you.
    http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/

  • How to run webi report automatically with the current date/system date in webi report

    Hi Friends,
    I have a webi report which has a date prompt now. Based on the selection that user makes while running a report, he will get the related data for that particular date selection. Now I want to make that date prompt automated that is the report should run automatically based on the system date daily on scheduling.
    I want it to run current day automatically without have to go in and pick the date in webi report. I will be scheduling the webi report. Can you please let me know how to achieve this functionality of running a webi report automatically with a system date.
    Please let me know if I couldn't make you understand so that I will write with an example.
    Waiting for your valuable solutions.
    Thanks in advance.
    Regards,
    Bhaskar

    Hello Bhasakar,
    1.Create sysdate object in the universe
    2.Create another query in webi and select only sysdate object
    3.In the original query drag the Day object in the filter pane and choose the "List of values" from another query.and select the sysdate object from the second query.
    So your report always will run for sysdate...
    regards,
    Naveen D

  • Account statement header, footer data

    Hi all,
    urgent please,...... in f.27 i generate customer account statement, using correspondance - sap13 for report, but client want to print their logo and address on header.
    i do not know the process how to add it.
    kindly tell me, i will give the full points.
    Raghav

    Hi,
    Generally reports in SAP are created using ABAP program.
    In it whatever changes u want to make - may it be in the header or footer or the main report, u need to make changes to the report as such.
    Your requirement is to insert compnay logo or address in teh header
    <b>In case of logo -</b> Since it is a graphical element, u need to import the logo to the SAP System and the steps are defined in teh previous replies.  It will only make the logo available in the SAP system and NOT in ur report.  To make it available in your report, u need to make changes to the Code.
    <b>In case of address -</b> There is no graphical element present, but simply a plain text. Hence no upload is required , but just a modification of the report alone will do
    But for both the cases, u need the help of the ABAPer to change the code and the chages are very simple to make.
    Regards,
    Sridevi
    <i><b>Award points, if useful</b></i>
    Message was edited by:
            Sridevi

  • How to run two query  in the same preparedStatement

    Hi all,
    Please tell me how to run two queries in the same preparedStatement object ?
    In my module I have to run two queries and I don't want to make two methods for running two different queries.
    I just want to call this method for both of my queries.
    methodName(long param)
    Connection conn=null;
    PreparedStatement pstmt=null;
    //////////////// some coding
    Please Help !
    Thanks in advance
    amitindia

        public void foo()
            Connection connection = null;
            PreparedStatement stmt = null;
            try {
                connection = ...get from pool...;
                stmt = connection.prepareStatement("...");
                ...fetch results...;
                stmt.close();
                stmt = null; // So the finally statement works if there is an exception
                stmt = connection.prepareStatement("...");
                ...fetch results...;
            } finally {
                if (stmt != null) ..close it...;
                if (connection != null) ..return it to pool...;
        }

  • Run several queries

    I have several update queries that I want to run one at a time until: (0 row(s) affected) is in the message box. Once the query runs without any updates, I need the process to move to the next query.  I found some articles that talk about
    macros, but could not locate the tools within SMS. I have very little experience with SQL Server Management Studio, so please excuse me if the answer is abundantly simple.
    Bruce

    1.  I have multiple queries that identify and correct null values in a given field. When the null value is identified the value in the preceding record which is the last known good value is updated into the field with the null value.
    2.  Running said query one time does not ensure that all the null conditions have been properly addressed. The only way to ensure that all the conditions have been addressed is to run the query until the row count equals zero.
    3.  The first code that I have listed: WHILE 1 = 1 BEGIN UPDATE [Master Archive] SET [BackPress 1] = [Nulls BackPress 1].Trial FROM [Nulls BackPress 1]INNER
    JOIN [Master Archive] ON [Nulls BackPress 1].SiteID = [Master Archive] .SiteID AND [Nulls BackPress 1].NewTime = [Master Archive] .NewTime
    WHERE  ([Nulls BackPress 1].[BackPress 1] IS NULL) AND ([Nulls BackPress 1].Trial IS NOT NULL) IF @@ROWCOUNT = 0 BREAK;END Will run the query until row count equals zero, this ensures that all the null conditions have been addressed.
    4.  I have over fifty (50) queries that have to be run. The code above will only run a single query. This Forum has shared with me how to run multiple queries in sequence, however the code will only run each query one time, which is not what
    I am trying to achieve. I need every query to run until row count equals zero and then proceeds to the next query.
    The following code will run many queries in sequence, but only once:
    UPDATE [Master Archive] SET [BackPress 1] = [Nulls BackPress 1].Trial FROM [Nulls BackPress 1]INNER JOIN [Master Archive] ON [Nulls BackPress 1].SiteID = [Master Archive] .SiteID AND [Nulls BackPress 1].NewTime = [Master Archive] .NewTime
    WHERE  ([Nulls BackPress 1].[BackPress 1] IS NULL) AND ([Nulls BackPress 1].Trial IS NOT NULL) IF @@ROWCOUNT = 0 RINT 'One Done' PDATE [Master Archive] SET [DiffPress 1] = [Nulls DiffPress 1].Trial FROM     [Nulls DiffPress 1]INNER
    JOIN [Master Archive] ON [Nulls DiffPress 1].SiteID = [Master Archive] .SiteID AND [Nulls DiffPress 1].NewTime = [Master achive] .NewTime HERE  ([Nulls DiffPress 1].[DiffPress 1] IS NULL) AND ([Nulls DiffPress 1].Trial IS NOT NULL) F @@ROWCOUNT =
    0 RINT 'Two Done'; Note: the print statements are there just to validate the running of the queries, they will not be necessary once I have validated the query
    There has to be a way to code the first example so that multiple queries can be run from a single query, I just am not experienced enough to figure it out on my own.
    5. In summation: each query must run until row count equals zero, then proceed to the next query

  • How to run DB verify

    Verision 7.3.4
    We had a problem in backup process.
    Can anyone advise how to run DB verify to check if the data files
    are corrupted?
    Thanks!

    DB Verify checks to see if your data blocks are corrupt within a
    datafile.
    syntax is :
    dbv file = <full path of datafile>
    run it from the command line.

  • Can Business Objects Web Intelligency reports access NearLine Storage data Via BW Bex Query

    Hi Gurus,
    I am aware BEX queries can access NearLine Storage data for reporting but can Business Objects Web Intelligency reports access NearLine Storage data Via BICS connection ( Bex Query as a Source).
    Thanks,
    Shak.

    I would recommend to let your SAP Basis guys do a security trace on the SAP BW side and see if some authorization check for the user fails when trying to fetch data over the universe.
    Regards,
    Stratos

Maybe you are looking for

  • How to store array of data into a single row of  table ,using any of Stmts

    HI Friends, Based on my requirements ,i have retrived a set of data from a XXX.jsp page using a request.getParameter() and stored into single dimenssional array . Now i am paassing that array to JAVA class to store a into some table . In JSP page use

  • How to read xml schema in java?

    hello, i need to read the xml schema file,and extract the details like element types.i need to read it not validate it . thank you.

  • SPA 2100 Problem with Belkin Router

    My setup is motorola cable modem>>>>SPA2100>>>>Belkin Wireless Router. My phone works fine but i cant get the internet to work wirelessly through my router. when i connect the 2100 to the router through one of the 4 hardwired computer ports on the be

  • Actual line item drill down

    In cost center report S_ALR_87013611, when I drill down the actual line items appears - tcode  KSB1. When I drill down further settlement documents appears but when I click accounting documents, I will be able to see controlling document only. I want

  • App update will not disappear

    I bought my MacBook Pro refurbrished, and it has Angry Birds on the app update and it will not let me delete it or update it because it wasn't purchased with my eMail, any ideas on how to get rid of this notification? Cause the app is not on my Mac a