Create recordset join, date = todays date

hi,
i have been trying to create a recordset on my page which joins my clients table to insurance table which is fine.
however i need to be able to show on my page due date = today's date.
so in my insurance table i have a duedate column with data type DATE
i need my recordset query to return duedate=todays date and also show if passed due date?
can anyone help me write this query?
many thanks

thanks bregent, the database was helped setup viaa posts on mysql forum and by my understanding of mysql of learning over past year or so.
i have queried using just a simple join statement.
thanks
Date: Mon, 22 Mar 2010 19:36:01 -0600
From: [email protected]
To:
Subject: Dreamweaver Application Development create recordset join, date = todays date
>How can i do a  query of all duedates in all tables i
>need to query? is it seperate  recordsets?
To query against more than one table using standard SQL you could use a UNION query. MySQL also has functionality to query against multiple tables but I don't use MySQL. But I need to ask why you are storing these due dates in more than one table? Who designed this database?
>also  need to display the ones due the week leading up to due date?
>so 7 days  before currendate=duedate and also once it passes that i
>need another  recordset that displays all the ones that have passed
>currentdate=duedate.
This is all just simple date math. Please use the reference I gave earlier for examples or search the web for MySQL date math.
>

Similar Messages

  • Creating a join in a data model

    I'm still a fairly rookie java developer, so I hope someone can help me with this question. I'm working on learning the data modeling aspect in JDeveloper (TopLink or ADF Business Components). If the Creating Business Components from Tables wizard doesn't create a join between selected tables, how do I go about relating the selected tables? Our database is Oracle 10g, for a 3rd party application where we don't control the schema. Thanks for any help.

    Yes, You can create a viewObject that is based on entities.
    When you shuttle the base entities to the right in the wizard there is a check box at the bottom that let you specify if they are updatable or not.

  • How to calculate the days between last movement of material till today date

    Hello Experts,
    Could someone help me please?
    I have a key figure in the InfoCube 0IC_C03 witch contain the last date of movement of material.
    (it is a key figure created in format date and contain the max value).
    How can I to calculate the number of days between this date (last movement),  till today date (system date).
    I need to show:
    material........last movement.....days without movements.
    xxxxxxxxxxx.....dd/mm/yyyy..........9999
    Im trying to do this calculation in bex using variable formula but it doesn't work becouse current date (customer exit) brings sy-datum in format yyyymmdd and the kf-last-mov is in format number (I dont know what kind of number)
    Thanks in advance,
    Points are assured.
    Regards,
    Silvio Meurer.
    Message was edited by:
            Silvio Meurer

    Hi Parth,
    Here we are using the version 7.0 and SP 10, I'm afraid I could not understand you. I Can't find the function DATE_DIFF (Where is it?)
    I'm using the formula and it doesn't work. Coud you see the result is:
    last movement date     Today date        result
    02.04.2007                  20.070.625       19.337.856
    18.05.2007                  20.070.625       19.337.810
    the "today date" is from customer exit and the result is a strange number to me.
    Could you help me?

  • Present date - posting date

    hi ,
    the query contains char posting date(0pstng_date).
    query should bring the values which are longer than 6 months.when the user  run the query it should calculate the present date(sys date) - document posting date .if it is longer than 6 months it should bring that record.
    *how the query calculates the sys date(todays date)?
    *how to get whether it is older than 6 months?
    how can we acheive this.please advise.
    regards
    sri

    Search for it here, you will get a no of posts describing the steps for a user-exit. One such post is Re: Bex : selection variable - write default values
    In the code of the user exit, you may write something similar to
    data : w_date like sy-datum.
    WHEN '<Var Name>'.
    IF i_step = '2'.
    w_date = sy-datum.
    w_date+6(2) = '01'.
    w_date = w_date - 160.
    w_date+6(2) = sy-datum+6(2).
    l_s_range-low = w_date.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    l_s_Range-high = sy-datum.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    If you want to exclude the last six months data from the report, mention "l_s_range-sign = 'E'." instead in the above code. (current code will show the last six month data).
    Once done, you can restrict your pstg_date field (context menu-->restrict) with this variable.

  • Join two unrelated data sources

    Is it possible to join two unrelated data sourcesin OWB, if yes, how?
    The closest which comes to my mind is union (outer join) thru two proxy expressions with redundant column holders for reciprocal columns.
    But I am thinking, above would lead to excessive wastage.
    So is there a better way possible.
    Rgds,
    Deepak

    Deepak,
    I think there are 2 different things you are trying to achieve:
    1) With a grand total, something along the lines of:
    select emp1.empno
    , emp1.ename
    , count(emp2.empno) count_empno
    from emp1
    , emp2
    This query will retrieve a grant total, and because there is no relationship, you do not need a join condition. You do access the emp table twice.
    OWB would implement this like:
    select emp1.empno
    , emp1.ename
    , (select count(emp2.empno) from emp2) count_empno
    from emp1
    The other thing you seem to like to implement is a join on the customer_id, or similar for the simplified example, say on deptno in the emp table:
    select emp1.empno
    , emp1.ename
    , sum(emp2.sal) dept_sal_sum
    from emp1
    , emp2
    where emp1.deptno = emp2.deptno
    group by emp1.empno
    , emp1.ename -- this does not add anything, but...
    Again, the way OWB would implement this (something similar):
    select emp1.empno
    , emp1.ename
    , (select sum(emp2.sal)
    from emp2
    where emp2.deptno = emp1.deptno
    ) dept_sal_sum
    from emp1
    group by emp1.empno
    , emp1.ename -- this does not add anything, but...
    Anyway, so the way you would create this is by using the same source multiple times, include the aggregates and put in the join conditions appropriately.
    Hope this makes sense... and addresses the issue.
    Mark.

  • Date modified/Date Created/Date Added(timestamp) - not showing the actual date?

    In finder, none of the date info seems to be accurate.
    By example, I just downloaded a new app from a website (onyx in this case), todays date is Nov 13th and when I install the new app (i.e. drag and drop into Apps folders) in finder the Date modified says Nov. 1st, Date created says October 31. Should one of these columns not reflect the true date that the app actually got onto my mac? I understand that one of these clumns probably relfects the info contained within the downloaded app, but surely one column can tell me that I installed this app on November 13! The "Last opened" columns is the only "accurate" date column I have. (as I write this however, i've noticed that the 'Date Added column does say "Today").
    I gues my question is what columne reflect what the file itself has imbedded in it, and what relfects the actions i've done (I.e. installed the app on Nov 13)
    Any help would be very much appreciated. Note sure if this is somehting more worrisome or not, but i've had it for a while with no major issues other than frsutration of not understanding this. i'm on 10.7.2

    The Date Modified column for the Applications folder itself will reflect the actual installation date. The others aren't supposed to.
    (61530)

  • Query by Todays date

    Sorry for the simple question, but it is driving me mad!!
    I am trying to create a search that will filter those results
    where the access database has a field showing todays date. The code
    I have is
    SELECT *
    FROM Details
    WHERE CallBackDate = #Date#
    I am sure this is a simple change, so any help is
    appreciated.
    Thanks,

    Hi Chris,
    Not 100%, but in Access you call today's date by using
    Date(). Have you
    tried:
    SELECT *
    FROM Details
    WHERE CallBackDate = #Date()#
    Not sure if it needs those #, although it is a date so maybe
    try it with and
    if it doesn't work, without!
    Hope this helps,
    Nath.
    "Chris Morgan" <[email protected]> wrote in
    message
    news:e61isa$mmc$[email protected]..
    > Sorry for the simple question, but it is driving me
    mad!!
    >
    > I am trying to create a search that will filter those
    results where the
    > access
    > database has a field showing todays date. The code I
    have is
    >
    > SELECT *
    > FROM Details
    > WHERE CallBackDate = #Date#
    >
    > I am sure this is a simple change, so any help is
    appreciated.
    >
    > Thanks,
    >

  • Schedule line bringing todays date altough stock available earlier(backlog)

    Here is the issue,
    The project is in the backlogging stage.On the mm side the postings are done for august and plenty of stock is available for sales orders to be created.
    Now when we create sales orders we basically change the pricing date, document date and required delivery date for the backlogging of month august.
    When the avaialbity check runs it brings schedule as given below
                                  order qty    roundqty        confirmed         confirmed qty
    material X                      50            50                    0                  15-Aug-2010
    material X                      0              0                      50                Todays Date
    Altough the stock is avaialble for month of august and this is the first order that I created on the production system so no chance of stock being resewrved for other orders.
    Need a quick solution.Thank you

    Hi,
    I think that ATP will never confirm in the past, as it doesn't make any sense from an ATP point of view.
    If it is not what you need, then just dissable ATP, and the system will confirm anything on the required date.

  • Create table with overlapping parallel dates in individual columns

    I am trying to combine data from two different tables into a single table.
    The data in table 1 contains unit locations of patients within a hospital where each record represents one location. Patients can be transferred many times between different beds resulting in many records for a single visit.
    The data in table 2 contains operating room activity of the patient in the hospital where each record represents either the OR of the recovery room stay. A patient may have multiple operations in one visit.
    I would like to join/merge/mashup the data into a single table that has the data parallel to each other. That is, the dates for the unit activity on one side of the table and the OR activity on the other. The difficulty is that the two sets of in/out dates overlap. I would like the final table to split the original records into new records when the overlaps do not coincide.
    Example:
    Original Events in two records (one per table)
    > Unit Event A - from 2pm to 6pm
    > OR Event B - from 4pm to 5pm
    Results in 3 records (in final table)
    > Event 1 - Unit from 2pm to 4pm, OR dates null
    > Event 2 - Unit from 4pm to 5pm, OR from 4pm to 5pm
    > Event 3 - Unit from 5pm to 6pm, OR dates null
    Of course the overlapping may be more complex that the above example, and adding in and out code to indicate "phantom" transfers will be needed as well.
    In the code below, the first OR visit occurs during the first unit record.
    Jason
    Oracle 10g
    [code]
    create table delme_Unit_dates
    ( id            varchar2(20)
    , unit_rcd_id   varchar2(20)
    , Unit_desc     varchar2(20)
    , Unit_in_code  char(1)
    , Unit_in_dttm  date
    , Unit_out_dttm date
    , Unit_out_code char(1));
    create table delme_or_dates
    ( id            varchar2(20)
    , OR_rcd_id     varchar2(20)
    , OR_desc       varchar2(20)
    , OR_in_code    char(1)
    , OR_in_dttm    date
    , OR_out_dttm   date
    , OR_out_code   char(1));
    create table delme_all_dates
    ( id            varchar2(20)
    , Unit_OR_id    varchar2(40)
    , Unit_rcd_id   varchar2(20)
    , Unit_desc     varchar2(20)
    , Unit_in_code  char(1)
    , Unit_in_dttm  date
    , Unit_out_dttm date
    , Unit_out_code char(1)
    , OR_rcd_id     varchar2(20)
    , OR_Desc       varchar2(20)
    , OR_in_code    char(1)
    , OR_in_dttm    date
    , OR_out_dttm   date
    , OR_out_code   char(1));
    insert into delme_unit_dates values ('123456','U1111','Unit A','A',to_date('2013-04-29 5:02:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-09 1:06:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'B');
    insert into delme_unit_dates values ('123456','U1112','Unit A','B',to_date('2013-05-09 1:06:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-09 4:53:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'B');
    insert into delme_unit_dates values ('123456','U1113','Unit A','B',to_date('2013-05-09 4:53:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-10 10:52:00 PM', 'yyyy-mm-dd hh:mi:ss am'),'T');
    insert into delme_unit_dates values ('123456','U1114','Unit D','T',to_date('2013-05-10 10:52:00 PM', 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-11 11:30:00 AM', 'yyyy-mm-dd hh:mi:ss am'),'B');
    insert into delme_unit_dates values ('123456','U1115','Unit D','B',to_date('2013-05-11 11:30:00 AM', 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-12 4:00:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'B');
    insert into delme_unit_dates values ('123456','U1116','Unit D','B',to_date('2013-05-12 4:00:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-16 2:14:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'T');
    insert into delme_unit_dates values ('123456','U1117','Unit Z','T',to_date('2013-05-16 2:14:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-17 2:26:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'B');
    insert into delme_unit_dates values ('123456','U1118','Unit Z','B',to_date('2013-05-17 2:26:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-20 11:30:00 AM', 'yyyy-mm-dd hh:mi:ss am'),'D');
    insert into delme_or_dates values ('123456','OR2221','OR 1','O',to_date('2013-05-09 7:35:00 AM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-09 10:56:00 AM', 'yyyy-mm-dd hh:mi:ss am'),'R');
    insert into delme_or_dates values ('123456','OR2222','RR 5','R',to_date('2013-05-09 10:56:00 AM', 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-09 3:20:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),'U');
    insert into delme_or_dates values ('123456','OR3331','OR 2','O',to_date('2013-05-16 7:59:00 PM' , 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-16 10:43:00 PM', 'yyyy-mm-dd hh:mi:ss am'),'R');
    insert into delme_or_dates values ('123456','OR3332','RR 8','R',to_date('2013-05-16 10:43:00 PM', 'yyyy-mm-dd hh:mi:ss am'),to_date('2013-05-17 11:20:00 PM', 'yyyy-mm-dd hh:mi:ss am'),'U');
    commit;
    -- this is nowhere near to what is needed
    select
      U.*
    , o.*
    from  
      delme_Unit_dates U
    , delme_OR_dates   O
    where
        U.id = o.id
    and U.UNIT_IN_DTTM  <= O.OR_IN_DTTM
    and U.UNIT_OUT_DTTM >= O.OR_IN_DTTM
    order by U.UNIT_IN_DTTM, O.OR_IN_DTTM
    [/code]
    Message was edited by: Jason_S (Changed one date from '2013-05-16 3:20:00 PM' to '2013-05-09 3:20:00 PM')

    I edited one of the dates in the original post.
    Both the inpatient unit and OR events are contiguous for a given patient (no overlaps and no gaps -- after data is cleaned) .
    I have no problem with a view instead of a table, and would probably prefer a view.
    There are about 3 million records in the inpatient unit table and 0.5 million in the OR table.
    Below is how I would like the final table (assuming I correctly split the records). I've used X's to represent the phantom movements. It seems that one should never have a phantom X in both the UNIT_IN_CODE and the UNIT_OUT_CODE (same for out codes).
    FYI, The B's mean transfer within a unit (change room/ed), the T's transfer between units, O's enter OR, R's enter recovery room.
    Also, the may be a future need to add an additional set of parallel dates (attending physician service)!
    ID
    UNIT_OR_ID
    UNIT_RCD_ID
    UNIT_DESC
    UNIT_IN_CODE
    UNIT_IN_DTTM
    UNIT_OUT_DTTM
    UNIT_OUT_CODE
    OR_RCD_ID
    OR_DESC
    OR_IN_CODE
    OR_IN_DTTM
    OR_OUT_DTTM
    OR_OUT_CODE
    123456
    U1111-
    U1111
    Unit A
    A
    04/29/2013 17:02
    05/09/2013 7:35
    X
    123456
    U1111-OR2221
    U1111
    Unit A
    X
    05/09/2013 7:35
    05/09/2013 10:56
    X
    OR2221
    OR 1
    O
    05/09/2013 7:35
    05/09/2013 10:56
    R
    123456
    U1111-OR2222
    U1111
    Unit A
    X
    05/09/2013 10:56
    05/09/2013 13:06
    B
    OR2222
    RR 5
    R
    05/09/2013 10:56
    05/09/2013 13:06
    X
    123456
    U1112-OR2222
    U1112
    Unit A
    B
    05/09/2013 13:06
    05/09/2013 15:20
    X
    OR2222
    RR 5
    X
    05/09/2013 13:06
    05/09/2013 15:20
    U
    123456
    U1112-
    U1112
    Unit A
    X
    05/09/2013 15:20
    05/09/2013 16:53
    B
    123456
    U1113-
    U1113
    Unit A
    B
    05/09/2013 16:53
    05/10/2013 22:52
    T
    123456
    U1114-
    U1114
    Unit D
    T
    05/10/2013 22:52
    05/11/2013 11:30
    B
    123456
    U1115-
    U1115
    Unit D
    B
    05/11/2013 11:30
    05/12/2013 16:00
    B
    123456
    U1116-
    U1116
    Unit D
    B
    05/12/2013 16:00
    05/16/2013 14:14
    T
    123456
    U1117-
    U1117
    Unit Z
    T
    05/16/2013 14:14
    05/16/2013 19:59
    X
    123456
    U1117-OR3331
    U1117
    Unit Z
    X
    05/16/2013 19:59
    05/16/2013 22:43
    X
    OR3331
    OR 2
    O
    05/16/2013 19:59
    05/16/2013 22:43
    R
    123456
    U1117-OR3332
    U1117
    Unit Z
    X
    05/16/2013 22:43
    05/17/2013 14:26
    B
    OR3332
    RR 8
    R
    05/16/2013 22:43
    05/17/2013 14:26
    X
    123456
    U1118-OR3332
    U1118
    Unit Z
    B
    05/17/2013 14:26
    05/17/2013 23:20
    B
    OR3332
    RR 8
    X
    05/17/2013 14:26
    05/17/2013 23:20
    U
    123456
    U1118-
    U1118
    Unit Z
    B
    05/17/2013 23:20
    05/20/2013 11:30
    D
    Jason

  • New IMac - transferring data with Lexar jump drive - all files come across as modified with todays date not date formed as on the old computer (also an IMac) what gives.

    I purchased a new Imac and when transferring data with a Lexar Jump drive the filed come across as modified with todays date rather than the date that the files were created. How do I keep the files as they are?

    I purchased a new Imac and when transferring data with a Lexar Jump drive the filed come across as modified with todays date rather than the date that the files were created. How do I keep the files as they are?

  • How to create a report with survey data

    Hi All,
    I need to create a report with survey data in below format. Can anyone help me how to display the summary in this format.
    Swapna

    Hi Swapna,
    According to your description, you want to create a report with survey data and display the summary.
    Reporting Services is used for rendering the report with data retrieved from datasource. In Reporting Services, we can retrieve data from the datasource then design a report, after the report processed, data is fixed on the report. So it’s not supported
    to have the end users selection and do summary. For your requirement, it’s can’t be achieved currently.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • I have an iMac with 2 internal drives and set-up with multiple user accounts.  How do I create a path to store data files on my second drive within an application?

    I have an iMac with 2 internal drives and a multiple user account set-up.  Hw do I create a path to store data files on the second drive within an application?

    This is the Mac mini forum not the iMac forum however...
    Applications written for average users like Photoshop, Word, i.e. GUI based applications provide a 'Save' dialog box which while allow selecting second drives or any drive. The dialob box initially shown might be in the simple mode but you just need to click on the triangle to show the full set of options. You should then see the different drive names amongst other options.
    If your referring to an application your writing yourself then you need to build a pathname. This can be in one of two styles depending on the programming system your using. This could be a POSIX style path or a Mac style path.
    POSIX = /Volumes/volname/foldername
    Mac style = Volname:foldername:

  • Is there a way to create a reminder from a date that appears in an email?

    Is there a way to create a reminder from a date that appears in an email that was sent to me? I know that when a date is entered into an email I can create an event on my calendar for it, but is there a way I can have it be a reminder instead?
    Thank you

    Here is a method for extracting a still from iMovie 09.
    Are you working in iMovie and realize that certain frames in the movie would be perfect as photographs? Here is how to extract them...
    *To get a still frame from an Event*, right-click on the frame and select "Add Still Frame to Project". The still will be added to the end of the current project. Right click on the still frame in the project and select "Reveal in Finder". You will see a jpeg file that is highlighted. Drag this jpeg file in the finder to the iPhoto icon on your dock.
    *If you want a still from a project*, rather than an event, the process is similar, except you right-click on the frame and select "Add Freeze Frame", and it adds the freeze frame at the end of the clip rather than at the end of the project. Right-click/reveal in Finder, drag JPEG to iPhoto icon in dock.
    *If you are not using iPhoto*, and just want to save to your desktop, click Reveal in Finder as above, then COPY, then PASTE to desktop.
    Hint: If you do not want to clutter up your iMovie Project with stills at the end that you would have to go back and delete, then create a separate iMovie Project just for your stills, and follow the instructions for capturing stills from an Event.
    Note: If you do not have a right mouse button, then control-click will work instead of right-click.

  • How to create a single large bitmap data at run time?

    Hi All,
    Please help me in overcoming the issue that is mentioned below.
    Requirement:   Create single very large bitmap data which contain some 30 PNG images loaded and for each image it should have some text.  Images and text are loaded dynamically (AS2 code. Images are stored in a remote server). The bitmap data display should show 8 images at a time and corresponding text. We can see rest content by scrolling (kinetic scroll is implemented). How can I go for it?
    Some questions:
    · Is there any limit for size of bitmap data ( As per link there is restriction on the height of the bitmap we can create in AS2 (max value is 2880 which is not enough for some 30 element list http://help.adobe.com/en_US/FlashLite/2.0_FlashLiteAPIReference2/WS84235ED5-9394-4a52-A098 -EED216C18A66.html ) How to overcome this limitation?
    · If we create individual bitmap data for 30 individual PNG files, we find some jerks in scroll. How can we have smooth scrolling?
    Thanks and Regards,
    Manjunath

    Thank you very much for the reply.
    The number of bitmaps are not 30 always. It can vary in real time and since all PNG files are stored in a remote server which are also vary during runtime; so we can not predefine the number of child movieclips. It could be 10 at some duration and may be 20 at some other time.
    Any help?

Maybe you are looking for

  • Error when invoking Rule Engine using Java API

    Hi, I have implemented a Java class which calls the Rule Engine to execute the rules. If I test by setting the value of the input inside a main method and get the output, it is working fine. The ruleset is also invoked and there is no problem. Howeve

  • Map coordinate to screen coordinate algorithm

    I am working on a simple 2d RPG, but I ran into a problem while working in NPCs. Currently the player is fixed at the center of a panel and the map scrolls below him. The panel the character and map are drawn on is only 1000 by 520 pixels and the map

  • T61 8897-03U constant audio problem

    Notebook has pretty much always had this problem, system board even replaced. Ever since I got this notebook the audio has never worked right. A month after getting it Lenovo replaced the mobo for a different issue. Still with this new board my audio

  • Empty entry in table of contents

    I have created a couple of table of contents recently and in every instance they added a blank entry at the end.  In most cases this is OK as I can either delete it or simply force the entry to be overset but I'd prefer it not be created at all.  Has

  • Description from Source system via FDMEE

    Hi Team , For Flat files if we have description in file we can take that description also from that . If it possible to bring in the Description from other Source system . For Eg if i have source system as Oracle Ebs , can i bring in the the Descript