FormCalc/Script of the query?

Start time
End time
Mode of Transport
Travel time
HH: MMHH: MMDrop-down listAuto calculated on the start/end times

Total travel time
Sum of the travel times

Mode of Transport
Journey time to total time
Drop-down list

I created an interactive form, which requires that members of the public to fill out a travel diary. I had all the calculations to work except the bottom table. I am trying to understand what formcalc scripts use to give a total of each mode of transport, based on the users choice. For example, if you want the user to see how many minutes they have cycled this week, they choose the bike in the drop-down list on the bottom table and then in time of course total he tells them how many minutes they have cycled this week here.

Hello

I'm all for learning and hope that this value returned form help. But a little annoyed that managers are not 'seems' to be place a value on this topic.

https://Acrobat.com/#d=HJIBeWz3ZjvcBZjsSW-VRW

I fixed the first two pages, how I think that it would be preferable to address the problem:

  1. I deleted the lines and just kept a line that is repeatable (see object > range of binding). It is easier to maintain, because the script is a line. The line is then defined to have a minimum of 10 occurrences.
  2. I have also included tips in the areas of accessibility. All authorities.
  3. You must name the objects based on their role. This makes it much easier to script. See here: http://assure.ly/mxZO9T.
  4. I have inserted a page and a table for the summary. I took an approach where all categories would be visible and the corresponding times. I also includes a bar chart. You could color each bar based on the green of the mode of transport.
  5. You will need to look at the script in the summary times. It runs through the first two pages AND loops through each of the 10 rows in each of these tables.

Loop script for anyone interested:

// Set up some variables
var vTime = 0;
var currentRow;
// Calculate a summary for car
for (var i=3; i<5; i++) // work through the first two pages
{
     for (var j=0; j<10; j++) // work through the ten rows in each page
     {
          currentRow = xfa.resolveNode("Page" + i + ".Table1.Row1[" + j + "]"); 

          if (currentRow.modeTransport.rawValue == "Car")
          {
               vTime = vTime + currentRow.journeyTime.rawValue;
          }
     }
}
// Set summary journey time
this.rawValue = vTime / 60;

I hope that your manager will see value!

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Need a FormCalc script to call a hidden button

    I have a FormCalc script on the sending by the Send button Click event. I need to call a second hidden button that uses a JavaScript when the click on send the form by e-mail.

    Each button is working on its own, but I have a problem with the script to call the hidden button display button.

    Thank you

    MDawn

    You can use the method exeEvent of the hidden button.

    In the example, I am executing the Click of Button1 event from a different control below.

    Replace Button1 with full path of your control and the name of the event.

    Button1.execEvent ("Click");

    Thank you

    Srini

  • "Script failed (the language is formcalc...). -"error: incompatibility of Argument...". »

    Hello

    I went temporarily to FormCalc JavaScript just to see what functions are available.  It was not what I was looking for, so I did not add all the features, I just went through, then I went to JavaScript.  However, now when I find my PDF I get the following error messages that were not there before:

    errors.JPG

    Any help would be appreciated.

    Thank you.

    I fixed it.  Master Pages added automatically FormCalc the script to the sections "CurrentPage" and "PageCount".  So, I just deleted the script, he added without my permission.  VERY ANNOYING!

  • change / stop the query using bad plan

    I use 11.2.0.3.  I'm wrong a script with multiple insert into... Select.  One of the insert running for hours because it is using bad plan because of State statistics.   I've now updated the statistics. Is - it there anyway I can do oracle raise this insert or ignore this insert and continue with the other inserts in my script. (I don't want to kill the session, I want to run other sqls).

    Also, for the future is there a way to make oracle dynamic sampling rather than obsolete statistics usage?

    I was able to cancel the query in another session to help

    execDBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_SESS (sid, serial#, 'CANCEL_SQL');

  • Unable to produce the query results

    Hi all

    Hello. I'm aunable write a query that can produce reuls froe below question. An account can have several part relationship.

    Here is the data for the x table

    PartyID - AcctNo - indicator - RoleCode

    1111      -----     123   ------     Y         -------  110

    1112    -------     123   ------    N        --------- 120

    1113     ------     123   ------   N          --------   130

    1114     -------   124     -----   N        --------    100

    1115    --------   124    ------- N         ---------   110

    1116   ---------   124      ----   N       ---------    100

    1115      --------  125             Y       -------        100

    1116      -------    125             N      ------         110

    1117      -------   126            Y         -----        100

    Query should return these AcctNo is not any indicator = 'Y' and RoleCode did not have 100. In this case the results should be

    AcctNo

    123

    124

    Thanks in advance

    Don

    Hello

    885137 wrote:

    Hi, Frank, here is creation and insertion of table scripts. ...

    Thank you.

    So what's the problem with the query I posted in response #1?  (You must use the correct name of the table, of course).  Specify where he makes incorrect results and explain why these results are false.

  • the coil does not return the result of the query

    Hi people, I just my adventure begins with oracle sql basics course and I encountered the first problem.

    as I wrote in the topic, after you run the statement I get only query itself in the output file with no query results.

    exsample:

    coil C:\Users\Tomasz\Desktop\cw1.txt

    SELECT STARTDATE AS hire_date, employe_id, last_name, job_id

    Employees;

    spool off;

    all advice?

    Thanks in advance,

    Tomasz.

    Hi people, I just my adventure begins with oracle sql basics course and I encountered the first problem.

    as I wrote in the topic, after you run the statement I get only query itself in the output file with no query results.

    exsample:

    coil C:\Users\Tomasz\Desktop\cw1.txt

    SELECT STARTDATE AS hire_date, employe_id, last_name, job_id

    Employees;

    spool off;

    You said "after the execution of the statement.

    What you posted is NOT a statement; It is a script.

    I select Run Script (F5) and the file contains the query and the result set.

    If you use "Run the statement", you will get a file.

  • the query result child parent

    Hi all

    I write the query to the output of the Parent and the child's relationship and would need assistance. Would like to ask someone to help out me.

    I have a table like

    create the table par_chd

    (

    parent_id number (10),

    child_id number (10)

    );

    Who has data like

    SQL > select * from par_chd;

    PARENT_ID, CHILD_ID

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

    1001 1011

    1001-1021

    1001 1031

    1001-1041

    1021 10210

    1031 10310

    6 selected lines

    I would like to have output as

    PARENT_ID CHILD_LEVEL_1 CHILD_LEVEL_2

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

    1001 1011

    1001-1021-10210

    1001-1021

    1001 1031 10310

    1001 1031

    1001-1041

    1001

    7 selected lines

    Thanks in advance

    Saaz

    Hi Saaz,

    Minor adjustment to the script of Moazzam (who made 99% of employment):

    SELECT

    connect_by_root (parent_id),

    CASE

    WHEN LEVEL = 1 THEN child_id

    WHEN LEVEL = 2 THEN PREVIOUSLY child_id

    OTHER prerequisite parent_id

    END CHILD_LEVEL_1

    CASE

    WHEN LEVEL = 2 THEN child_id

    ANOTHER PREREQUISITE Child_id

    END CHILD_LEVEL_2

    CASE

    WHEN LEVEL = 3 THEN child_id

    END CHILD_LEVEL_3

    OF par_chd

    START WITH parent_id = 1001

    CONNECT BY parent_id = child_id PRIOR

    UNION ALL

    SELECT 1001, NULL, NULL, NULL FROM DUAL;

  • new to 4.02, no grid or column names in the query results

    It is a bit strange, I have SQL Developer 4.02 just installed, and I don't see grid or column names in the query results.  Don't see anything useful in tools > Preferences, what don't get me?

    The worksheet gives you a couple of different ways to run a query...

    1. instruction execute sheet icon toolbar (large green arrow, or Ctrl + Enter).

    This produces a results tab of the query with the data displayed in a grid.

    2. worksheet icon toolbar Execute the Script (the small tip of the green arrow on lined paper, or F5).

    This produces a tab out of the Script with the data displayed on the printer.

    If execution of the statement to Execute the Script, using some SQL * most orders will remove the column headers:

    1. set the position

    2. set the pagesize 0 (or 1 or 2).

    Pagesize and linesize default is - 1.  By default, the spreadsheet is free for formatting output script as he wishes.  If you have not changed these settings in the spreadsheet, then see if you point to a startup script in Tools > Preferences > Database > name of the connection startup script file

    Kind regards

    Gary

    SQL DeveloperTeam

  • How can rewrite the query statement effectively

    Hi gurus,

    BANNER

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

    Oracle Database 10g Release 10.2.0.4.0 - Production 64-bit

    PL/SQL Release 10.2.0.4.0 - Production

    CORE 10.2.0.4.0 Production

    AMT for Linux: release 10.2.0.4.0 - Production

    NLSRTL Version 10.2.0.4.0 - Production

    Table scripts


    CREATE TABLE WAREHOUSE

    (

    IDZONE VARCHAR2 (6 BYTE) NOT NULL,

    ZONE_CREATEDATE DATE NOT NULL,

    DATE OF DT_WAREHOUSE,

    DATE OF DT_POSTING

    )

    AREA ID, ZONE_CREATEDATE is PK

    CREATE TABLE ZONE_VIEW

    (

    IDZONE VARCHAR2 (6 BYTE) NOT NULL,

    ZONE_CREATEDATE DATE NOT NULL,

    ZONE_NUM NUMBER (2) NOT NULL,

    DATE OF TRANX_DATE

    )

    ID of the AREA, ZONE_CREATEDATE, ZONE_NUM is PK

    Query

    SELECT ID area, zone_createdate

    Of

    (

    SELECT ID area, zone_createdate,

    MAX (CASE WHEN zone_num = 18 AND tranx_date 'n' IS NOT NULL, THEN 1 TIME zone_num = 18 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_18,.

    MAX (CASE WHEN zone_num = 110 AND not IS NOT NULL, THEN 1 TIME = 110 zone_num tranx_date AND tranx_date IS NULL THEN 0 ELSE-1 END) region_110,.

    MAX (CASE WHEN zone_num = 135 AND tranx_date no IS NOT NULL, THEN 1 TIMES zone_num = 135 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_135,.

    MAX (CASE WHEN zone_num = 140 AND tranx_date 'n' IS NOT NULL, THEN 1 TIME zone_num = 140 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_140

    OF zone_view

    GROUP BY IDZone, zone_createdate

    ) zrn

    WHERE zrn.region_18 <>0

    AND (((zrn.region_110 = 1) OR (zrn.region_110 = - 1)) AND (there IS NOT (SELECT null from warehouse w WHERE w.zoneid = zrn.zoneid AND w.zone_createdate = zrn.zone_createdate AND w.dt_warehouse IS NULL)))

    AND (((zrn.region_135 = 1) AND (there IS NOT (SELECT null from warehouse w WHERE w.zoneid = zrn.zoneid AND w.zone_createdate = zrn.zone_createdate AND w.dt_posting IS NULL))) OR (zrn.region_140 = 1))

    OR ((zrn.region_18 >-1) AND (zrn.region_135 = - 1) AND (zrn.region_140 < 1))

    OR ((zrn.region_110 = 1) AND (zrn.region_135 = - 1) AND (zrn.region_140, <>, 0))

    );

    Top query runs too slowly on the real data set. Is there an effective way to rewrite the query which can perform the dough?

    Any help or suggestion would be appreciated

    Thanks in advance

    At the time where the application may not throw anything until after he has retrieved and grouped all the ranks of zone_view. His estimate of 7.5 minutes to scan millions 639 lines really fast enough - it's 85 million lines per minute.

    This seems to be where the time went. The only way that the query can be accelerated is to recover some of the conditions that must be applied before the grouping. The only obvious possibilities for this are

    (a) filter values of zone_num

    (b) move the audit only

    NOT EXISTS (SELECT null from warehouse w WHERE w.zoneid = zrn.zoneid AND w.zone_createdate = zrn.zone_createdate AND w.dt_warehouse IS NULL)

    within the group, because this condition is applied regardless of the values in calculated fields. The AREA ID, ZONE_CREATEDATE are not null, so I suggest to try:

    SELECT ID area, zone_createdate

    Of

    (

    SELECT ID area, zone_createdate,

    MAX (CASE WHEN zone_num = 18 AND tranx_date 'n' IS NOT NULL, THEN 1 TIME zone_num = 18 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_18,.

    MAX (CASE WHEN zone_num = 110 AND not IS NOT NULL, THEN 1 TIME = 110 zone_num tranx_date AND tranx_date IS NULL THEN 0 ELSE-1 END) region_110,.

    MAX (CASE WHEN zone_num = 135 AND tranx_date no IS NOT NULL, THEN 1 TIMES zone_num = 135 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_135,.

    MAX (CASE WHEN zone_num = 140 AND tranx_date 'n' IS NOT NULL, THEN 1 TIME zone_num = 140 AND tranx_date IS NULL THEN 0 ELSE-1 END) region_140

    OF zone_view

    where (IDZone, zone_createdate) NOT IN (select the zone ID, w warehouse zone_createdate WHERE w.dt_warehouse IS NULL)

    and zone_num (18, 110, 135, 140)

    GROUP BY IDZone, zone_createdate

    ) zrn

    WHERE zrn.region_18 <> 0

    AND ((zrn.region_110 = 1) OR (zrn.region_110 = - 1))

    AND (((zrn.region_135 = 1) AND (there IS NOT (SELECT null from warehouse w WHERE w.zoneid = zrn.zoneid AND w.zone_createdate = zrn.zone_createdate AND w.dt_posting IS NULL))) OR (zrn.region_140 = 1))

    OR ((zrn.region_18 >-1) AND (zrn.region_135 = - 1) AND (zrn.region_140)<>

    OR ((zrn.region_110 = 1) AND (zrn.region_135 = - 1) AND (zrn.region_140 <> 0))

    )

    Unfortunately, if the plan of the query time estimates are correct, most of the duration of the query is spent doing a reading zone_view in a full analysis, and which will not be changed by this query.

    If there are many rows for each (IDZone, zone_createdate) zone_view pair, then it is possible that an index on (area ID, zone_num, zone_createdate) would contribute to this request, especially if most (IDZone, zone_createdate) pairs are filtered with the NOT IN (select the zone ID, zone_createdate w warehouse WHERE w.dt_warehouse IS NULL). More radical but probably effective measure would be a functional on index

    zone_view (zone_num, IDZone, zone_createdate, case when tranx_date is null then 0 otherwise 1 end)

    and using the expression in the query box:

    SELECT ID area, zone_createdate

    Of

    (

    SELECT ID area, zone_createdate,

    NVL (MAX (CASE WHEN zone_num = 18 then case when tranx_date is null, then 0 or 1 end end),-1) region_18,.

    NVL (MAX (CASE WHEN zone_num = 110 then case when tranx_date is null, then 0 or 1 end end),-1) region_110,.

    NVL (MAX (CASE WHEN zone_num = 135 then case when tranx_date is null, then 0 or 1 end end),-1) region_135,.

    NVL (MAX (CASE WHEN zone_num = 140 then case when tranx_date is null, then 0 or 1 end end),-1) region_140

    OF zone_view

    where (IDZone, zone_createdate) NOT IN (select the zone ID, w warehouse zone_createdate WHERE w.dt_warehouse IS NULL)

    and zone_num (18, 110, 135, 140)

    GROUP BY IDZone, zone_createdate

    ) zrn

    WHERE zrn.region_18 <> 0

    AND ((zrn.region_110 = 1) OR (zrn.region_110 = - 1))

    AND (((zrn.region_135 = 1) AND (there IS NOT (SELECT null from warehouse w WHERE w.zoneid = zrn.zoneid AND w.zone_createdate = zrn.zone_createdate AND w.dt_posting IS NULL))) OR (zrn.region_140 = 1))

    OR ((zrn.region_18 >-1) AND (zrn.region_135 = - 1) AND (zrn.region_140)<>

    OR ((zrn.region_110 = 1) AND (zrn.region_135 = - 1) AND (zrn.region_140 <> 0))

    )

    This gives a very different plan on my database, by performing an iteration on relevant areas of performance status:

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

    | ID | Operation | Name |

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

    |   0 | SELECT STATEMENT |              |

    |*  1 |  FILTER                          |              |

    |   2.   VIEW                           |              |

    |*  3 |    FILTER                        |              |

    |   4.     HASH GROUP BY.              |

    |   5.      ANTI NESTED LOOPS.              |

    |   6.       INLIST ITERATOR.              |

    |*  7 |        INDEX RANGE SCAN | ZV_F1 |

    |*  8 |       TABLE ACCESS BY INDEX ROWID | WAREHOUSE |

    |*  9 |        INDEX UNIQUE SCAN | WAREHOUSE_PK |

    | * 10 |   TABLE ACCESS BY INDEX ROWID | WAREHOUSE |

    | * 11 |    INDEX UNIQUE SCAN | WAREHOUSE_PK |

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

    Your plan will be different because you have data volumes (I didn't create millions of lines of test data)

    It would be useful to know how many rows there are in the WAREHOUSE, how many distinct (IDZone, zone_createdate) pairs there are in zone_view and the number of rows actually returns the query, and how much is NOT IN (select the zone ID, w zone_createdate warehouse WHERE w.dt_warehouse IS NULL) because these relative numbers determine how these approaches are.

    If there is a table containing all of the (area ID, zone_createdate) pairs which could take place in zone_view, which would have may another possible approach:

    First filter possible pairs against NOT IN (select the zone ID, w warehouse zone_createdate WHERE w.dt_warehouse IS NULL)

    Then attach them to the zone_view to retrieve only the rows in the filtered (IDZone, zone_createdate) pairs.

    Good luck.

  • Access error of data while running the script in the script fdm workbench Editor

    Hello Experts,

    I get the error when I run the script in the script of fdqm established client.this editor is the error

    -2147467259 data access error and he navigates the error on line 30 on this script «Set rsAppend = DW.» DataAccess.farsTable (strWorkTableName).

    Please return me asap where I should charge peoplesoft data to one of my database of planning through fdm.

    Thanks in advance...

    You will need to build a script for integration that is an import Script that allows you to import data from SQL in FDM.

    When you create your import format, you will need to configure it with the file Type = Script and then assign the script of integration as an Expression. Assign your import format to the location that you use to import data.

    Then you can test it by going to the import stage and clicking the import button. FDM will run the integration script and data import by running the SQL query that you have defined.

    To the contrary, "Data Pump" import Scripts are used as import expressions in the import formats

    You can run a script to integrate the customer that this script requires input parameters that are passed only when then FDM import step is executed. If you want to see the raised error open the errorlog FDM. You will only be able to run this Workbench script when you want to debug data is being extracted, but in this case, you will need to comment code that inserts the data in the table. Don't forget that the work table is a temporary table that is created when you click on the import button and if you run Workbench this table does not exist

  • List of virtual machines in TIME using the query service

    Someone been able to use the query service to produce a range of virtual machines in a paralytic? I don't see all the attributes on the VclQueryadminVMField that reference the vApp.

    I log in the org of system.

    Any help would be appreciated.

    Name of the action: getVAppVms

    Entry: VAPP (vCloud:VApp)

    Output: Array / vCloud:VM

    Script:

    var vcdHost = vApp.getHost();
    var vms = new Array();
    
    var queryService = vcdHost.getQueryService();
    expression = new VclExpression(VclQueryVMField.CONTAINER, vApp.getReference().href, VclExpressionType.EQUALS);
    filter = new VclFilter(expression);
    params = new VclQueryParams();
    params.setFilter(filter);
    
    var resultSet = queryService.queryRecords(VclQueryRecordType.VM, params);
    while (resultSet != null) {
        var records = resultSet.getRecords(new VclQueryResultVMRecord());
        System.log(records.length + " VM records found");
        for each (var record in records) {
         var vmRef = new VclReference();
         vmRef.href = record.href;
         vmRef.name = record.name;
         vmRef.type = record.type;
         vms.push(vcdHost.getEntityByReference(VclEntityType.VM, vmRef));
        }
        resultSet = resultSet.getNextPage();
    }
    
    return vms;
    

    This is what made our team (more precisely - Christophe)

  • Number displayed in the oracle.sql.NUMBER form in the result of the query

    Developer SQL version 3.2.10.09.57 displays numbers like "oracle.sql.NUMBER@66a35419 (the part after @ is not constant and change each time) even for simple count (*) select double."
    At the same time "run the Script (F5)" no indication that the header
    COUNT (*)
    ------------
    and no the query results.

    Hi Andriy,

    The forum search, I see a similar complaint noted against 3.1.07.42. Instruction execution produces the list oracle.sql.NUMBER, probably because of a corrupt installation query results (due to decompress questions, or perhaps no decompression in an empty directory). See the following thread:
    SQLDev 3.1: Number-fields in the tables have "oracle.sql.NUMBER @...". »

    Hope this helps,
    Gary
    SQL development team

  • pass the query id in the pop up window

    Hello

    I want to be able to pass the query id in the pop up window but do not know how to do it, would you please help me with this? -Thank you

    the code below (A) works very well with open the pop-up page detail but din't know how there an id in the details of the page.

    <!--A-->

    < script >

    function openWin()

    {

    Window.Open ("detail.cfm,", "_blank", "toolbar = yes, scrollbars = yes, resizable = yes, high = 500, left = 500, width = 400, height = 400");

    }

    < /script >

    < cfset foo = querynew ("id_int, aNo_var, Renew, Cancel') >

    < cfloop query = "getOrderHist" >

    < cfset queryaddrow (foo) >

    < cfset querysetcell (foo, 'id_int', getOrderHist.id_int) >

    < cfset querysetcell (foo, 'aNo_var', getOrderHist.aNo_var) >

    < cfset querysetcell (foo, 'Renew',' < a href = "javascript: void (0);" onclick = "openWin ()" > view < /a > ') >

    < / cfloop >

    <! - B - >

    I try to call the page directly such as below but got an error of "invalid character".

    < cfset foo = querynew ("id_int, aNo_var, Renew, Cancel') >

    < cfloop query = "getOrderHist" >

    < cfset queryaddrow (foo) >

    < cfset querysetcell (foo, 'id_int', getOrderHist.id_int) >

    < cfset querysetcell (foo, 'aNo_var', getOrderHist.aNo_var) >

    < cfset querysetcell (foo, 'Renew',' < a href = "javascript: void (0);" onclick = "window.open("detail.cfm?id=#id#","_blank"); > < /a > to renew '") >

    < / cfloop >

    you have a 'openWin' function, but then you try to add inline JS to do the same thing.  I suppose you're eventually loop over your query "foo" output these links to renew.  In this case, I just want to pass a URL or just the ID into the openWin function.  Much simpler than to try to add dynamic JS in a cell of the query.

    I am a bit confused why you are creating a new query, foo, if you already have the query getOrderHist that seems to have everything you need.

    function openWin (id) {}

    Window.Open ("detail.cfm? id =" + id, "_blank", "toolbar = yes, scrollbars = yes, resizable = yes, high = 500, left = 500, width = 400, height = 400");

    }

    ID: #getOrderHist.id_int #.

    aNo: #getOrderHist.aNo_var #.

    Renew

  • Need help with a FormCalc script...

    I have an auto form certain text fields based on a date field. It works fine, but when I open the form, the fields are already filled with a default date when I actually put "Week start" date, he turns into what I want, I don't want the fields to have something in them when the form is opened.  The FormCalc script that I use is the following

    var dateNum = date2num(form1.Checklist.weekStart.formattedValue,"MMMM DD, YYYY")

    $.rawValue = num2date(dateNum,"MM/DD")

    Here is a link to the file itself

    https://DB.TT/UScOAGZr


    We FormCalc, blocking the right controls the drop-down list of the calendar to make sure that they select a Monday.

    I like to put as much of my code that I can in one place, so it is easier to change things. That is why I proposed to do all of the drop-down list calendar.

    So, you could do something like:

    var selectedDate = Date2Num($,"YYYY-MM-DD")
    var dayOfWeek = Num2Date(selectedDate, "E")
    
    if (dayOfWeek <> 2) then
              xfa.host.messageBox("Week Starting must be a Monday")
              $ = null
              xfa.host.setFocus("$")
    endif
    
    Table1.Row1.dayMonday = num2date(selectedDate, "MM/DD")
    Table1.Row1.dayTuesday = num2date(selectedDate + 1, "MM/DD")
    Table1.Row1.dayWednesday = num2date(selectedDate + 2, "MM/DD")
    Table1.Row1.dayThursday = num2date(selectedDate + 3, "MM/DD")
    Table1.Row1.dayFriday = num2date(selectedDate + 4, "MM/DD")
    Table1.Row1.daySaturday = num2date(selectedDate + 5, "MM/DD")
    Table1.Row1.daySunday = num2date(selectedDate + 6, "MM/DD")
    

    (I dissociated from the first table that it was originally the need to use xfa.resolvenodes.)

  • bad conversion of the script in the editor view

    Hello
    I try to create view in datamodeler and in the script box paste my request. After pressing the button "Test query" I get the message "Query executed with success."... fine, but after I push the button 'apply' and my script has been changed and the button 'test the query' message ' ORA-00905: lack of keyword. I compare the script before and then 'apply' and find this string

    "sum (case when cp.payment_size is not NULL then cp.payment_size another cp.rate * b.face_value/100 end)-paym_size.
    "over (partition by order of f.id by cp.date_settlement rows between unlimited * previous and * current line) sum_paym_size.

    has been converted into

    SUM () «»
    CASE
    WHEN cp.payment_size IS NOT NULL
    THEN cp.payment_size
    CP.rate OTHER * b.face_value / 100
    ' END) over (PARTITION BY f.ID ORDER BY cp.date_settlement ROWS BETWEEN UNBOUNDED * PRECEDINGAND * LINE CURRENT) sum_paym_size.

    I once more to change script (insert a space between the words 'previous' and 'and') click on "test script" - "Query executed with success.", after clicking on apply (script once again has been changed in "PRECEDINGAND" without space) andi still receive "ORA-00905: lack of keyword»

    How to solve this problem?

    Version 3.1.0.700

    Hi Finch,

    It looks like the formatting problem, I logged a bug for this.
    You can try putting / * / instead of space.

    Philippe

Maybe you are looking for

  • Home page appears as shown in the screenshot. I can't get rid of the rear window.

    Screenshot cannot paste. Window opens behind the homepage. Can not get to the front to shut up.

  • During the installation of recovery that it off

    I recently baught a new laptop computer from a friend and I so wanted to restore factory settings. I inserted the disc and went through the adjustment, and he began to restore. At halfway through the process of close to 50% turns off/on overheating.

  • USB speakers are silent after installing Windows 7

    I have a Dell Latitude E5400. It's a laptop. Initially, it came with Win XP. When Microsoft stopped its support for Win XP, I've upgraded to Windows 7. With Win XP, I had no problem getting USB speakers sound. With Win 7, I have a problem. When the p

  • KMS host & 0x8007232B cannot validate W7

    MSAdiag Diagnostic report (1.9.0027.0): -----------------------------------------Validation of Windows data--> Validation code: 50Code of Validation caching online: 0x0Windows product key: *-* - J8D7P - XQJJ2-GPDD4The Windows Product Key hash: xgsndM

  • Best choice of antenna

    I'm near the top of the Creek, the content here filter won't let me talk. I have an Aironet AIR-AP1252AG-A-K9 and a three-story building condo building, Unit 9, quite small wood frame: The wired network works fine, but I want to provide 802.11 g and