Tables in Edge?

Hi there.
Is there a way to do tables in Edge?... With the html tags, that is?
pmfr

You can also format cells adding these lines after sym.$("Text").html(myTable):
sym.$("th").css({"border-width":"2px", "padding":"1px", "text-align":"center", "background-color":"#355d48",
                              "color":"#ffffff", "font":"bold 20px Tahoma, Geneva, sans-serif"});
sym.$("td").css({"border-width":"2px", "padding":"1px", "text-align":"left", "background-color":"#DEE8DC",
                              "color":"#355d48", "font":"bold 18px Tahoma, Geneva, sans-serif"});
Or you can use classes:
var myTable = '<table border="1">'
         +'<tr>'
         +'<th class="header">Header 1</th>'
         +'<th class="header>Header 2</th>'
         +'</tr>'
         +'<tr>'
         +'<td class="cell">row 1, cell 1</td>'
         +'<td class="cell">row 1, cell 2</td>'
         +'</tr>'
         +'<tr>'
         +'<td class="cell">row 2, cell 1</td>'
         +'<td class="cell">row 2, cell 2</td>'
         +'</tr>'
         +'</table>';
sym.$("Text").html(myTable);
sym.$(".header").css({"border-width":"2px", "padding":"1px", "text-align":"center", "background-color":"#355d48",
                                   "color":"#ffffff", "font":"bold 20px Tahoma, Geneva, sans-serif"});
sym.$(".cell").css({"border-width":"2px", "padding":"1px", "text-align":"left", "background-color":"#DEE8DC",
                                  "color":"#355d48", "font":"bold 18px Tahoma, Geneva, sans-serif"});

Similar Messages

  • Importing data from Google Fusion Tables API

    Hi all,
    I am working on a simple animation at the moment to practice getting data from Google Fusion Tables. The basic flow of what I am doing is:
    Create URL for query to google fusion tables
    Pass URL into $.ajax({...
    Create a symbol of each row in the table in edge animate
    Since I'm just practicing I really don't care how it looks, that's the next step. I have this script in an HTML that works to load the data:
    var query = 'SELECT label, postcode FROM' + ' ' + '1jtaKPcmAKQRb1mI6B7LNUX9clY-nf8dHdj_czx-n';
    var encodedQuery = encodeURIComponent(query);
    //Construct the URL
    var url = ['https://www.googleapis.com/fusiontables/v1/query' + '?sql=' + encodedQuery + '&key=MYAPIKEY'];
    console.log(url);
    $.ajax({
    url : url,
    dataType : 'jsonp',
    success : function(data) {
    var rows = data['rows'];
    for (var i in rows) {
    label = rows[i][0];
    console.log(label);  
    When I do this, and check my console, everything works perfectly; I have a list of the 'label' column that I am after from the dataset (a list of mosques that have been attacked in the UK, I am a hate crime researcher).
    When I put the exact same code into Edge Animate and it CMD + Enter to preview, I get a weird error: "Javascript error in event handler! Event Type = symbol" and the console doesn't have any of the information than it does in the standalone HTML that I created myself (without Edge). Until I get past this step and can see the data logged in the console I can't move on to animating the symbols, etc.
    Can someone help me figure out what's wrong? I've looked at a lot of help videos (for example on using the Twitter API in edge animate) and they haven't helped me get past this problem. Any assistance would be much appreciated, and since there's no information on Edge Animate and Google Fusion Tables API specifically I think this would be pretty useful.
    Thanks!

    Strange - it looks ok to me. I suspect this is a bug or a feature: I've heard of a few authentication problems with Power Query:
    http://social.technet.microsoft.com/Forums/en-US/750a426d-4b72-4dba-9e44-fe3dfb54b47d/web-content-user-not-authorized-credential-error?forum=powerquery
    http://social.technet.microsoft.com/Forums/en-US/f4c5b66a-6b13-4326-8059-8b310d7acad2/downloading-data-from-web-xml-file-thourgh-rest-api?forum=powerquery
    Maybe they help you diagnose the problem?Chris
    Check out my MS BI blog I also do
    SSAS, PowerPivot, MDX and DAX consultancy
    and run public SQL Server and BI training courses in the UK

  • Routing engine problems: partition_id AND frequent exceptions in responses

    Hi.
    I want to use Oracle routing engine with Oracle Spatial 10gR2 for Europe.
    I have tables NODE, EDGE, SIGN_POST and PARTITION populated okay with data from a data vendor.
    I have 600000 edges and 415000 nodes. 128 partitions were generated by
    using: exec SDO_ROUTER_PARTITION.partition_router('NODE_PART', 4000);
    Two issues occur to me:
    1. select num_nodes from partition where partition_id = 0; returns 390 nodes, but neither in table node nor edge are records with partition_id = 0, which is as I have learned the Highway Partition. Does that make sense?
    2. Route requests sometimes return correct results, but more frequently routing engine exceptions:
    Most popular are:
    - Route not found between destination/source node and highway network!
    - mbrAwareAStarSearch could not find a route!
    What might be wrong?
    I also experience both problems with the NAVTEQ example data for San Francisco extracted from sf_routing.zip.
    Below find requests leading to exceptions indicated using NAVTEQ example data extracted from sf_routing.zip in order to make the described reproducable:
    1. Route not found between destination/source node and highway network!:
    <?xml version="1.0" standalone="yes"?>
    <route_request id="8"
    route_preference="shortest"
    road_preference="highway"
    return_driving_directions="false"
    distance_unit="km"
    time_unit="hour"
         return_route_geometry="true"
    pre_geocoded_locations="true">
    <start_location>
    <pre_geocoded_location id="1">
    <edge_id>-37847628</edge_id>
    <percent>.5</percent>
    <side>L</side>
    </pre_geocoded_location>
    </start_location>
    <end_location>
    <pre_geocoded_location id="2">
    <edge_id>-37846969</edge_id>
    <percent>.5</percent>
    <side>R</side>
    </pre_geocoded_location>
    </end_location>
    </route_request>
    2. - mbrAwareAStarSearch could not find a route!
    <?xml version="1.0" standalone="yes"?>
    <route_request id="8"
    route_preference="shortest"
    road_preference="highway"
    return_driving_directions="false"
    distance_unit="km"
    time_unit="hour"
         return_route_geometry="true"
    pre_geocoded_locations="true">
    <start_location>
    <pre_geocoded_location id="1">
    <edge_id>-37827163</edge_id>
    <percent>.5</percent>
    <side>R</side>
    </pre_geocoded_location>
    </start_location>
    <end_location>
    <pre_geocoded_location id="2">
    <edge_id>-37847628</edge_id>
    <percent>.5</percent>
    <side>R</side>
    </pre_geocoded_location>
    </end_location>
    </route_request>

    The highway partition, partition zero, is "logical" idea. That is it only exists in the partition table. Each node and edge in the data belongs to a partition that it shares with other nodes or edges in the same physical area. This physical relationship is shown in the partition ids stored in the edge and node tables. Once these partitions are figured out each edge is looked at to see if it's a highway edge, that is, it has a func_class of 1 or 2. Once this is done these edges have their start and end nodes classified as highway nodes and those are considered to be in partition zero also.
    I've run into the MBR error you're seeing in my testing and have been looking into it. Forgive my poor analogy, but there appear to be "holes" in the highway system. If one has a major artery, say interstate 95 coming out of FL, all routes between FL and VA are going to want to use that major artery. If there was a "hole" in interstate 95, a section that was not classified as a highway section thus not in partition 0, those routes would be dropped as unusable. If all the routes get dropped in this way you get the mbrAwareAStarSearch error.
    I haven't seen the other error but I'll use your example and have a look into it.

  • Scratches on the bottom of my MacBook Pro

    My own carelessness has unfortunately resulted in scratches on the bottom edges of my MacBook Pro.
    There is also a rather unsightly crack that has appeared from the top right hand corner where the charger connects to the middle section on the bottom of the laptop.
    I am just wondering if it possible to get these fixed and if so, how and where?
    Much appreciated.

    I have a few very faint scratches on my Unibody bottom from when it was sitting uneven on a table (wood edge then glass center). Since I don't actually ever see my bottom, only when I'm cleaning it, I don't really care about that much. The top lid and the actual keyboard area is where I'm concerned and I try really hard to keep that scratch-free. So far so good.
    One thing to watch out for. If you use a case with a zipper, be careful that you don't zip it quickly and scratch the aluminum. For cases that fit snugly, this can be an issue.
    Bryan

  • Problems with spatial indexing

    Hi,folks,
    Thanks, first.
    When I try to build a function_based R-tree index on a table, I get the following error message.
    Is anyone has idea what I should look into to fix this problem.
    Thank you.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1

    Hi,
    Thanks Dan.
    My step is:
    I have three relational tables: node, edge, polyline.
    They have relationship as following:
    each edge is bounded by two nodes,
    each polyline is bounded by two nodes and alos composed of a set of edges.
    I made functions to get geometry on each table as following:
    get_node_geometry(ndid)
    get_edge_geometry(edid)
    get_polyline_geometry(pdid)
    mdsys.sdo_geometry as return type.
    Note that coordinates are saved only with node table.
    But edge and polyline can construct themselvel by functions above.
    After that, I made r-tree index on node, and edge. But it can not work on polyline table for some reasons. I got the error messages from the last postage.
    I just note that in my polyline table there are some self-close polylines, which have the same start and terminate node.
    Is that possible problem causing the OCIIndexCreate error?
    I debugged my code in jdeveloper, by tracing that, there seems no error to return polyline geometry object using get_polyline_geometry function.
    Do you have any clue?
    many thanks,

  • Sql query to get union of matching rows

    I want to write a sql query that shows union f all the [Type] for each [Key] if [Key] has atleast one [Type] in common and for non matched [Key]s it will return the row as it is.
    For example In the sql table below [Key] '1' and '2' has [Type] 'B' in common and [Key] '1' and '4' has [Type] 'A' in common. In this case [Key] '1', '2' and '4' are related so result will be union of [Type]s in [Key]s '1', '2' and '4' which are 'A', 'B', 'C'
    and 'E' for each [Key]. And [Key] '3' has no [Type] in common so it will return itself.
    Input:
    declare @categories table ([Key] int, [Type] Char(1))
    insert into @categories ([Key], [Type]) values (1, 'A')
    insert into @categories ([Key], [Type]) values (1, 'B')
    insert into @categories ([Key], [Type]) values (2, 'B')
    insert into @categories ([Key], [Type]) values (2, 'C')
    insert into @categories ([Key], [Type]) values (3, 'D')
    insert into @categories ([Key], [Type]) values (4, 'E')
    insert into @categories ([Key], [Type]) values (4, 'A')
    insert into @categories ([Key], [Type]) values (5, 'F')
    insert into @categories ([Key], [Type]) values (5, 'G')
    insert into @categories ([Key], [Type]) values (6, 'G')
    insert into @categories ([Key], [Type]) values (6, 'H')
    Desired output:
    Key Type
    1 A
    1 B
    1 C
    1 E
    2 A
    2 B
    2 C
    3 D
    4 A
    4 B
    4 E
    5 F
    5 G
    5 H
    6 F
    6 G
    6 H

      
    The data element names are wrong. KEY is a reserved word; “Categories" and "type" are called attribute properties in ISO-11179 rules. Matthias Kläy is right; this is a graph problem in disguise, but you can do it with set theory to get  what are called
    equivalence classes. 
    An edge in a graph has two nodes. Some authors allow a single node to count as a edge, but a better way is to put the same node on both ends of the edge. Here is the graph in a table with all the needed constraints. This is why you should post DDL and not be
    so rude.  
    DROP TABLE Graph;
    CREATE TABLE Graph
    (edge INTEGER NOT NULL,
     node_1 CHAR(1) NOT NULL,
     node_2 CHAR(1) NOT NULL,
     CHECK (node_1 <= node_2),
     PRIMARY KEY (node_1, node_2));
    Here is your data in the correct format. 
    INSERT INTO Graph 
    VALUES 
     (1, 'A', 'B'),
     (2, 'B', 'C'),
     (3, 'D', 'D'), -- orphan node
     (4, 'A', 'E'),
     (5, 'F', 'G'),
     (6, 'G', 'H');
    Now Google Warshall's Algorithm. It uses three nested loops and an adjacency array. This is very clean and fast in a procedural language. Not so much in SQL. Let us do this in steps:
    WITH X1 (edge, node1_1, node1_2, node2_1, node2_2 )
    AS
    (SELECT CASE WHEN G1.edge <> G2.edge 
           THEN G1.edge ELSE G2.edge END,
           G1.node_1, G1.node_2, 
           G2.node_1, G2.node_2       
      FROM Graph AS G1, Graph AS G2
     WHERE G1.node_1 IN (G2.node_1, G2.node_2) 
       AND G1.edge <> G2.edge),
    X2 (edge, node_1, node_2)
    AS
    (SELECT edge, 
    CASE WHEN node1_1 IN (node2_1, node2_2) THEN node1_2 ELSE node1_1 END,
    CASE WHEN node2_1 IN (node1_1, node1_2) THEN node2_2 ELSE node2_1 END
    FROM X1)
    SELECT DISTINCT edge,
           CASE WHEN node_1 < node_2 THEN node_1 ELSE node_2 END,
           CASE WHEN node_2 < node_1 THEN node_1 ELSE node_2 END
     FROM X2;
    The X1 subquery gets the paths of length two. The X2 subquery removes the middle node and creates a new sorted edge. Insert these new rows into Graphs, if they are not there. Repeat the process until no more rows are added. 
    DROP TABLE Graph;
    CREATE TABLE Graph
    (edge INTEGER NOT NULL,
     node_1 CHAR(1) NOT NULL,
     node_2 CHAR(1) NOT NULL,
     CHECK (node_1 <= node_2),
     PRIMARY KEY (node_1, node_2));
    INSERT INTO Graph 
    VALUES 
     (1, 'A', 'B'),
     (2, 'B', 'C'),
     (3, 'D', 'D'), -- orphan node
     (4, 'A', 'E'),
     (5, 'F', 'G'),
     (6, 'G', 'H');
    Here is the monster rolled up into a single statement. 
    INSERT INTO Graph
    SELECT DISTINCT edge,
           CASE WHEN node_1 < node_2 THEN node_1 ELSE node_2 END,
           CASE WHEN node_2 < node_1 THEN node_1 ELSE node_2 END
     FROM (SELECT edge, 
    CASE WHEN node1_1 IN (node2_1, node2_2) THEN node1_2 ELSE node1_1 END,
    CASE WHEN node2_1 IN (node1_1, node1_2) THEN node2_2 ELSE node2_1 END
    FROM 
    (SELECT CASE WHEN G1.edge < G2.edge 
           THEN G1.edge ELSE G2.edge END,
           G1.node_1, G1.node_2, 
           G2.node_1, G2.node_2       
      FROM Graph AS G1, Graph AS G2
     WHERE G1.node_1 IN (G2.node_1, G2.node_2) 
       AND G1.edge <> G2.edge) AS X1(edge,node1_1, node1_2, node2_1, node2_2) )
        AS X2(edge, node_1, node_2)
    EXCEPT 
     SELECT * FROM Graph;
     SELECT * FROM Graph ORDER BY edge, node_1, node_2;
    1 A B
    1 A C
    1 B E
    1 C E
    2 B C
    3 D D
    4 A E
    5 F G
    5 F H
    6 G H
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Font sizes between  Photoshop and Edge - Any Accurate conversion table?

    I have been trying to make sense of the font sizes between  Photoshop and Edge. It seems that the conversion tables I have found do not actually give the right numbers and I am wondering if there is a table from Adobe that would make it easy to have the right size rather than an approximation.
    I prefer to use text in Edge rather than Photoshop for many different reasons one being dynamic text.
    For example a font in Photoshop in a 780 x 475 image is 8pt - In Edge, according to conversion tables it should be 11 px but it is totally wrong. It needs to be closer to 30 px to be about the same.
    So, Adobe Team, any documentation on that?

    By the way, I have to correct the numbers but they still do not make too much sense. The artist gave me a 300 dpi file so of course the px size what wrong. After converting the file to 72 dpi, the font size happens to be 33.33 pt or 40 px which is now way too big in Edge.  It looks like the size my just be the same 33.33 pt would be 33.33 px. Is this correct?

  • Is it planned to add feature for creating tables and lists in Adobe Edge Reflow?

    First of all, thank you very much guys for all your work!
    In my opinion Adobe Edge Reflow is missing quite important features, like creating tables and lists. For me it's a reason why I can't switch to Reflow. Any plans for implementing these? Is there any place where I can see the list of planned feature implementation? Didn't find it.

    Missing tables is a big one for me too, especially when doing data-grids. My last prototype was using multiple responsive data-grids where I used the simpler essential/optional hide column approach, instead of stacking or scrolling the data. I had used Reflow in the past for basic content prototypes... but had to do this one by hand... took longer. Using divs for this did not collapse properly in all the browsers, plus the back-end team use widgets that only generate tables. Here is the example:
    http://www.topwebworks.com/assets/test/prototype/riocompass_prototype_v1

  • "Edge table"

    Is there an easy to implement way to get a schema-independent representation of the content stored in an XMLTYPE column? Rather than building XMLTABLEs & manually specifying PATH a thousand times, I'd like an easy way to free the content from the hierarchy of xml and get it into a key,value-ish representation as quickly and painlessly as possible.
    Kinda like this?
    http://www.informit.com/articles/article.aspx?p=169590&seqNum=5
    Schema-Independent Representation
    One possibility for handling the vagaries of full XML is to use a relational representation
    that is totally independent of the schema of the XML data. An example of such a representation
    is an edge table, in which a single table contains information about the relationship between
    parent and child elements (using node identifiers), and another column contains simple
    element content. Listing 6.14 provides an example of an XML fragment and an edge-table
    representation of it.
    Listing 6.14 An Edge Table for an XML Fragment
    <Department id="A12x" name="Physics">
      <Employee id="555-23-4567">
        <name>Mary Phillips</name>
        <office>21</office>
      </Employee>
      <Employee id="544-12-3456">
    edge table
    parentid  childid  name         value
    null      1        Department   null
    1         2        @id          A12x
    1         3        @name        Physics
    1         4        Employee     null
    4         5        @id          555-23-4567
    4         6        name         Mary Phillips
    4         7        office       21
    1         8        Employee     null
    8         9        @id          544-12-3456

    Actually, I think I can use CONNECT BY to build that list once the XML's dumped into a table to build those xpaths.That's one way, indeed.
    If you want the positional predicates too, you'll need an additional step, for example :
    SQL> SELECT node_id
      2       , parent_node_id
      3       , node_name
      4       , node_value
      5       , sys_connect_by_path(xpath_step, '/') as xpath
      6  FROM (
      7    SELECT x.node_id
      8         , x.parent_node_id
      9         , x.node_name
    10         , x.node_value
    11         , case x.node_kind
    12             when 'attribute' then '@' || x.node_name
    13             when 'element' then x.node_name || '[' ||
    14                                 to_char( row_number() over( partition by x.parent_node_id
    15                                                                        , x.node_name
    16                                                             order by x.node_position ) ) || ']'
    17           end as xpath_step
    18         , x.node_position
    19    FROM xml_test t
    20       , XMLTable('/ROWSET/ROW'
    21          passing xmltransform(t.doc, t.xsl)
    22          columns node_id         varchar2(100)   path '@id'
    23                , node_name       varchar2(30)    path '@name'
    24                , node_value      varchar2(2000)  path 'text()'
    25                , parent_node_id  varchar2(100)   path '@pid'
    26                , node_kind       varchar2(30)    path '@kind'
    27                , node_position   for ordinality
    28         ) x
    29  )
    30  CONNECT BY PRIOR node_id = parent_node_id
    31  START WITH parent_node_id IS NULL
    32  ORDER SIBLINGS BY node_position
    33  ;
    NODE_ID    PARENT_NOD NODE_NAME                      NODE_VALUE                               XPATH
    K1                    Product                                                                 /Product[1]
    K2         K1         Type                           Laptop                                   /Product[1]/@Type
    K3         K1         Notebook                                                                /Product[1]/Notebook[1]
    K4         K3         Brand                          HP                                       /Product[1]/Notebook[1]/@Brand
    K5         K3         Model                          Pavilion dv6-3132TX Notebook             /Product[1]/Notebook[1]/@Model
    K6         K3         Harddisk                       640 GB                                   /Product[1]/Notebook[1]/Harddisk[1]
    K8         K3         Processor                      Intel Core i7                            /Product[1]/Notebook[1]/Processor[1]
    K10        K3         RAM                            4 GB                                     /Product[1]/Notebook[1]/RAM[1]
    K12        K1         Notebook                                                                /Product[1]/Notebook[2]
    K13        K12        Brand                          HP                                       /Product[1]/Notebook[2]/@Brand
    K14        K12        Model                          HP Pavilion dv6-3032TX Notebook          /Product[1]/Notebook[2]/@Model
    K15        K12        Harddisk                       640 GB                                   /Product[1]/Notebook[2]/Harddisk[1]
    K17        K12        Processor                      Intel Core i7                            /Product[1]/Notebook[2]/Processor[1]
    K19        K12        RAM                            6 GB                                     /Product[1]/Notebook[2]/RAM[1]
    K21        K1         Notebook                                                                /Product[1]/Notebook[3]
    K22        K21        Brand                          Toshiba                                  /Product[1]/Notebook[3]/@Brand
    K23        K21        Model                          Satellite A660/07R 3D Notebook           /Product[1]/Notebook[3]/@Model
    K24        K21        Harddisk                       640 GB                                   /Product[1]/Notebook[3]/Harddisk[1]
    K26        K21        Processor                      Intel Core i7                            /Product[1]/Notebook[3]/Processor[1]
    K28        K21        RAM                            4 GB                                     /Product[1]/Notebook[3]/RAM[1]
    K30        K1         Notebook                                                                /Product[1]/Notebook[4]
    K31        K30        Brand                          Toshiba                                  /Product[1]/Notebook[4]/@Brand
    K32        K30        Model                          Satellite A660/15J Notebook              /Product[1]/Notebook[4]/@Model
    K33        K30        Harddisk                       640 GB                                   /Product[1]/Notebook[4]/Harddisk[1]
    K35        K30        Processor                      Intel Core i5                            /Product[1]/Notebook[4]/Processor[1]
    K37        K30        RAM                            6 GB                                     /Product[1]/Notebook[4]/RAM[1]
    26 rows selected

  • May i resize table, which right edge standing out of page/frame border

    After pasting big table, its right edge is commonly outside of story frame. To resize the table we use cursor+shift key and slide right border to adjust a frame edge. Can we do it by script?
    b Thanks.

    Place the cursor somewhere in the table to be resized and run the following script. It checks only if the cursor is in a table, nothing else -- it's very basic.
    Peter
    #target indesign
    sel = app.selection[0];
    if ( (sel.constructor.name != 'InsertionPoint')
    && sel.parent.constructor.name != 'Cell')
    exit();
    fw = framewidth (sel);
    col = sel.parent.parent.columns;
    col.everyItem().width = fw / col.length;
    function framewidth (s)
    var gb = s.parentTextFrames[0].geometricBounds
    return gb[3]-gb[1]

  • Rendering xml-table into logical filename in SAP R/3

    Hi,
    I am trying to translate an xml-table with bytes into a logical filepath in SAP R3.
    Do I have to use the method gui-download or shall I loop the internal xml-table?
    When I tried to loop the xml-table into a structure, and then transfering the structure into the logical filename, I get problems with the line breaks in my xml-file. How do I get the lines to break exactly the same as I wrote them in my ABAP-code?
    Edited by: Kristina Hellberg on Jan 10, 2008 4:24 PM

    I believe you posted in the wrong forum.
    This forum is dedicated to development and deployment of .Net applications that connect and interact with BusinessObjects Enterprise, BusinessObjects Edge, or Crystal Reports Server. This includes the development of applications using the BusinessObjects Enterprise, Report Application Server, Report Engine, and Web Services SDKs.
    Ludek

  • Round Edged boxes in rtf templates

    Hi all,
    I have been really struggling to design rtf templates for XML Publisher with round edged boxes.
    The client requirement is to have all the tables/objects that contain data to have rounded edges..Just like a flowchart box..
    I have tried using the flowchart box, but when I increase the height/width of the object, the radius of the actual round edge object increases, thus distorting the entire look of the template.
    Can anyone give me some pointers on how I can overcome this issue using rtf templates.
    I would have gladly done this as a PDF template, but for the issue with lack of support for conditional logic.
    Any help will be truly appreciated
    Thanks,
    Lavina

    Hi ,
    You can select the number format in RTF template .Double click the Form Field select
    Type :Number
    Number Format :#,##0.000
    Thanks.

  • How to find a line/edge that starts at the same point as the end of another

    I have an edges table of Lat/Lon data and for a specific edge I want to find any other edges that have the same start point as the end point of the given edge.
    I tried the following query:
    select geo_street_id from geo_street s2
    where SDO_LRS.GEOM_SEGMENT_START_PT(s2.geom) =
    (select SDO_LRS.GEOM_SEGMENT_END_PT(s.geom) as geom from geo_street s
    where geo_street_id = 122978214)
    but it gets the following error:
    ORA-22901: cannot compare nested table or VARRAY or LOB attributes of an object type
    Any Ideas?

    1. to compare geometry to be equal you should use appropriate function (SDO_GEOM.RELATE http://download.oracle.com/docs/html/B14255_01/sdo_objgeom.htm#sthref1561) or operators (sdo_relate http://download.oracle.com/docs/html/B14255_01/sdo_operat.htm#i78531) with specific mask EQUAL.
    2. to filter down the resultset in first place you can use the operator SDO_RELATE with mask TOUCH as this will return already the set of lines sharing endpoints, but will also include lines touching eachother not at endpoints (endpoint intersecting the otherone's interior)
    something like
    select geo_street_id from geo_street s2, geo_street s
    where
    s.geo_street_id = 122978214
    AND
    sdo_relate(s2.geom, s.geom,'mask=touch') = 'TRUE'
    AND
    sdo_geom.relate(SDO_LRS.GEOM_SEGMENT_START_PT(s2.geom),
    'EQUAL',
    SDO_LRS.GEOM_SEGMENT_END_PT(s.geom),0.005)='EQUAL'
    3. if you would do this for the full table, an SDO_JOIN (http://download.oracle.com/docs/html/B14255_01/sdo_operat.htm#BGEDJIBF) might be more appropriate.
    4. you might also consider 4 cases:
    start = start
    start = end
    end = start
    end = end
    5. alternative would be to take only the endpoints of your selected geometry and perform a touch with the edges. using the sdo_util.APPEND on the startpoint en endpoint of your geometry will return a multipoint. although there might some specific cases that this would not return respected result I think
    something like:
    select geo_street_id from geo_street s2, geo_street s
    where
    s.geo_street_id = 122978214
    AND
    sdo_relate(s2.geom,
    SDO_UTIL.APPEND(
    SDO_LRS.GEOM_SEGMENT_START_PT(s.geom),
    SDO_LRS.GEOM_SEGMENT_END_PT(s.geom)
    ,'mask=touch') = 'TRUE'
    Let us know how it works.
    Luc

  • Sum of Values from previous rows in a dynamic table

    Hello,
    I have a dynamic table has multiple rows (added dynamically via a button).  One column in the table is a Quantity column.  Another is a Total column.  We do not want to keep a running total, but only wish to display a total when the rest of the cells in that row are emty and the previous row(s) has/have values in the Quantity column.  The Total is the sum on the Quatnities up to a blank row.  Below is a sample.  How do I get teh value of the Quantities in the previous rows?
    Quantity
    Total
    5
    8
    12
    25
    7
    27
    34
    22
    22
    Another option might be to put the Total in the last row with data as opposed to the row below the data.
    Any ideas?
    Regards,
    Karl

    The script is written to achive your requirement (i.e. the second approach you have mentioned)
    You can either contact me at [email protected] to get the sample form created.
    Or the following is the XML Source of the form. Copy the entire content in XML source view of your form and see the result.
    <?xml version="1.0" encoding="UTF-8"?>
    <?xfa generator="AdobeLiveCycleDesignerES_V9.0.0.0.20091029.1.612548" APIVersion="3.1.9277.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2012-02-28T14:04:54Z" uuid="2c561cdf-3377-4e84-9a89-51e740bb2fea">
    <template xmlns="http://www.xfa.org/schema/xfa-template/2.8/">
    <?formServer defaultPDFRenderFormat acrobat9.0dynamic?>
    <subform name="form1" layout="tb" locale="en_US" restoreState="auto">
    <pageSet>
    <pageArea name="Page1" id="Page1">
    <contentArea x="0.25in" y="0.25in" w="197.3mm" h="284.3mm"/>
    <medium stock="a4" short="210mm" long="297mm"/>
    <?templateDesigner expand 1?></pageArea>
    <?templateDesigner expand 1?></pageSet>
    <subform w="197.3mm" layout="tb">
    <subform name="Subform1" w="190.5mm" h="25.4mm">
    <field name="Button1" y="15.875mm" x="60.325mm" w="28.575mm" h="6mm">
    <ui>
    <button highlight="inverted"/>
    </ui>
    <font typeface="Myriad Pro"/>
    <caption>
    <value>
    <text>Add Row</text>
    </value>
    <para vAlign="middle" hAlign="center"/>
    </caption>
    <border hand="right">
    <?templateDesigner StyleID apbx2?>
    <edge stroke="raised"/>
    <fill/>
    </border>
    <bind match="none"/>
    <event activity="click" name="event__click">
    <script contentType="application/x-javascript">
    try
    Subform2.Table1._Row1.addInstance(1);
    //for(var i=0;i&lt;Subform2.Table1._Row1.count;i++)
    //xfa.resolveNode("Subform2.Table1.Row1["+i+"].Total").execEvent("exit");
    }catch(e)
    app.alert(e)
    </script>
    </event>
    </field>
    <?templateDesigner expand 1?></subform>
    <subform name="Subform2" w="196.85mm">
    <subform name="Table1" layout="table" columnWidths="55.916mm 44.47mm" x="38.1mm" y="12.7mm">
    <border>
    <edge/>
    </border>
    <subform layout="row" name="HeaderRow" id="HeaderRow_ID">
    <assist role="TH"/>
    <draw h="10mm" name="Cell1">
    <border>
    <edge/>
    <corner thickness="0.1778mm"/>
    </border>
    <ui>
    <textEdit/>
    </ui>
    <value>
    <text>Quantity</text>
    </value>
    <font typeface="Myriad Pro"/>
    <margin topInset="0.5mm" bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm"/>
    <para vAlign="middle" hAlign="center"/>
    </draw>
    <draw h="10mm" name="Cell2">
    <border>
    <edge/>
    <corner thickness="0.1778mm"/>
    </border>
    <ui>
    <textEdit/>
    </ui>
    <value>
    <text>Total</text>
    </value>
    <font typeface="Myriad Pro"/>
    <margin topInset="0.5mm" bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm"/>
    <para vAlign="middle" hAlign="center"/>
    </draw>
    <border>
    <edge presence="hidden"/>
    </border>
    <occur max="-1"/>
    <?templateDesigner expand 1?></subform>
    <subform layout="row" name="Row1">
    <assist role="TR"/>
    <field name="Quantity" w="55.916mm" h="9.317mm">
    <ui>
    <numericEdit>
    <border presence="hidden">
    <?templateDesigner StyleID aped0?></border>
    <margin/>
    </numericEdit>
    </ui
    ><
    font typeface="Myriad Pro"/><
    margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/><
    para vAlign="middle"/><
    border><
    edge/><
    corner thickness="0.1778mm"/></
    border></
    field><
    field name="Total" w="44.47mm" h="9.317mm" access="readOnly"><
    ui><
    numericEdit><
    border presence="hidden"> 
    <?templateDesigner StyleID aped0?>
    </border><
    margin/></
    numericEdit></
    ui><
    font typeface="Myriad Pro"/><
    margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/><para vAlign="middle"/>
    <border>
    <edge/>
    <corner thickness="0.1778mm"/>
    </border>
    <calculate>
    <script contentType="application/x-javascript">
    try
    var nextRow = xfa.resolveNode("Subform2.Table1.Row1["+(this.parent.instanceIndex+1)+"]"); // Next row of the table
    if((nextRow==null || nextRow.Quantity.rawValue == null || nextRow.Quantity.rawValue=="") &amp;&amp; Quantity.rawValue!=null) // If there is no more rows OR the next row don't contain any Quantity value
    var subTotal = 0;
    for(var j=this.parent.instanceIndex;j&gt;=0;j--) // Loop until the previous row has empty value OR reach start of row Index (i.e. 0)
    var prevObj = xfa.resolveNode("Subform2.Table1.Row1["+j+"].Quantity"); // locate the previous row's Quantity object
    if(prevObj.rawValue == null || prevObj.rawValue=="")
    break; // if blank value found, skip the loop
    subTotal+= prevObj.rawValue;
    this.rawValue = subTotal; // Update the Total value
    }else
    this.rawValue = null; // Clear the total value
    }catch(e)
    app.alert(e)
    </script>
    </calculate>
    </field>
    <border>
    <edge presence="hidden"/>
    </border>
    <occur max="-1"/>
    <?templateDesigner expand 1?></subform>
    <keep intact="contentArea"/>
    <?templateDesigner rowpattern first:1, next:1, firstcolor:f0f0f0, nextcolor:ffffff, apply:0?>
    <overflow leader="HeaderRow"/>
    <?templateDesigner expand 1?></subform>
    <?templateDesigner expand 1?></subform>
    <?templateDesigner expand 1?></subform>
    <proto/>
    <desc>
    <text name="version">9.0.0.0.20091029.1.612548.606130</text>
    </desc>
    <?templateDesigner expand 1?></subform>
    <?templateDesigner DefaultPreviewDynamic 1?>
    <?templateDesigner DefaultRunAt client?>
    <?templateDesigner Grid show:1, snap:1, units:0, color:ff8080, origin:(0,0), interval:(125000,125000)?>
    <?templateDesigner FormTargetVersion 28?>
    <?templateDesigner DefaultLanguage JavaScript?>
    <?acrobat JavaScript strictScoping?>
    <?templateDesigner Zoom 62?>
    <?templateDesigner Rulers horizontal:1, vertical:1, guidelines:1, crosshairs:0?>
    <?templateDesigner SaveTaggedPDF 1?>
    <?templateDesigner SavePDFWithEmbeddedFonts 1?></template>
    <config xmlns="http://www.xfa.org/schema/xci/2.8/">
    <agent name="designer">
    <!-- [0..n] -->
    <destination>pdf</destination>
    <pdf>
    <!-- [0..n] -->
    <fontInfo/>
    </pdf>
    </agent>
    <present>
    <!-- [0..n] -->
    <pdf>
    <!-- [0..n] -->
    <fontInfo/>
    <version>1.7</version>
    <adobeExtensionLevel>3</adobeExtensionLevel>
    </pdf>
    <xdp>
    <packets>*</packets>
    </xdp>
    </present>
    </config>
    <localeSet xmlns="http://www.xfa.org/schema/xfa-locale-set/2.7/">
    <locale name="en_US" desc="English (United States)">
    <calendarSymbols name="gregorian">
    <monthNames>
    <month>January</month>
    <month>February</month>
    <month>March</month>
    <month>April</month>
    <month>May</month>
    <month>June</month>
    <month>July</month>
    <month>August</month>
    <month>September</month>
    <month>October</month>
    <month>November</month>
    <month>December</month>
    </monthNames>
    <monthNames abbr="1">
    <month>Jan</month>
    <month>Feb</month>
    <month>Mar</month>
    <month>Apr</month>
    <month>May</month>
    <month>Jun</month>
    <month>Jul</month>
    <month>Aug</month>
    <month>Sep</month>
    <month>Oct</month>
    <month>Nov</month>
    <month>Dec</month>
    </monthNames>
    <dayNames>
    <day>Sunday</day>
    <day>Monday</day>
    <day>Tuesday</day>
    <day>Wednesday</day>
    <day>Thursday</day>
    <day>Friday</day>
    <day>Saturday</day>
    </dayNames>
    <dayNames abbr="1">
    <day>Sun</day>
    <day>Mon</day>
    <day>Tue</day>
    <day>Wed</day>
    <day>Thu</day>
    <day>Fri</day>
    <day>Sat</day>
    </dayNames>
    <meridiemNames>
    <meridiem>AM</meridiem>
    <meridiem>PM</meridiem>
    </meridiemNames>
    <eraNames>
    <era>BC</era>
    <era>AD</era>
    </eraNames>
    </calendarSymbols>
    <datePatterns>
    <datePattern name="full">EEEE, MMMM D, YYYY</datePattern>
    <datePattern name="long">MMMM D, YYYY</datePattern>
    <datePattern name="med">MMM D, YYYY</datePattern>
    <datePattern name="short">M/D/YY</datePattern>
    </datePatterns>
    <timePatterns>
    <timePattern name="full">h:MM:SS A Z</timePattern>
    <timePattern name="long">h:MM:SS A Z</timePattern>
    <timePattern name="med">h:MM:SS A</timePattern>
    <timePattern name="short">h:MM A</timePattern>
    </timePatterns>
    <dateTimeSymbols>GyMdkHmsSEDFwWahKzZ</dateTimeSymbols>
    <numberPatterns>
    <numberPattern name="numeric">z,zz9.zzz</numberPattern>
    <numberPattern name="currency">$z,zz9.99|($z,zz9.99)</numberPattern>
    <numberPattern name="percent">z,zz9%</numberPattern>
    </numberPatterns>
    <numberSymbols>
    <numberSymbol name="decimal">.</numberSymbol>
    <numberSymbol name="grouping">,</numberSymbol>
    <numberSymbol name="percent">%</numberSymbol>
    <numberSymbol name="minus">-</numberSymbol>
    <numberSymbol name="zero">0</numberSymbol>
    </numberSymbols>
    <currencySymbols>
    <currencySymbol name="symbol">$</currencySymbol>
    <currencySymbol name="isoname">USD</currencySymbol>
    <currencySymbol name="decimal">.</currencySymbol>
    </currencySymbols>
    <typefaces>
    <typeface name="Myriad Pro"/>
    <typeface name="Minion Pro"/>
    <typeface name="Courier Std"/>
    <typeface name="Adobe Pi Std"/>
    <typeface name="Adobe Hebrew"/>
    <typeface name="Adobe Arabic"/>
    <typeface name="Adobe Thai"/>
    <typeface name="Kozuka Gothic Pro-VI M"/>
    <typeface name="Kozuka Mincho Pro-VI R"/>
    <typeface name="Adobe Ming Std L"/>
    <typeface name="Adobe Song Std L"/>
    <typeface name="Adobe Myungjo Std M"/>
    </typefaces>
    </locale>
    </localeSet>
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.1-c043 52.398682, 2009/08/10-13:00:47 ">
    <
    rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><
    rdf:Description xmlns:xmp="http://ns.adobe.com/xap/1.0/" rdf:about=""><
    xmp:MetadataDate>2012-02-28T14:04:54Z</xmp:MetadataDate><
    xmp:CreatorTool>Adobe LiveCycle Designer ES 9.0</xmp:CreatorTool></
    rdf:Description><
    rdf:Description xmlns:pdf="http://ns.adobe.com/pdf/1.3/" rdf:about=""><
    pdf:Producer>Adobe LiveCycle Designer ES 9.0</pdf:Producer></
    rdf:Description><
    rdf:Description xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" rdf:about=""><
    xmpMM:DocumentID>uuid:2c561cdf-3377-4e84-9a89-51e740bb2fea</xmpMM:DocumentID></
    rdf:Description><
    rdf:Description xmlns:desc="http://ns.adobe.com/xfa/promoted-desc/" rdf:about=""><
    desc:version rdf:parseType="Resource"><
    rdf:value>9.0.0.0.20091029.1.612548.606130</rdf:value><
    desc:ref>/template/subform[1]</desc:ref></
    desc:version></
    rdf:Description></
    rdf:RDF></
    x:xmpmeta></xdp:xdp>

  • Issues with EDGE connection - Curve 8520

    Hi!!
    I have been having problems with the Blackberry EDGE internet connection on my phone for the past 3 months. I thought it may be a problem with my mobile provider, Yoigo, but they have told me they don't know what's wrong and cannot fix the problem.
    The connection shuts itself off randomly without warning and I no longer receive emails, fb notifications or whatsapp messages. I know that it has stopped because 'EDGE' in the top right hand corner turns to lower case 'edge'. In order to fix it I have found that I have to go to host routing table in options and re-register myself with the Blackberry Internet Service, wait for the message to tell me that I am now registered again and then wait... and wait! Sometimes it comes back after 5 mins, other times I have to re-start the device after 1 or 2 hours.
    Does anyone know how I could fix this issue for good, because this happens at least twice a day now and it's driving me crazy!!
    Appreciate it!! Thanks in advance!
    Laura

    Hi LauraM22
    Welcome to BlackBerry Support Forums
    If your Connection drops frequently then it might a problem with your Carrier Network , but still you can perform those steps in a sequence  :
    1- Register your Handheld .
    KB00510 : How to register a BlackBerry smartphone with the wireless network
    Wait till a Registration messages comes in your message box.
    2- Delete and Resend your Service Book
    KB05000 : Delete the service book for the BlackBerry Internet Service email account from the BlackBerry smartphone
    KB02830 : Send the service books for the BlackBerry Internet Service
    ( Wait till a Registration Message comes in your message box for each email that you have configured on your device )
    3-  Then perform a battery pull restart like this while the device is powered On remove your battery wait for a min. then reinsert it back
    Try it and see if that helps , If problem still Continues then to rule out any software issue you can Reload your device Software , to do that first do a backup of your device using Desktop Software , once it is done you can reload your Device OS , for help refer to this KB :
    KB03621 : How to Reload BlackBerry Device Software and application using BlackBerry Desktop Software
    Good luck.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

Maybe you are looking for

  • DVD from VHS tape

    being new to the Mac G5, can someone help me to convert analog VHS videotape to DVD's?

  • Looking for trouble shooting help -Connections being dropped from app.

    I need a little help in hunting down the source of a problem. We have Oracle 10gR2 (10.2.0.1) running on Solaris 10. The web application is based on WEBLOGIC on another server also running Solaris 10 with a new firewall in between. When started, the

  • Need to get the Mail attachment name as it is to the receiver file adapter

    I am doing a Mail to File scenario. I need to get the attachment from the mail and store it on the file server. I am using the PayloadSwap bean in the sender mail adapter. My requirement is to carry forward the attachement name as it is to the receiv

  • Itunes unresponsive when switching between two devices

    For God Sake help me with this, i have so many apps on my iTunes(mac) ,since i updated my itunes from 11 to 12 it has been my worst nightmare ever.. whenever i attach two or more devices ,switching between devices it becomes unresponsive so that i ha

  • Multiple SSIDS and disappearing

    We have Cisco 3602i access points for the most part, all of which advertise multiple SSIDs. Very occasionally we see an SSID completely disappear from view, even though others remain solid (I can't say it's all devices as the majority of people who r