calculation on line data

Hello world

I have just started using the tiara and I have no idea how I can do a few calculations, I want to have chanell with result depends on the other chanells, but not the same data line, I can use the SMC (line, no.) and I can do to make it function in a cell with my result chanell (example for the first row of data (: SMC (1, Ch("[4]/Channel1")) = (ChD (1, Ch("[4]/Channel")) + SMC (2, Ch("[4]/Channel"))) / 2), but I don't know how I can do this function automatically for the other line (for example, line 2 ChD (2, Ch("[4]/Channel1")) = (ChD (2, Ch("[4]/Channel")) + SMC (3, Ch("[4]/Channel"))) / 2) I have a line of 500,000 of data so I need know some functions that will be clalculated this function on the lines of my data. I will be grateful for your help.

Hello!

For performance of good calculations on your data of type long, you must use a formula in tiara. In the past, it was the FormulaCalc command. Today, the ChnCalculate is recommended. The similar oddity in the two commands, they can only do calculations on one line (it's repeat them verry fast for all lines). For you the problem this behavior results in a no aproach obvoius. You must copy your data to a second channel, remove the number of values that gives your shift and then use the two channels for the calculation. Here's the script for offset = 1:

Call ChnCopy("[1]/Channel","[1]/ChannelCopy")
Call DataBlDel("[1]/ChannelCopy", 1, 1)
Call ChnCalculate("Ch(""[1]/Result"" )= Ch(""[1]/Channel"" ) + Ch(""[1]/ChannelCopy"" )/2")

Matthias

Tags: NI Software

Similar Questions

  • How to transpose a line date wise?

    Dear Experts,

    How to transpose a line date wise?

    date            value
    11-jan-2016 101
    11-jan-2016 102
    11-jan-2016 103
    12-jan-2016 104
    12-jan-2016 105
    12-jan-2016 106
    13-jan-2016 107
    13-jan-2016 108
    13-jan-2016 109
    

    --------------

    Expected results

    date            value     value_2 value_3
    11-jan-2016 101 104 107
    11-jan-2016 102 105 108
    11-jan-2016 103 106 109
    

    Thank you for your help in advance.

    Kind regards

    IVW

    Hello

    Whenever you have a problem, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) of all the tables involved, so that people who want to help you can recreate the problem and test their ideas.

    Also post the exact results you want from this data, as well as an explanation of how you get these results from these data, with specific examples.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: Re: 2. How can I ask a question on the forums?

    and: Re: 4. How can I convert rows to columns?

    Swivel (which is the generic name for what you want to do) assume that you can tell, by looking at each input line, you can specify what columns of output that the row will affect.  In this case, it seems that you need to derive a column like this, perhaps using the ROW_NUMBER analytic function.

  • Calculation of current date or the previous months

    Script gurus of wishes!

    I would like to ask help on calculating Date.

    Here's my current scenario:

    The user enters a date mm/dd/yyyy ("DateField")

    Power here ask the 'DateField' to calculate these items:

    Less "DateField" 12 months = ("12MonthsAgoDateField") / mm/yyyy

    'DateField' 18 months = ("18MonthsAgoDateField") / mm/yyyy

    'DateField' less than 36 months = ("36MonthsAgoDateField") / mm/yyyy

    and so on...

    I read some posts Date of calculation, but could barely find anything that fit this scenario.

    Freely, I confess that my ability to script is very minor.

    I would appreciate help in this script.

    Thank you!

    If you really want to go into the details (or not the time to do)

    Here is the simple solution to your problem.

    I wrote a small function (a few lines)

    Put this in the document level javascript

    Function level javascript document-

    function getPastDate (textFieldName, month) {}

    var util.printd = cDate ("dd/mm/yyyy", new Date (this.getField ("textFieldName") .value));

    sDate var = util.scand ("mm/dd/yyyy", cDate);

    If (sDate == null) {}

    App.Alert ("Please enter a valid date in the form \"mm/dd/yyyy\". »)

    } else {}

    update var = new Date (sDate.getFullYear (), (sDate.getMonth () + months), sDate.getDate ());

    Return util.printd("mm/yyyy",pDate);

    }

    }

    Now suppose that we have a text box name "Text1" including the date in the format "mm/dd/yyyy".

    1st parameter is for the name text box (seen the date that you want to process)

    2nd parameter is the number of months (to subtract pass a negative value)

    If you want to get the result in another area of text "Text2" write the following code in the event to calculate Text2

    Event.Value = getPastDate ("Text1",-12);

    This removes 12 month value "Text1".

    Hope this will help

  • How to hilight a datagrid feature line date < sysdate?

    Hello

    I can hilight a datagrid record based on a date column is before a fixed date, but how I use SYSDATE?

    Framework
    I am creating a websheet that uses a DataGrid to display a list of tasks, and I want to hilight tasks that are overdue. I have been able to create this as a separate report, but I think that hilighting would be better. When you go to Actions-> Format-> Hilight, there is an "Expression" box, but there seems to be a date picker that accepts only the litterals.

    I use Apex 4.1.1 running Oracle 11 g XE & EPG, on Windows XP.


    Thank you

    Tak

    I can hilight a datagrid record based on a date column is before a fixed date, but how I use SYSDATE?

    Framework
    I am creating a websheet that uses a DataGrid to display a list of tasks, and I want to hilight tasks that are overdue. I have been able to create this as a separate report, but I think that hilighting would be better. When you go to Actions-> Format-> Hilight, there is an "Expression" box, but there seems to be a date picker that accepts only the litterals.

    Hello

    Let's say that your "due date" column is the column 'B' in the report/grid.

    Add a calculated the State column. Call it "Days late" and the value of the expression 'ROUND (B - SYSDATE).

    Then add in light the report, for the lines where "days overdue > = 0.

    -Morten

    http://ORA-00001.blogspot.com

  • Calculation of line graph

    I use the Query Builder to create a line graph. But I want to use a calculation to one of the lines and the data comes from two fields in the same report. I'm not sure how exactly to do this calculation to work.

    Select the link null, label SAMPLE_TIME, FREE_BUFFERS_INSPECTED/Dirty_buffers_inspected "buffer free and salty.
    "DART". "" DART_BUFFER_POOL ".

    It accepts the code, but it says error, no graphic data available by looking at the actual graph. Is there a problem at the APEX of divide by 0? Don't know if this is causing the problem.

    Hello

    is there a problem at the APEX of divide by 0? : This is a problem general math , as something of division by 0 is usually a failure (or unknown).
    Try your query in SQLPlus to see if you get an error here too. If so, rewrite the 'Dirty_buffers_inspected' to
    DECODE (Dirty_buffers_inspected, 0, 0, FREE_BUFFERS_INSPECTED/Dirty_buffers_inspected)

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • Calculator HP48SX setting Date and time do not work

    Hello

    I use a HP 48SX calculator.

    The date and time is wrong.

    When I put date and time following message comes:

    Catalogue of vacuum.

    I use to set the date and time after orders

    Blue arrow to the right

    TIME

    What's wrong?

    Please help.

    Using this calculator with 48GX it works well.

    Jochen

    Hi!, jochen2:

    Welcome to Forum!

    Example of time... 13.52-> TIME... and press the ENTER key

    You can change the shape, to see (A / h, 12/24, m/d).

    To change or set a DATE... 08.102015-> DATE... and press the ENTER key

  • Continuously perform calculations on the data

    Hey guys,.

    So I have this program that generates pulses of signals using NOR-SCOPE, and I initially did so that each time that the user presses a button that they will perform certain calculations in order to generate a value that is stored in a table. My mentor now wants me to do so that it generates continuously pulse signals (not a single signal) and adds the values in a table. The signal seems so I need to use the parameter N samples on NI SCOPE as it does in the code below, although if anyone has a way to change this, it would be nice too.

    So basically, how can I calculate continuous pulse generated automatically over time signals? The user does not have to run the program and the computer does the rest.

    Thank you!

    You must migrate to a structure of producer/consumer. In the loop of the producer acquire the data contimuously and pass it to the loop of consumption. In the loop of the consumer, analyze the data and store the data as needed.

    A variation on the theme that I recommend is that instead of using a queue to pass data, use a user-defined event. The reason for this change is that your current code (which is basically what will end up in the loop of the consumer) is so pass data to loop through an event will allow him to fit into the current structure of the user interface.

    Oh, Yes, one more thing: get rid of the Express live. It's time to remove the training wheels...

    Mike...

  • Calculation on previous dates in sql

    I need to find the age for each day, but I need for the previous set in a query

    For example:

    For SYSDATE:

    SELECT SYSDATE AS DATE
    ((SYSDATE) - create_time) Age
    Elements

    (SYDATE-1):
    SELECT (SYSDATE-1) AS DATE
    ((Sysdate-1)-create_time) Age
    Elements


    (SYDATE-2) AND SO ON: -
    SELECT (SYSDATE-2) AS DATE
    ((Sysdate-2)-create_time) Age
    Elements

    Is there any method so that it automatically calculates all previous dates and gives the output. Final output should display like this:

    Date_in age
    24 JUNE 15 20
    23 JUNE 15 19
    22 JUNE 15 18

    Note: this is not only for 3 days, I need for all previous dates

    Help, please

    Hello

    assuming that your query on the tables of the elements is to return a single line, you can use the CONNECT BY.

    Here I used a WITH statement instead of your entry table:

    with items as
    (
       select to_date('04-JUN-2015', 'dd.mon.yyyy') created_date from dual
    )
     select trunc(sysdate) - level + 1 dt
          , trunc(sysdate) - level + 1 - created_date  age
       from items
    connect by trunc(sysdate) - level + 1 - created_date > 0;
    
    DT               AGE
    --------- ----------
    25-JUN-15         21
    24-JUN-15         20
    23-JUN-15         19
    22-JUN-15         18
    21-JUN-15         17
    20-JUN-15         16
    19-JUN-15         15
    18-JUN-15         14
    17-JUN-15         13
    16-JUN-15         12
    15-JUN-15         11
    14-JUN-15         10
    13-JUN-15          9
    12-JUN-15          8
    11-JUN-15          7
    10-JUN-15          6
    09-JUN-15          5
    08-JUN-15          4
    07-JUN-15          3
    06-JUN-15          2
    05-JUN-15          1
    
    21 rows selected.
    

    In case your query on the table of the elements to return several rows then please provide examples of data (CREATE TABLE and INSERT statement) as specified in: Re: 2. How can I ask a question on the forums?

    Kind regards.

    Alberto

  • Calculating a due date in XI from Adobe using Java script...

    I have two fields in a form. One with the current date is calculated by the following:

    var f = this.getField ("Today"); f.value = new Date();

    The second field, I try to add 7 days to the, but I can't understand it. What script do I need to add in the existing field is filling date and add the new field to fill out this information. I tried a lot of what I found on the internet but nothing seems to work...

    "In addition, please note that I use the ' Document Javascripts" Editor-in-Chief of Adobe Pro XI.

    Any help is appreciated


    It is possible. To make it work as you want, the custom in the field today calculation script should be:

    Custom calculation script

    (function () {}

    Get a reference to the DueDate field

    var f = getField ("DueDate");

    If (event.source & event.source = f) {}

    Proceed with this script if it is triggered by a change in the DueDate field

    return;

    }

    Update the value of this field to show the current date

    var d = new Date();

    Event.Value = util.printd ("mm/dd/yyyy", d);

    Add seven days to the date of the day

    d.setDate (d.getDate () + 7);

    The DueDate field update

    f.Value = util.printd ("mm/dd/yyyy", d);

    })();

    But first remove the DueDate field calculation script. If you do not the unalterable DueDate field, a user will be able to change, but it will reset when any field value changes.

  • Select and validate the newly created lines (data stop) in ADF

    Hi all

    Here's the problem of mine: I want to validate and save the data in the SERIAL_EXCHANGE table, include NEW_SERIAL_NO and OLD_SERIAL_NO. The OLD_SERIAL_NO is not allowed to save in 2 files, I used the getCurrentRow method to select the new created line and validate it. This method works when I do not change the selected line and create other rows consecutively. But when I do, the method does not work well.

    So I want to find a way to select newly created lines and validate their value before they are committed to the database. Please help if you have an idea how to solve.

    Thank you
    VnMa

    This in the right place - DB

    unique index on the old serial number
    foreign key to validate the existence of the old serial number of the other table

    In the ADF, you would use a unique key for the uniqueness and association EO to validate the existence of the other table.

  • Dynamics of the columns/line data adds forms (11.1.1.3) v/s (11.1.2.1)

    Hi all
    There was once an option in Hyperion planning 11.1.1.3 Dynamic add lines in the data form. I don't see this option in planning 11.1.2.1?
    Could you please suggest how we can grant the right to users to add dynamic add rows and columns in the form of data? or it's possible in 11.1.2.1?
    users want to have a feature of adding line in data forms (forms of planning)

    Thank you

    Published by: 842804 on August 17, 2011 12:49

    Do you mean 11.1.2 If Yes, then the ad hoc forms really take over to add lines they add many more features.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Dynamics of the columns/line data adds forms (11.1.1.3) v/s (11.1.1.2)

    Hi all
    There was once an option in Hyperion planning 11.1.1.3 Dynamic add lines in the data form. I don't see this option in planning 11.1.1.2?
    Could you please suggest how we can grant the right to users to add dynamic add rows and columns? or it is possible in 11.1.1.2

    Thank you

    What about ad-hoc analyses? Reading this: http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_user/ch04s02s03.html

    See you soon,.
    Mehmet

  • How to list the Dates of broken lines date range?

    Hello

    I have a table with id columns, start_date, end_date with following sample data:
    ID    start_date       end_date
    15    10-Mar-2010      15-Sep-2010
    15    01-Dec-2010      31-Mar-2011
    15    05_Apr-2011      31-Dec-2030
    I entered date range from 1 April 2010 to 31-Jun-2011 and id = 15.
    I want to write a query to print the dates by top lines that are present in a given date range. I will skip the dates which are not present in the rows and which are out of the input range.

    For example I'll print from April 1, 2010... to... 15-sep-2010 pass dates of 16-Sep-2010... to the... November 30, 2010
    printing date of December 1, 2010... to 31 March 2011 and then pass date of April 1, 2011-April 4, 2011 and at the end it will print the dates of April 5, 2011 to 31-Jun-2011

    Please help write a select statement.

    Thank you very much.

    Or like this?

    SQL> ed
    Wrote file afiedt.buf
    
      1  with t as (select 15 as ID, date '2010-03-10' as start_date, date '2010-09-15' as end_date from dual union all
      2             select 15, date '2010-12-01', date '2011-03-31' from dual union all
      3             select 15, date '2011-04-05', date '2030-12-31' from dual)
      4      ,r as (select date '2010-04-01' as d1, date '2011-06-30' as d2 from dual) -- Note June only has 30 days
      5  --
      6  --
      7  --
      8  select (start_date+rn)-1 dt
      9  from t
     10      ,(select rownum as rn from dual connect by rownum <= (select max((end_date-start_date)+1) from t))
     11      ,r
     12  where   (start_date+rn)-1 <= end_date
     13  and     (start_date+rn)-1 between d1 and d2
     14* order by 1
    SQL> /
    
    DT
    --------------------
    01-APR-2010 00:00:00
    02-APR-2010 00:00:00
    03-APR-2010 00:00:00
    04-APR-2010 00:00:00
    05-APR-2010 00:00:00
    06-APR-2010 00:00:00
    07-APR-2010 00:00:00
    08-APR-2010 00:00:00
    09-APR-2010 00:00:00
    10-APR-2010 00:00:00
    11-APR-2010 00:00:00
    12-APR-2010 00:00:00
    13-APR-2010 00:00:00
    14-APR-2010 00:00:00
    15-APR-2010 00:00:00
    16-APR-2010 00:00:00
    17-APR-2010 00:00:00
    18-APR-2010 00:00:00
    19-APR-2010 00:00:00
    20-APR-2010 00:00:00
    21-APR-2010 00:00:00
    22-APR-2010 00:00:00
    23-APR-2010 00:00:00
    24-APR-2010 00:00:00
    25-APR-2010 00:00:00
    26-APR-2010 00:00:00
    27-APR-2010 00:00:00
    28-APR-2010 00:00:00
    29-APR-2010 00:00:00
    30-APR-2010 00:00:00
    01-MAY-2010 00:00:00
    02-MAY-2010 00:00:00
    03-MAY-2010 00:00:00
    04-MAY-2010 00:00:00
    05-MAY-2010 00:00:00
    06-MAY-2010 00:00:00
    07-MAY-2010 00:00:00
    08-MAY-2010 00:00:00
    09-MAY-2010 00:00:00
    10-MAY-2010 00:00:00
    11-MAY-2010 00:00:00
    12-MAY-2010 00:00:00
    13-MAY-2010 00:00:00
    14-MAY-2010 00:00:00
    15-MAY-2010 00:00:00
    16-MAY-2010 00:00:00
    17-MAY-2010 00:00:00
    18-MAY-2010 00:00:00
    19-MAY-2010 00:00:00
    20-MAY-2010 00:00:00
    21-MAY-2010 00:00:00
    22-MAY-2010 00:00:00
    23-MAY-2010 00:00:00
    24-MAY-2010 00:00:00
    25-MAY-2010 00:00:00
    26-MAY-2010 00:00:00
    27-MAY-2010 00:00:00
    28-MAY-2010 00:00:00
    29-MAY-2010 00:00:00
    30-MAY-2010 00:00:00
    31-MAY-2010 00:00:00
    01-JUN-2010 00:00:00
    02-JUN-2010 00:00:00
    03-JUN-2010 00:00:00
    04-JUN-2010 00:00:00
    05-JUN-2010 00:00:00
    06-JUN-2010 00:00:00
    07-JUN-2010 00:00:00
    08-JUN-2010 00:00:00
    09-JUN-2010 00:00:00
    10-JUN-2010 00:00:00
    11-JUN-2010 00:00:00
    12-JUN-2010 00:00:00
    13-JUN-2010 00:00:00
    14-JUN-2010 00:00:00
    15-JUN-2010 00:00:00
    16-JUN-2010 00:00:00
    17-JUN-2010 00:00:00
    18-JUN-2010 00:00:00
    19-JUN-2010 00:00:00
    20-JUN-2010 00:00:00
    21-JUN-2010 00:00:00
    22-JUN-2010 00:00:00
    23-JUN-2010 00:00:00
    24-JUN-2010 00:00:00
    25-JUN-2010 00:00:00
    26-JUN-2010 00:00:00
    27-JUN-2010 00:00:00
    28-JUN-2010 00:00:00
    29-JUN-2010 00:00:00
    30-JUN-2010 00:00:00
    01-JUL-2010 00:00:00
    02-JUL-2010 00:00:00
    03-JUL-2010 00:00:00
    04-JUL-2010 00:00:00
    05-JUL-2010 00:00:00
    06-JUL-2010 00:00:00
    07-JUL-2010 00:00:00
    08-JUL-2010 00:00:00
    09-JUL-2010 00:00:00
    10-JUL-2010 00:00:00
    11-JUL-2010 00:00:00
    12-JUL-2010 00:00:00
    13-JUL-2010 00:00:00
    14-JUL-2010 00:00:00
    15-JUL-2010 00:00:00
    16-JUL-2010 00:00:00
    17-JUL-2010 00:00:00
    18-JUL-2010 00:00:00
    19-JUL-2010 00:00:00
    20-JUL-2010 00:00:00
    21-JUL-2010 00:00:00
    22-JUL-2010 00:00:00
    23-JUL-2010 00:00:00
    24-JUL-2010 00:00:00
    25-JUL-2010 00:00:00
    26-JUL-2010 00:00:00
    27-JUL-2010 00:00:00
    28-JUL-2010 00:00:00
    29-JUL-2010 00:00:00
    30-JUL-2010 00:00:00
    31-JUL-2010 00:00:00
    01-AUG-2010 00:00:00
    02-AUG-2010 00:00:00
    03-AUG-2010 00:00:00
    04-AUG-2010 00:00:00
    05-AUG-2010 00:00:00
    06-AUG-2010 00:00:00
    07-AUG-2010 00:00:00
    08-AUG-2010 00:00:00
    09-AUG-2010 00:00:00
    10-AUG-2010 00:00:00
    11-AUG-2010 00:00:00
    12-AUG-2010 00:00:00
    13-AUG-2010 00:00:00
    14-AUG-2010 00:00:00
    15-AUG-2010 00:00:00
    16-AUG-2010 00:00:00
    17-AUG-2010 00:00:00
    18-AUG-2010 00:00:00
    19-AUG-2010 00:00:00
    20-AUG-2010 00:00:00
    21-AUG-2010 00:00:00
    22-AUG-2010 00:00:00
    23-AUG-2010 00:00:00
    24-AUG-2010 00:00:00
    25-AUG-2010 00:00:00
    26-AUG-2010 00:00:00
    27-AUG-2010 00:00:00
    28-AUG-2010 00:00:00
    29-AUG-2010 00:00:00
    30-AUG-2010 00:00:00
    31-AUG-2010 00:00:00
    01-SEP-2010 00:00:00
    02-SEP-2010 00:00:00
    03-SEP-2010 00:00:00
    04-SEP-2010 00:00:00
    05-SEP-2010 00:00:00
    06-SEP-2010 00:00:00
    07-SEP-2010 00:00:00
    08-SEP-2010 00:00:00
    09-SEP-2010 00:00:00
    10-SEP-2010 00:00:00
    11-SEP-2010 00:00:00
    12-SEP-2010 00:00:00
    13-SEP-2010 00:00:00
    14-SEP-2010 00:00:00
    15-SEP-2010 00:00:00
    01-DEC-2010 00:00:00
    02-DEC-2010 00:00:00
    03-DEC-2010 00:00:00
    04-DEC-2010 00:00:00
    05-DEC-2010 00:00:00
    06-DEC-2010 00:00:00
    07-DEC-2010 00:00:00
    08-DEC-2010 00:00:00
    09-DEC-2010 00:00:00
    10-DEC-2010 00:00:00
    11-DEC-2010 00:00:00
    12-DEC-2010 00:00:00
    13-DEC-2010 00:00:00
    14-DEC-2010 00:00:00
    15-DEC-2010 00:00:00
    16-DEC-2010 00:00:00
    17-DEC-2010 00:00:00
    18-DEC-2010 00:00:00
    19-DEC-2010 00:00:00
    20-DEC-2010 00:00:00
    21-DEC-2010 00:00:00
    22-DEC-2010 00:00:00
    23-DEC-2010 00:00:00
    24-DEC-2010 00:00:00
    25-DEC-2010 00:00:00
    26-DEC-2010 00:00:00
    27-DEC-2010 00:00:00
    28-DEC-2010 00:00:00
    29-DEC-2010 00:00:00
    30-DEC-2010 00:00:00
    31-DEC-2010 00:00:00
    01-JAN-2011 00:00:00
    02-JAN-2011 00:00:00
    03-JAN-2011 00:00:00
    04-JAN-2011 00:00:00
    05-JAN-2011 00:00:00
    06-JAN-2011 00:00:00
    07-JAN-2011 00:00:00
    08-JAN-2011 00:00:00
    09-JAN-2011 00:00:00
    10-JAN-2011 00:00:00
    11-JAN-2011 00:00:00
    12-JAN-2011 00:00:00
    13-JAN-2011 00:00:00
    14-JAN-2011 00:00:00
    15-JAN-2011 00:00:00
    16-JAN-2011 00:00:00
    17-JAN-2011 00:00:00
    18-JAN-2011 00:00:00
    19-JAN-2011 00:00:00
    20-JAN-2011 00:00:00
    21-JAN-2011 00:00:00
    22-JAN-2011 00:00:00
    23-JAN-2011 00:00:00
    24-JAN-2011 00:00:00
    25-JAN-2011 00:00:00
    26-JAN-2011 00:00:00
    27-JAN-2011 00:00:00
    28-JAN-2011 00:00:00
    29-JAN-2011 00:00:00
    30-JAN-2011 00:00:00
    31-JAN-2011 00:00:00
    01-FEB-2011 00:00:00
    02-FEB-2011 00:00:00
    03-FEB-2011 00:00:00
    04-FEB-2011 00:00:00
    05-FEB-2011 00:00:00
    06-FEB-2011 00:00:00
    07-FEB-2011 00:00:00
    08-FEB-2011 00:00:00
    09-FEB-2011 00:00:00
    10-FEB-2011 00:00:00
    11-FEB-2011 00:00:00
    12-FEB-2011 00:00:00
    13-FEB-2011 00:00:00
    14-FEB-2011 00:00:00
    15-FEB-2011 00:00:00
    16-FEB-2011 00:00:00
    17-FEB-2011 00:00:00
    18-FEB-2011 00:00:00
    19-FEB-2011 00:00:00
    20-FEB-2011 00:00:00
    21-FEB-2011 00:00:00
    22-FEB-2011 00:00:00
    23-FEB-2011 00:00:00
    24-FEB-2011 00:00:00
    25-FEB-2011 00:00:00
    26-FEB-2011 00:00:00
    27-FEB-2011 00:00:00
    28-FEB-2011 00:00:00
    01-MAR-2011 00:00:00
    02-MAR-2011 00:00:00
    03-MAR-2011 00:00:00
    04-MAR-2011 00:00:00
    05-MAR-2011 00:00:00
    06-MAR-2011 00:00:00
    07-MAR-2011 00:00:00
    08-MAR-2011 00:00:00
    09-MAR-2011 00:00:00
    10-MAR-2011 00:00:00
    11-MAR-2011 00:00:00
    12-MAR-2011 00:00:00
    13-MAR-2011 00:00:00
    14-MAR-2011 00:00:00
    15-MAR-2011 00:00:00
    16-MAR-2011 00:00:00
    17-MAR-2011 00:00:00
    18-MAR-2011 00:00:00
    19-MAR-2011 00:00:00
    20-MAR-2011 00:00:00
    21-MAR-2011 00:00:00
    22-MAR-2011 00:00:00
    23-MAR-2011 00:00:00
    24-MAR-2011 00:00:00
    25-MAR-2011 00:00:00
    26-MAR-2011 00:00:00
    27-MAR-2011 00:00:00
    28-MAR-2011 00:00:00
    29-MAR-2011 00:00:00
    30-MAR-2011 00:00:00
    31-MAR-2011 00:00:00
    05-APR-2011 00:00:00
    06-APR-2011 00:00:00
    07-APR-2011 00:00:00
    08-APR-2011 00:00:00
    09-APR-2011 00:00:00
    10-APR-2011 00:00:00
    11-APR-2011 00:00:00
    12-APR-2011 00:00:00
    13-APR-2011 00:00:00
    14-APR-2011 00:00:00
    15-APR-2011 00:00:00
    16-APR-2011 00:00:00
    17-APR-2011 00:00:00
    18-APR-2011 00:00:00
    19-APR-2011 00:00:00
    20-APR-2011 00:00:00
    21-APR-2011 00:00:00
    22-APR-2011 00:00:00
    23-APR-2011 00:00:00
    24-APR-2011 00:00:00
    25-APR-2011 00:00:00
    26-APR-2011 00:00:00
    27-APR-2011 00:00:00
    28-APR-2011 00:00:00
    29-APR-2011 00:00:00
    30-APR-2011 00:00:00
    01-MAY-2011 00:00:00
    02-MAY-2011 00:00:00
    03-MAY-2011 00:00:00
    04-MAY-2011 00:00:00
    05-MAY-2011 00:00:00
    06-MAY-2011 00:00:00
    07-MAY-2011 00:00:00
    08-MAY-2011 00:00:00
    09-MAY-2011 00:00:00
    10-MAY-2011 00:00:00
    11-MAY-2011 00:00:00
    12-MAY-2011 00:00:00
    13-MAY-2011 00:00:00
    14-MAY-2011 00:00:00
    15-MAY-2011 00:00:00
    16-MAY-2011 00:00:00
    17-MAY-2011 00:00:00
    18-MAY-2011 00:00:00
    19-MAY-2011 00:00:00
    20-MAY-2011 00:00:00
    21-MAY-2011 00:00:00
    22-MAY-2011 00:00:00
    23-MAY-2011 00:00:00
    24-MAY-2011 00:00:00
    25-MAY-2011 00:00:00
    26-MAY-2011 00:00:00
    27-MAY-2011 00:00:00
    28-MAY-2011 00:00:00
    29-MAY-2011 00:00:00
    30-MAY-2011 00:00:00
    31-MAY-2011 00:00:00
    01-JUN-2011 00:00:00
    02-JUN-2011 00:00:00
    03-JUN-2011 00:00:00
    04-JUN-2011 00:00:00
    05-JUN-2011 00:00:00
    06-JUN-2011 00:00:00
    07-JUN-2011 00:00:00
    08-JUN-2011 00:00:00
    09-JUN-2011 00:00:00
    10-JUN-2011 00:00:00
    11-JUN-2011 00:00:00
    12-JUN-2011 00:00:00
    13-JUN-2011 00:00:00
    14-JUN-2011 00:00:00
    15-JUN-2011 00:00:00
    16-JUN-2011 00:00:00
    17-JUN-2011 00:00:00
    18-JUN-2011 00:00:00
    19-JUN-2011 00:00:00
    20-JUN-2011 00:00:00
    21-JUN-2011 00:00:00
    22-JUN-2011 00:00:00
    23-JUN-2011 00:00:00
    24-JUN-2011 00:00:00
    25-JUN-2011 00:00:00
    26-JUN-2011 00:00:00
    27-JUN-2011 00:00:00
    28-JUN-2011 00:00:00
    29-JUN-2011 00:00:00
    30-JUN-2011 00:00:00
    
    376 rows selected.
    
    SQL>
    
  • Calculation of the date fields

    Hello

    I have three fields. 2 are formatted with the date field, and the third for the calculation of the difference between 2 date fields.

    For example, Field1 said August 2012, and field 2 said Sep 2012. Is it possible that I can do field 3 dipslay the 1 (month) response?

    Any help would be greatly appreciated.

    Thank you

    Yes, you use the date object JavaScript extract fields of the whole of the year and the month, create a common denominator for the month and year, and do the math.

    The event of calculation for the number of months:

    Delete the result value

    Event.Value = "";

    get field values

    var sStart = this.getField("Date1").value;

    Send var = this.getField("Date2").value;

    process if we have data

    If (sStart! = "" & send!) = "") {}

    convert date objects date strings

    var start = util.scand ("mmm yyyy", sStart);

    oEnd var = util.scand ("mmm yyyy", sending);

    get the full date and month year beginning

    var nStartFullYear = oStart.getFullYear ();

    var nStartMonth = oStart.getMonth ();

    convert data from start of month

    var nStartMonths = (nStartFullYear * 12) + nStartMonth;

    Get the complete year end date and month

    var nEndFullYear = oEnd.getFullYear ();

    var nEndMonth = oEnd.getMonth ();

    convert data from end of month

    var nEndMonths = (nEndFullYear * 12) + nEndMonth;

    do the math

    Event.Value = nEndMonths - nStartMonths;

    } / / end have given

    You will need to adjust the names for the start and end dates.

  • Calculation of field date

    I have a form that the user enters a date of completion of a given field and I want to have this date + 45 days calculated in another area (expiration date). Any ideas on writing scripts for it?

    Place the following script in the event out of the full date field. The value of the FormCalclanguage.

    Duedate.rawValue = Num2Date (Date2Num (complete.rawValue, "YYYY-MM-DD") + 45, 'YYYY-MM-DD');

    Thank you

    Srini

Maybe you are looking for

  • Problem adding toolbars

    I'm moving to IE8, Firefox but get adding all toolbars that I use everyday to Firefox. I want to add Coupons.comCouponBar, Roboform (which he says has been added, but does not appear), Adobe CS3 contribute and Canon Easy Web Print EX (for my Canon MX

  • Problem restoring from Time Machine complex

    BACKGROUND: I never tried to do a restore from Time Machine. PROBLEM: 2009 iMac internal drive is unreadable. * Previously saved on Time Machine before the problem of disk internal. Replaced the internal drive with 500 GB ssd When I try to restore th

  • Can not move icons on the desktop

    Can not move icons on the desktop

  • Updates made, had a BSOD! Help!

    Here is the error I get. Signature of the problem: Problem event name: BlueScreen OS version: 6.0.6002.2.2.0.256.1 Locale ID: 1033 More information about the problem: BCCode: d1 BCP1: FFFFFA60012F5804 BCP2: 0000000000000002 BCP3: 0000000000000008 BCP

  • lot size stride in screen.h?

    Hi all I experienced ForeignWindow and screen.h API. I followed the example of HelloForeignWindow and noticed something weird, I think. The call of this function: screen_get_buffer_property_iv(mScreenPixelBuffer, SCREEN_PROPERTY_STRIDE, &mStride) mSt