Oracle cards: legend for dynamically generated styles

Hi all

I use the dynamically generated styles in my application of the Oracle cards. Depending on the situation, the style may be a variable marker or a color scheme. Now, I need to create a map legend, but I'm having a problem.

A model of color scheme is defined and applied as:
xmlDef = '<AdvancedStyle><ColorSchemeStyle basecolor="blue" strokecolor="black">' +
                        '<Buckets>' +
                            '<RangedBucket label="" high="' + value + '"/>' +
                            '<RangedBucket label="" low="' + value + '" high="' + value*2 + '"/>' +
                            '<RangedBucket label="" low="' + value*2 + '" high="' + value*3 + '"/>' +
                            '<RangedBucket label="" low="' + value*3 + '" high="' + value*4 + '"/>' +
                            '<RangedBucket label="" low="' + value*4 + '" high="' + value*5 + '"/>' +
                            '<RangedBucket label="" low="' + value*5 + '" high="' + value*6 + '"/>' +
                            '<RangedBucket label="" low="' + value*6 + '"/>' +
                        '</Buckets></ColorSchemeStyle></AdvancedStyle>';
                        
      style = new MVXMLStyle("COLOR", xmlDef);
I can apply and see the results without any problem, however when I try to create a legend, like this:
var html = "<table><tr><td><img src="+baseURL+"/omserver?sty=COLOR&w=180&h=175&ds=solap></td></tr></table>";
    
    legend = new MVMapDecoration(html,null,0.04,200,110);
    mapview.addMapDecoration(legend);
I get an error of this style is not found 'COLOR ':
May 25, 2009 7:35:17 AM oracle.sdovis.style.AllStyleTable getStyleObject
WARNING: Cannot find style named COLOR of SYSTEM in all_sdo_styles
May 25, 2009 7:35:17 AM oracle.lbs.mapserver.oms reportException
SEVERE: Message:style not found
It's strange because the style is there and successfully applied to the card, I just can't generate a legend. Any ideas please?

Thanks in advance,
~ Ruben

You can build an application of xml and use it in the url of the image. Make sure that you remove all redundant new lines and spaces in the query and call encodeURIComponent to encode it. Here is an example.

var xmlreq = encodeURIComponent (" '");

var html ="

";

Caption = new MVMapDecoration(html,null,0.04,200,110);
mapview.addMapDecoration (legend);

Tags: Fusion Middleware

Similar Questions

  • Oracle text using for dynamic comparison of data splitters

    Hello

    I have two tables with similar columns. There is a free text field (e.g. address). Address fields contain 1 to 10 words in different order.
    Address cut into 4 columns: Address1, Address2, address3, zip.

    ***************************************************************************************************************************

    I want to be able to retrieve all related rows in both tables using the CONTAINS operator and/or search fuzzy. Any other solution is more then welcome.

    ***************************************************************************************************************************

    TABLE oldaddress Data:

    12385 OAK LN APT 9898 LAYTON, UT 84040

    TABLE newaddress Data:

    9898 12385 OAK LN LAYTON, UT 84040 APT
    12385 OAK LN APT 9898 LAYTON, UT 84040
    12385 OAK LINE LAYTON, UT 84040
    9898 12385 OAK LN LAYTON UT APARTMENT
    12385, OAK LINE LAYTON, UT 84040

    Please, note that basically {color: #008000} * addresses * are the same{color}. My goal is to recover all of the new addresses by comparing the data to the oldaddress table.

    My steps are:

    -1.
    create the table OLDADDRESS
    (
    ID NUMBER (20) not null,
    ADDRESS1 VARCHAR2 (30),
    ADDRESS2 VARCHAR2 (30),
    ADDRESS3 VARCHAR2 (30),
    POSTCODE VARCHAR2 (10),
    ALL_COLS VARCHAR2 (1)
    );

    -2.
    create the table NEWADDRESS
    (
    ID NUMBER (20) not null,
    ADDRESS1 VARCHAR2 (30),
    ADDRESS2 VARCHAR2 (30),
    ADDRESS3 VARCHAR2 (30),
    POSTCODE VARCHAR2 (10),
    ALL_COLS VARCHAR2 (1)
    );
    -3. Insert data
    Start
    insert into OLDADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (' 11, ' OAK 12385 LN ","APT 9898', 'UT LAYTON', 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (22, "APT 9898', ' OAK 12385 LN", 'LAYTON UT", 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (' 33, ' OAK 12385 LN ","APT 9898', 'UT LAYTON', 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (' 44, ' 12385, OAK LN ","APARTMENT 9898', 'UT LAYTON', 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (55, ' 12385 OAK LINE","APT 9898', 'UT LAYTON', 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (' 12385 OAK LN, 66; "," APT 9898', "LAYTON UT»(, 84040');
    insert into NEWADDRESS (ID, Address1, Address2, ADDRESS3, ZIPCODE) values (77, 'APARTMENT 9898' 12385.', OAK LN', 'LAYTON UT', '84040');
    commit;
    end;

    -4. Created a section of land:
    BEGIN
    CTX_DDL. CREATE_PREFERENCE ("my_datastore", "MULTI_COLUMN_DATASTORE");
    CTX_DDL. SET_ATTRIBUTE
    ("my_datastore",
    "COLUMNS",
    "ADDRESS1, ADDRESS2, ADDRESS3');
    CTX_DDL. CREATE_SECTION_GROUP ('MYGRP', 'BASIC_SECTION_GROUP');
    CTX_DDL. ADD_FIELD_SECTION ('MYGRP', 'FIELD1', 'ADDRESS1', TRUE);
    CTX_DDL. ADD_FIELD_SECTION ('MYGRP', 'FIELD2', "ADDRESS2", TRUE);
    CTX_DDL. ADD_FIELD_SECTION ('MYGRP', 'FIELD3', 'ADDRESS3', TRUE);
    END;
    /

    -- 5. CREATING INDEXES
    CREATE INDEX my_idx WE newaddress (all_cols)
    INDEXTYPE IS CTXSYS. FRAMEWORK
    PARAMETERS
    ("My_datastore of the DATA store
    GROUP of SECTIONS mygrp');

    -6. Select all the fields:

    SQL & gt; Select Address1 address2, address3, postal code
    2 of newaddress
    3 where CONTAINS (all_cols, (12385 & Oak & 9898'), 1) & gt; 0;

    ADDRESS1 ADDRESS2 ADDRESS3 ZIP
    -----
    9898 12385 OAK LN LAYTON, UT 84040 APT
    12385 OAK LN APT 9898 LAYTON, UT 84040
    12385, OAK LN APARTMENT 9898 LAYTON, UT 84040
    12385 OAK LINE APT 9898 LAYTON, UT 84040
    12385 OAK LN. 9898 APT LAYTON, UT 84040
    9898 12385 APARTMENT. LAYTON, UT 84040 OAK LN

    6 selected lines.

    -7. * Here, I am not able to find a way to make massively for several lines? How to use the operator CONTAINS external data instead of text (12385 & Oak & 9898')?
    Should I use ref cursor / bulk collection? Maybe the REGULAR EXPRESSIONS must be useful (and how)? *

    Select Address1 address2, address3, postal code
    of newaddress
    where CONTAINS (all_cols, (' Param 1 & 2 Param & Param 3... &...)) Param no), 1) > 0;

    Param 1 & Param 2 & Param 3... &... Param n refer to ' select address1. » '|| address2 | "| Address3 oldaddress'.

    I use oracle 10g.

    Thank you for coming ;)


    Kind regards

    Julia

    I don't know what kind of output desired, perhaps something like the following.

    SCOTT@orcl_11g> COLUMN old_ad1 FORMAT A15
    SCOTT@orcl_11g> COLUMN old_ad2 FORMAT A15
    SCOTT@orcl_11g> COLUMN old_ad3 FORMAT A15
    SCOTT@orcl_11g> COLUMN new_ad1 FORMAT A15 newline
    SCOTT@orcl_11g> COLUMN new_ad2 FORMAT A15
    SCOTT@orcl_11g> COLUMN new_ad3 FORMAT A15
    SCOTT@orcl_11g> select o.address1 old_ad1, o.address2 old_ad2, o.address3 old_ad3, o.zipcode old_zip,
      2           n.address1 new_ad1, n.address2 new_ad2, n.address3 new_ad3, n.zipcode new_zip,
      3           SCORE (1)
      4  from   newaddress n, oldaddress o
      5  where  CONTAINS
      6             (n.all_cols,
      7              o.address1 || ' ACCUM ' || o.address2 || ' ACCUM ' || o.address3 || ' ACCUM ' || o.zipcode,
      8              1) > 0
      9  ORDER  BY SCORE (1) DESC
     10  /
    
    OLD_AD1         OLD_AD2         OLD_AD3         OLD_ZIP
    --------------- --------------- --------------- ----------
    NEW_AD1         NEW_AD2         NEW_AD3         NEW_ZIP      SCORE(1)
    --------------- --------------- --------------- ---------- ----------
    12385 OAK LN    APT 9898        LAYTON UT       84040
    12385 OAK LN.   APT 9898        LAYTON UT       84040              51
    
    12385 OAK LN    APT 9898        LAYTON UT       84040
    12385 OAK LN    APT 9898        LAYTON UT       84040              51
    
    12385 OAK LN    APT 9898        LAYTON UT       84040
    APT 9898        12385 OAK LN    LAYTON UT       84040              51
    
    12385 OAK LN    APT 9898        LAYTON UT       84040
    12385 OAK LINE  APT 9898        LAYTON UT       84040              26
    
    12385 OAK LN    APT 9898        LAYTON UT       84040
    APARTMENT 9898  12385 .OAK LN   LAYTON UT       84040              26
    
    12385 OAK LN    APT 9898        LAYTON UT       84040
    12385 ,OAK LN   APARTMENT 9898  LAYTON UT       84040              26
    
    6 rows selected.
    
  • Transfer data from Contacts for data cards in the program generator

    Does anyone know how to transfer data from contacts in data cards in the program generator?

    We have a case will be company requires to do something like that.

    If this is not possible, what are my other options to accomplish the same outside the Builder program?

    Hi Nader

    You can simulate a Send shape using Connector of cloud within a program. The stages of processing the form would be set to update object data card with the data of the form.

    We can discuss it further if you wish.

    -Zainab

  • Only the blue background shows only when using the Oracle cards

    Hello world

    I am new to oracle spatial. I just tried demos of oracle cards. Now, I want to display my own data source and view the files of my own form in the maps of the oracle, but he just gives blue background. I checked with the srid... his right.

    I am not able to rectify my mistake... where I'm wrong. Help, please.

    Need urgent help

    Aid must be assessed.


    Thank you
    REMA

    Hello
    I've seen generally that when there is no data to display, maybe no spatial index?
    You should review the mapviewer log file and look for errors generated. What happens if you return your theme in mapbuilder, it works there?
    You say exactly what you are doing, what your data etc.
    Jon

  • The Oracle cards and the SDO_INTERSECTION problem

    Hi all

    I have a SQL query that uses SDO_INTERSECTION and I would use it to create a dynamic theme using the API Oracle cards.

    I tried several other applications and they all work very well, displaying the information correctly. My query using SDO_INTERSECTION runs and returns the correct results in SQL Developer, but when I use it to create a dynamic theme in the Oracle cards I get the following error:

    * "Request string is too long for no AJAX of Oracle remote access cards."

    I read on another thread that you can call MVMapView.XMLHttpRequest (true) for this problem, but if I do, no times are displayed on the map, not even with other requests, so I guess that's not the solution.

    My SQL query is:
    SELECT * FROM (
    select sum(emissao_fact.quantidade_emitida), 
    sum(emissao_fact.limiar_poluente), 
    ROW_NUMBER() OVER (ORDER BY SUM(quantidade_emitida) DESC) AS rownumber, 
    concelho.concelho_id as idin, 
    concelho.nome, 
    bacia.nome as bacia, 
    SDO_GEOM.SDO_INTERSECTION((SELECT geom FROM concelho concelhox WHERE concelhox.concelho_id = concelho.concelho_id), SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180,.00000005), SDO_DIM_ELEMENT('Y', -90, 90, .00000005)), (SELECT geom FROM bacia baciax WHERE baciax.bacia_id = bacia.bacia_id ), SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .00000005), SDO_DIM_ELEMENT('Y', -90, 90, .00000005))) glocal
    from instalacao, emissao_fact, concelho, bacia
    where emissao_fact.instalacao_id = instalacao.instalacao_id AND instalacao.BACIA_ID = bacia.bacia_id AND instalacao.concelho_id = concelho.concelho_id
    AND instalacao.concelho_id = concelho.concelho_id
    group by concelho.concelho_id, concelho.nome, bacia.nome, bacia.bacia_id
    ) WHERE rownumber <= 5
    As I said, it performs well on SQL Developer, is probably not relevant here.

    Any ideas? Thanks in advance,
    ~ Ruben

    The problem is "application of string is too long for no AJAX of Oracle remote access cards. It is caused by 1) the mapviewer server is in a different field than where your application is running, and 2) queries sent to the server remote mapviewer are too long. You query has nothing to do with it. You can read the documentation of the API for MVMapView.enableXMLHTTP to learn more about this issue.

    To resolve this problem, you must call MVMapView.enableXMLHTTP (true) to force the client to send AJAX requests via proxy MapViewer servlet. The proxy servlet MapViewer belongs to mapviewer, and it must run in the same domain when your application is running. To activate it, you must only deploy a dummy MapViewer on the same app server where your application is deployed. The proxy servlet will work once mapviewer.ear is deployed. No configuration is required.

    If using proxy MapViewer servlet, this is not an option, you must configure reverse proxy with Apache web server, that is to say where the application runs. Reverse proxies accept the requests sent to mapviewer servlet URL that is local to the application and to transfer requests to the server, in mapviewer to remove. You need to set up one for http://remote-domain/mapviewer/foi and one for http://remote-domain/mapviewer/mcserver. They serve a virtual mapviewer instance running in the application domain. In your application, you must set the mapviewer for the application domain, http:///mapviewer base URL. In the browser, applications are now sent in the same domain, so it is more cross domain issue.

  • How to dynamically generate where clause in Linq

    Hi all


    Oracle DB: 11 gR 2
    Oracle Client: 11.2.0.3.0 (ODP.NET)
    Oracle Developer Tools for Visual Studio
    VS 2010 (C#)

    In a Windows Form, it must query the data based on the values in list dropdown listboxes, which the user selects.
    Let's say two combox, one Department and one for salary
    Department:
    -1 all the
    10 Department 1
    20 Department 2
    30 Department 3

    Salary:
    -1 all the
    1 < 20000
    2 20000 to 50000
    3 50000 to 100000
    4 > 100000


    Here is the c# code to query data:
    using (var myEDMctx = new HREntities())
    {
    var LINQrslt = from emp in myEDMctx.EMPLOYEES
    Select emp;

    }


    The default values for the two combox should be everything.
    How to write dynamic where clause for this LINQ?

    Thanks in advance!

    That's what I do.

    var query = from c in customers
    Select c;

    If (where1 > - 1).
    Query = query. Where(c.Where1 > where1);

    If (where2 > - 1).
    Query = query. Where(c.where2 == where2);

    to return the query;

    Published by: Invincible on July 4, 2012 09:25

    Published by: Invincible on July 4, 2012 09:27

  • Indexing on search for regular expression for dynamic model

    Hi all

    Is it not possible to create an index for the regular expression search (REGEXP_LIKE) for the model 'dynamic '?

    If the model is static, we can create FBI, but is it possible for dynamic diagrams? Please notify.

    Kind regards
    Hari

    N °
    The best option is an Oracle text index.
    http://download.Oracle.com/docs/CD/E11882_01/text.112/e16594/TOC.htm

  • MovieClips dynamically generated

    Hello

    I tried to dynamically generate some movieclips the method I've used does the following:

    use a loop to run according to movieclips how I want generated

    whenever the loop cycles it creates a new instance of movieclip

    Adds the new movieclip in a table

    use the addChild method to put the moveclip onstage

    draw a rectangle

    starts filling

    filling of the ends

    It adds to this movieclip

    I then use a conditional statement checking if the movieclip is the first element of the array

    If so it sets the current x MovieClips and there position to a selected value. the first movieclip is used for a starting point to align the rest of the movieclips generated.

    If not the clips x and y position are defined on the elements of the array x and position previos y current movieclips width or height + the gap I wish they have.

    then the cycle repeats

    Ive coded it using code from script and it works very well the forms appear on the stage without errors

    I tried to move this code off the coast of the chronology for a file and the code has no errors, but when it is running I don't see objects even if I followed it y x and y positions I don't see them on the stage

    Script code

    var mcArray:Array = new Array(); / / DEFINE ARRAY FIRST

    var randomNo:Number;

    var colorStr:String;

    var currentColor;

    var movieClip:MovieClip; / / TEMPORARY VARIABLE

    var prevMCx:Number = 0;

    var prevMCy:Number;

    function myFunc (): void

    {

    for (var i: int = 0; i < 200; i ++)

    {/ / FOR LOOP}

    movieClip = new MovieClip();

    addChild (movieClip);

    mcArray [i] = movieClip; / / This is where we add the movieClip references in the table for later use

              if(i == 0)

              {

    mcArray [i] .x = 0;

    mcArray [i] there = 0;

              }

              else

              {

    prevMCx = mcArray [i-1] .x;

    prevMCy = mcArray [i-1] there;

    mcArray [i] .x = prevMCx + Math.ceil (Math.random () * 100);

    mcArray [i] there = prevMCy + Math.ceil (Math.random () * 100);

              }

    randColor();

    mcArray [i].graphics.beginFill (currentColor, 1);

    mcArray [i].graphics.drawRect (0,0,100,100);

    mcArray [i].graphics.endFill ();

    mcArray [i] .alpha = Math.Random ();

    colorStr = null;

         }

    }

    External AS

    package com.mvc

    {

    import flash.display.MovieClip;

    import flash.display.Sprite;

    import flash.geom. *;

    import flash.events.Event;

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import com.greensock.TweenLite;

    import com.greensock.TimelineLite;

    /public class LibraryLayout extends MovieClip

         {

    public var boxHeight:Number; box height assigned to the main timeline

    public var boxWidth:Number; width of //box assigned to the main timeline

    public var objFill:String; / / fill color box ASSIGN in MAIN TIMELINE

    public var objStroke:String; / / ASSIGN stroke color box in MAIN TIMELINE

    public var layoutTotalItems:uint;

    private var _imgBoxes:Array = new Array ;// holds all the video clips generated loop.

    private var _tempMovieClip:MovieClip; / / the temporary Variable holds current loop [i] movieclip.

    public void LibraryLayout()

              {

    drawBoxes();

              }

    public function drawBoxes (): void

              {

    for (var i: uint = 0; i < 10; i ++)

                   {

    _tempMovieClip = new MovieClip (); Creates a temporary MovieClip

    addChild (_tempMovieClip); / / Adds temporary MovieClip to the stage

    _imgBoxes [i] = _tempMovieClip; / / temporary adds

    _imgBoxes [i].graphics.beginFill (0 x 000000, 1);

    _imgBoxes [i].graphics.drawRect (0,0,100,100);

    _imgBoxes [i].graphics.endFill ();

    //===trace statements, check if the feature does not.

                        If (i == 0)

                        {

    _imgBoxes [i] .x = 10;

    trace (_imgBoxes [i] .x);

                        }

                        else

                        {

    _imgBoxes [i] .x = _imgBoxes [(i-1)] .x + (_imgBoxes [i] .width + 10);

    trace (_imgBoxes [i] .x);

                        }

    _imgBoxes [i] there = 150;

                   }

              }

    public function tweeningSlides (): void

              {

              }

         }

    }

    I am very confused why it does not work if you need more details let me know

    If anyone can help me solve this problem, it would make my month!

    Right. I don't see where you

    addChild (libraryLayout)

    The LibraryLayout class extends MovieClip and if MovieClips are visible they need to be added to the display list.

    Only the document class is added automatically, but her children aren't.

  • How to dynamically generate text or all component areas?

    Hello

    I use Flex4 SDK and Flash Builder with eclipse plugin(trail version) for the development of a flex project.

    I have problems to dynamically generate text boxes.

    When I click on a link button, I want a text box to display on the screen. I tried a few examples that I found on the internet but without success.

    I appreciate your time.

    Thank you

    Ravi

    What error do you get?  Maybe try addElement instead of addChild

  • Dynamically generate orders exp

    DB version: 10.2.0.4

    I'm dynamically generating export scripts. Ask 1 works very well for this.
    Because we do not have enough space in our area, I have to include gzip for each dumpfile coming to create. So, I did a UNION ALL as shown in query 2 operation. But it does not work because the second and the third query (with DOUBLE) cannot access column username from the first query with DBA_USERS.



    = The query 1 =.
    SELECT 'exp system/secret@fmprod BUFFER=10485760 owner='||username||' FILE=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp LOG=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.LOG statistics=none consistent=y'  
    FROM dba_users where  account_status != 'LOCKED' 
    and username not like '%TEST%'
    AND username not in
    ('SYS',
    'SYSTEM',
    'OUTLN',
    'MGMT_VIEW',
    'MDSYS'  ,
    'DBSNMP' ,
    'WMSYS'  ,
    'CTXSYS' ,
    'SYSMAN',
    'ORDPLUGINS',
    'OWBSYS',
    'OLAPSYS',
    'ORACLE_OCM'
    ) 
    = Query2 =.
    SELECT 'exp system/secret@fmprod BUFFER=10485760 owner='||username||' FILE=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp LOG=/data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.LOG statistics=none consistent=y'  
    FROM dba_users where  account_status != 'LOCKED' 
    and username not like '%TEST%'
    AND username not in
    ('SYS',
    'SYSTEM',
    'OUTLN',
    'MGMT_VIEW',
    'MDSYS'  ,
    'DBSNMP' ,
    'WMSYS'  ,
    'CTXSYS' ,
    'SYSMAN',
    'ORDPLUGINS',
    'OWBSYS',
    'OLAPSYS',
    'ORACLE_OCM'
    ) 
    union all
    select 'gzip /data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.dmp' from dual
    union all
    select 'gzip /data/exp_bkp/FMPROD_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) || '/' || username || '_' || TO_CHAR(SYSDATE, 'YYYYMONDD' ) ||'.log' from dual

    Use a second select statement, but don't use Union al.

    Or copy it directly in the string.

    select 'exp ...' from ...;
    select 'gzip ... ';
    

    or

    select 'exp ...'
           ||chr(10)  /* on windows systems you might need to add ||chr(13) */
           ||'gzip ... '
    from ...;
    
  • Oracle Forms objects has not generated successfully

    Jen

    OS OUL5x64
    EBS r12.1.1
    DB 11 GR 1 material

    apllied patch 8610746 and received this error

    Help, please!
    Thanks in advance.


    The following Oracle Forms objects have not generated successfully:



    the ARXRWRCT.pll resources

    the ARXRWAPP.pll resources

    the ARXTWLIN.pll resources

    Hello

    Please check the log files for more information about the error.

    In addition, manually compile forms and see the error you get.

    If you have invalid objects in the database, make sure that all are compiled.

    Thank you
    Hussein

  • How to execute dynamically generated using GR 11, 2 SQL statements?

    Hello

    I would like to know if it is possible to do what the following statement which is intended :
    select * from (select replace('select empno from emp',
                                 '',
                                 '') from dual);
    in other words, is it possible to dynamically generate and execute a select statement in a from clause?

    Thank you for your help,

    John

    Published by: 440bx 16 July 2010 15:57 modified 'create' to 'generate' to the subject

    Like many I know no. in SQL. Results of your query in the FROM clause will not be transformed as another query, but just a litral value and your outer query returns this value as "select empno from emp".

    But you can use dynamic sql statements in PL/SQL using EXECUTE IMMEDIATE or DBMS_SQL.

    Something like that.

    DECLARE
     dynamic_from_clause VARCHAR2(4000) := 'select empno from emp';
     vReturnVal NUMBER;
    BEGIN
      EXECUTE IMMEDIATE 'SELECT * FROM ('||dynamic_from_clause||')' into vReturnVal ;
    END;
    /
    

    Just write memory have not tested it.

  • SDHC-Card-Driver for Win7 and Portege M200?

    ICH is not SDHC-Card-Driver for Windows 7 and the Portage M200.
    Either way... work the SD Card Reader in the M200 with linux (ubuntu) and someone has a link with instructions?

    Sorry for my bad English.

    You could try the Win7 driver card to a similar newer model reader, such as the Portege M400. Have a look here: http://support.toshiba-tie.co.jp/windows7/drivers_au.htm

    Also run WindowsUpdate Control Panel, it can find a driver automatically.

  • Position of legend for curves.

    Hello

    Please look at the picture below.

    I need to have the curve legend similar to it.

    Tiara provides a vertical, horizontal and automatic position.

    I am facing problem with position of the channel names.

    How to do this. ?

    I hope am clear about my requirement.

    Kind regards

    Leila

    Hi Julie,.

    Please take a look at the example: "tables 2D as legend and the legend for the axis system Labeling. There is an individual legend (based on a 2D array). To create such a legend, you need the command "CurveSnippet".

    Greetings

    Walter

  • How to determine the number of highlight ' to write ' for DAQmx generate analog output?

    On the configuration of the stage for DAQmx generate analog output, there is a field "value to write.  I can't find any explanation for what it is, how it determines the value to enter, nor what he writes.  I am trying to go through the tutorials and it cling.

    Someone would give an explanation?

    Hello

    To write value specifies the value to write in the channels, lines or ports selected in string parameters. In other words, this value will be the value of your DC output (for example if you enter 5, your output will be 5V). To get information on different fields in SignalExpress, access help"context-sensitive help. A pane will appear in your work environment that displays the coordinates of the field when you place your pointer over them.

    For new users of SignalExpress:

    Generation of DC signals with NI DAQmx devices: step in the DAQmx build, select 1 sample (on request) in the generation Mode dropdown. You can select a programmatic input to generate, or you can remove the check mark from the check box use programmatic input and specify a value for generating in the field of value to write . NOR-DAQmx help also provides additional information about the data generation.

    Best regards

    M Ali

    Technical sales engineer

    National Instruments

Maybe you are looking for