Invalid relational operator error

Dear All,
When i try to run the below query i am getting Invlid relational operator. Please help me on the below issue
Declare
lv_number VARCHAR2(2000);
lv_count NUMBER;
BEGIN
For I IN (select emp_no from emp where rownum < 2) Loop
lv_number := ',' ||i.emp_no||lv_number;
ENd Loop;
dbms_output.put_line(substr(lv_number,2));
lv_number := ' IN ( '|| substr(lv_number,2)|| ')';
dbms_output.put_line(lv_number);
select Count(1)
INTO lv_count
FROM emp
where emp_no|| lv_number ;
-- The above logic written to achive my requirement
END ;

You need to use dynamic SQL:
Declare
    lv_number VARCHAR2(2000);
    lv_count NUMBER;
BEGIN
    For I IN (select empno from emp where rownum < 2) Loop
      lv_number := ',' ||i.empno||lv_number;
    ENd Loop;
    dbms_output.put_line(substr(lv_number,2));
    lv_number := ' IN ( '|| substr(lv_number,2)|| ')';
    dbms_output.put_line(lv_number);
    EXECUTE IMMEDIATE 'select  Count(1)
      FROM emp
      where empno' || lv_number
      INTO  lv_count;
    dbms_output.put_line('COUNT = ' || lv_count);
END;
7369
IN ( 7369)
COUNT = 1
PL/SQL procedure successfully completed.
SQL> SY.

Similar Messages

  • Using regexp_instr in a where clause - invalid relational operator

    Whey I try to run this query in TOAD I get an ORA-00920: invalid relational operator error. It's part of a 10g stored procedure. When I highlight it and run it it prompts me for the missing values and then the error pops up. The AND in line 4 is highlighted.
    select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
    From vaps.vw_offenses
        where  regexp_instr(valoc,to_char(location_id))
            AND ( fromdate is null or
             offense_date between to_date(fromdate, 'mm/dd/yyyy')  AND to_date(todate,'mm/dd/yyyy')
    group by crime_classification_id, crime_type

    Hi,
    Review what REGEXP_INSTR does: it returns a NUMBER.
    Your WHERE clause couldn't make any sense if you used any other kind of NUMBER expression in that place, e.g. a NUMBER literal such as 12:
    select CRIME_CLASSIFICATION_ID, crime_type, nvl(count(CRIME_CLASSIFICATION_ID),0) as CRIMECNT
    From vaps.vw_offenses
        where  12     -- This is obviously wrong
            AND ( fromdate is null or
             offense_date between to_date(fromdate, 'mm/dd/yyyy')  AND to_date(todate,'mm/dd/yyyy')
    group by crime_classification_id, crime_type
    It's not going to work any better with a function (like REGEXP_INSTR) that returns a NUMBER.
    How can you fix it?  That depends on what you want to do.  Why are you calling REGEXP_INSTR?  What is that condition checking?
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    Always say which version of Oracle you're using (for example, 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Error: ORA-00920: invalid relational operator (WWV-16016)

    Hi,
    When I try to query in the form, I'm getting the following error
    An unexpected error occurred: ORA-00920: invalid relational operator (WWV-16016).
    The form has a field of type varchar2 with lov attached to it. This error is happening only if I enter characters more than 40 or select a value which has more than 40 characters from the lov.
    Anbody had this problem?..Is there a solution for this?..Help would be appreciated.
    Thanks
    PJ

    I figured out the problem and it seems like if the value has any 'IN' or 'BETWEEN' and try to query this error is happening and it's not because of character length. I think Portal assumes that relational operator is entered and tries to query based on those words. Is it a bug in the Portal?..
    Thanks
    PJ

  • Case with where clause - ORA-00920: Invalid relational operator

    Hi All, when I try to run the query below, I get the following error...
    ORA-00920: invalid relational operator
    00920. 00000 -  "invalid relational operator"
    *Cause:   
    *Action:
    Error at Line: 16 Column: 5
    Does anyone know what's wrong with my query? thanks in advance.
    SELECT concat (year,period)
    FROM DD_ACTUALS_FACT
    WHERE CASE Period
    WHEN 'JAN' THEN '01'
    WHEN 'FEB' THEN '02'
    WHEN 'MAR' THEN '03'
    WHEN 'APR' THEN '04'
    WHEN 'MAY' THEN '05'
    WHEN 'JUN' THEN '06'
    WHEN 'JUL' THEN '07'
    WHEN 'AUG' THEN '08'
    WHEN 'SEP' THEN '09'
    WHEN 'OCT' THEN '10'
    WHEN 'NOV' THEN '11'
    WHEN 'DEC' THEN '12'
    END as "MonthNo"
    ORDER BY CONCAT (year,"MonthNo") DESC

    The problem is the as "MonthNo" - you can't give an "AS" alias to an expression in a where clause.
    You have not actually given any condition, just a set of translations from period into a number.
    You also haven't said what you're trying to do.
    Perhaps you want:
    SELECT concat (year,period)
    FROM DD_ACTUALS_FACT
    WHERE something
    ORDER BY CONCAT (year, CASE Period
    WHEN 'JAN' THEN '01'
    WHEN 'FEB' THEN '02'
    WHEN 'MAR' THEN '03'
    WHEN 'APR' THEN '04'
    WHEN 'MAY' THEN '05'
    WHEN 'JUN' THEN '06'
    WHEN 'JUL' THEN '07'
    WHEN 'AUG' THEN '08'
    WHEN 'SEP' THEN '09'
    WHEN 'OCT' THEN '10'
    WHEN 'NOV' THEN '11'
    WHEN 'DEC' THEN '12'
    END  ) DESC

  • Invalid relational operator

    Hi,
    if I :
    create table t (a number, b number, c number);
    and then run the following query:
    delete from t where a='1' and (b, c) in (
    select b, c from t
    where a='1'
    group by b, c
    having count(*) > 1);
    -- nothing to see here
    I get the following error:
    ORA-00920: invalid relational operator
    If I remove the "-- nothing to see here" comment, the query runs fine.
    If I remove the quotes around the 1s it also runs fine, with or without the trailing comment.
    I had a look through the forum and couldn't see this listed anywhere, though I presume others have come across similar problems?
    I presume there is a simpler test case; I tried to reduce it a bit, but most of what is there seems to be needed to reproduce the error.
    Note that it doesn't have to be a comment following the query; any text at all will cause the same error.
    regards,
    William

    Having just played around a bit, if you change the subquery to just return a single column, say "b" rather than "b" and "c":
    delete from t where a='1' and b in (
    select b from t
    where a='1'
    group by b
    having count(*) > 1);
    -- nothing to see here
    Then I get error "ORA-00911: invalid character" instead.
    If I run the buffer as a script (F5) I get:
    SQL ERROR:ORA-00911: invalid character
    delete from t where a='1' and b in (
    select b from t
    where a='1'
    group by b
    having count(*) > 1);
    -- nothing to see here
    ORA-00911: invalid character
    In case that helps you locate it at all.
    Note: if I move the "group by" clause onto the where line then it runs correctly.
    regards,
    William
    Message was edited by:
    user454290

  • Requesting help-On a report Getting ora-00920 invalid relational operator.

    Hi everyone,
    I am having a report region with the following query:
    select CASE
    WHEN ISITRECENTADDENDUM(meckey_fk,code)
    THEN
    '<a href="javascript:popUp2('''
                   || 'f?p=&APP_ID.:61:&SESSION.::NO::P61_MECKEY_FK:'
                   || &P60_MECKEY.
                   || ''', 700, 700);">'
    || '<img src="#IMAGE_PREFIX#gobut.gif">'
    || '</a>'
    ELSE NULL
    END EditAddendum,
    '<a href="javascript:popURL('''
                   ||'&REPORTS_URL.keynewmec&P_1=&P60_MECNUM.'
                   || ''', 700, 700);">'
    || '<img src="#WORKSPACE_IMAGES#printer.jpg">'
    || '</a>'
    PrintMEC,
    "CODE",
    "MECKEY_FK",
    "ADDENDUM",
    "WHO_CREATED",
    "WHEN_CREATED"
    from "C_ADDENDUMS"
    where "MECKEY_FK" = v('P60_MECKEY')
    And my function returning boolean is as follows:
    create or replace FUNCTION "ISITRECENTADDENDUM"
    (meckeyi in number,
    codei in varchar2)
    return Boolean
    is
    x varchar2(1);
    begin
    select max(code) into x from c_addendums where meckey_fk = meckeyi;
    if x = codei then
    return true;
    else
    return false;
    end if;
    exception
    when others then
    return FALSE;
    end;
    But I am getting ORA-00920 invalid relational operator. Can anyone please help me out? I am not knowing where the error is. When I run the function by itself I am getting "False" returned as expected. Appreciate any advice on this.
    Rgds,
    Suma.

    Suma,
    It looks like what you are trying to do is display a link for the record with the highest value in the Code column, and nothing for the other records.
    If that is the case, you can eliminate the function and just use a SQL query like this:
    (not tested)
    select CASE
              WHEN code = Max(code) over (partition by meckey_fk)
                 THEN
                   '<a href="#">'
                   || ' '
                   || '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>'
              ELSE NULL
           END EditAddendum,
           '<a href="#">'
           || ' '
           || '< img class="TargetAlertIcon" src="chrome://targetalert/content/skin/internal.png"></a>' PrintMEC,
           "CODE", "MECKEY_FK", "ADDENDUM", "WHO_CREATED", "WHEN_CREATED"
      from "C_ADDENDUMS"
    where "MECKEY_FK" = :P60_MECKEYIs that what you're trying to do?
    Doug

  • Invalid Menu Operation Error in CS6

    Recently, I've been seeing the little error indicator show up at the bottom-right corner of the Premiere screen after I import a file.  When I click on it, the error listed says, "Invalid Menu Operation".  I haven't noticed any negative effects from this, but I was wondering if anyone knows what it means.
    Thanks.

    hi
    i don't think that is fair you reply as you don't find any issue as we report!!!This unacceptable!!!
    i'm using premium production cs6 everytime when i open files and click to FILE/CLIP/TITILE/WINDOW and HELP menu button the error message will come out immeadiately than after clear all it will be ok but it will appear everytime when we first launch the project file?!
    Please take note: when click the menu EDIT/PROJECT/SEQUENCE and MARKER that is ok no error message appear!
    we paid for the software is because we trust it , we are not paying for trouble!!! this is a problem giving us when we working we don't know it will affect any of our project or not?
    ADOBE engineering team should find out the problem!!!
    the problem doesn't drop from the sky itself!!!??? Do you think we created the problem????
    Here is my system detail!
    i'm using WIN7 OS, nvidia Quadro 4000, DELL T5500
    AND BELOW IS THE ERROR REFERRENCE
    PLEASE DON'T GIVE US THE SAME FEEDBACK AGAIN THAT MUST BE SOMEWHERE GOES WRONG! PLEASE SOLVE THE PROBLEM THANK YOU!
    my email address is [email protected] or [email protected]

  • Error invalid relational operator

    Hi all
    SELECT count(VC_FIRST_LEAVE) from atten_det
    where to_char(dt_atten,'MM')='05'
    and  to_char(dt_atten,'rrrr')='2011'
    and VC_FIRST_LEAVE='W'
    AND to_char((dt_atten),'fmDay') "Day" ='SUNDAY'PROBLUM SOLVED
    SELECT count(VC_FIRST_LEAVE) from atten_det
    where to_char(dt_atten,'MM')='05'
    and to_char(dt_atten,'rrrr')='2011'
    and VC_FIRST_LEAVE='W'
    AND to_char((dt_atten),'FMDAY') NOT IN ('SUNDAY','SATURDAY')
    Please help
    Thanks And Regards
    vikas
    Edited by: vikas singhal on Dec 3, 2011 10:27 AM

    vikas singhal wrote:
    Hi all
    SELECT count(VC_FIRST_LEAVE) from atten_det
    where to_char(dt_atten,'MM')='05'
    and  to_char(dt_atten,'rrrr')='2011'
    and VC_FIRST_LEAVE='W'
    AND to_char((dt_atten),'fmDay') "Day" ='SUNDAY'Please help
    Thanks And Regards
    vikasSELECT count(VC_FIRST_LEAVE) from atten_det
    where to_char(dt_atten,'MM')='05'
    and to_char(dt_atten,'rrrr')='2011'
    and VC_FIRST_LEAVE='W'
    AND to_char(dt_atten,'fmDay') ='SUNDAY';

  • Invalid relational operator in where clause dynamic

    I have a procedure where I pass the WHERE CLAUSE as a parameter like this:
    PROCEDURE PRC_CONSULTAR_AFIL_PEND(PV_WHERE IN VARCHAR2,
    RESULTSETM IN OUT SYS_REFCURSOR)
    IS
    BEGIN
    OPEN RESULTSETM FOR
    'SELECT PAISAFIL,
    TIPDOCAFIL,
    NUMDOCAFIL,
    APPAFIL,
    APMAFIL,
    NOMAFIL,
    SEXAFIL,
    FECNACAFIL,
    CODPNA,
    ESTADO,
    FECHA,
    TO_DATE(FECGEN),
    NOMCOLUMN
    FROM SUNAFILERR
    WHERE ' || PV_WHERE;
    I am passing the where clause as: 'APPAFIL'||' '||'APMAFIL'||' '||'NOMAFIL LIKE UPPER(rojas%)'

    Miguel Angel wrote:
    I have a procedure where I pass the WHERE CLAUSE as a parameter like this:
    PROCEDURE PRC_CONSULTAR_AFIL_PEND(PV_WHERE IN VARCHAR2,
    RESULTSETM IN OUT SYS_REFCURSOR)
    IS
    BEGIN
    OPEN RESULTSETM FOR
    'SELECT PAISAFIL,
    TIPDOCAFIL,
    NUMDOCAFIL,
    APPAFIL,
    APMAFIL,
    NOMAFIL,
    SEXAFIL,
    FECNACAFIL,
    CODPNA,
    ESTADO,
    FECHA,
    TO_DATE(FECGEN),
    NOMCOLUMN
    FROM SUNAFILERR
    WHERE ' || PV_WHERE;
    I am passing the where clause as: 'APPAFIL'||' '||'APMAFIL'||' '||'NOMAFIL LIKE UPPER(rojas%)'So your where clause is
    WHERE APPAFIL APMAFIL NOMAFIL LIKE UPPER (rojas%)Can you see why that's an error? It would make more sense if there was an operator between APPAFIL and APMAFIL, but then there's obviously something missing between APMAFIL and NOMAFIL as well, and some quotes missing later on.
    The following is valid SQL code
    WHERE   APPAFIL  != APMAFIL
    AND     NOMAFIL  LIKE UPPER ('rojas%')Of course, I have no idea if that's what you want or not.
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements) for any tables used, and the results you want from that data.
    if the problem involves parameters (such as the pv_where), then post a couple of different parameters, and the results you want from the same sample data for each parameter.
    Explain how you get those results from that parameter and that data.
    Always say which version of Oracle you're using.

  • "Invalid menu operation" Alert bug - CS6

    CS6.0.5
    In the last couple of weeks I have started getting this alert:
    I have tried to pay attention to what I have do to create this alert.
    Occasionally it simply appears on opening a Project.
    Reliably, it pops up when I hit Ctrl > z (undo), and Ctrl > s (save)...
    but after clearing the alert, Ctrl > [Anything] does not make it reappear.
    This happens regardless of the Project.
    edit:
    I have just discovered that if I try to use File > Save
    instead of Ctrl > s to save, the alert appears
    as soon as I touch the File Menu header.
    This also happens with the Clip, Title, Window & Help headers.
    As in the replies in the thread below, there seems to be
    no detriment to any functionality when this alert appears.
    Maybe it's a fairly inconsequential bug, but it does appear to be a bug.
    I had worked in CS6 for almost a year without this alert occurring.
    Invalid Menu Operation Error in CS6
    http://forums.adobe.com/message/4913886

    Even if this errant "Invalid menu operation" alert is not
    indicative of any real problem and does not seem to cause
    any functionality problem within Premiere, it is still an obtrusive
    alert that requires the extra steps to clear (at least once).
    If not cleared, any 'real' alert would be missed since
    all it will do is add a new entry to an un-cleared list.
    Any suggestions aside from filing additional bug reports?

  • Form Error Message: Invalid relation attribute on pageSet xfa

    Hi,
    I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form.
    Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].form1[0].#pageSet[0]
    This error only appears to come up if they are using Adobe Acrobat Pro Version 8. No issues on versions 9 or 10 (X). The form is suppose to be compatible back to version 7.
    My main form is called (form1). Then there are 4 major sub forms under (form1), The top drop down (on the masterpage) hides or displays one of the major sub forms based on user selection.
    I have a hunch that something with the generated code not jiving well with Acrobat 8.
    Here's a snippet of the code if you'd like to look through it.
    form1.#pageSet[0].MasterPage1.FormActionDropDown::change - (JavaScript, client)
    //+ GENERATED - DO NOT EDIT (ID:D2FF16C4-6D1F-45D4-ACB7-0DB7CE14229F CRC:3650232787)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","visible")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","ADD NON-PA User")
    //+ ActionName: DropDown.change.NonPA
    if ($.boundItem(xfa.event.newText) == "ADD NON-PA User") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "visible";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:662A28BD-A30A-4E6D-92CD-6FF22B0EFB5D CRC:2945493746)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","visible")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","DELETE EXISTING PA")
    //+ ActionName: DropDown.change.DeletePA
    if ($.boundItem(xfa.event.newText) == "DELETE EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "visible";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:66B7091F-75C5-4A73-8ACA-885AE42D0308 CRC:2169512649)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","visible")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CHANGE / MODIFY EXISTING PA")
    //+ ActionName: DropDown.change.ChangePa
    if ($.boundItem(xfa.event.newText) == "CHANGE / MODIFY EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "visible";
    //+ GENERATED - DO NOT EDIT (ID:C87B58DB-765D-426C-81BB-5A7ECFF42B63 CRC:2949030955)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","visible")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CREATE NEW PA")
    //+ ActionName: DropDown.change.NewPA
    if ($.boundItem(xfa.event.newText) == "CREATE NEW PA") {
      this.resolveNode("PAForm").presence = "visible";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";

    You should post this question in the LiveCycle Designer forum here. This forum is for forms created in Acrobat (Acroforms).

  • Error Message: Invalid relation attribute on pageSet xfa

    Hi,
    Searching through the forums and on the net, I cannot seem to locate an answer to this problem so I'm trying here...
    I've developed a form that many folks are using without any issues. However, I do have a small number of users that get the following error message when opening the form.
    Error Message:  Invalid relation attribute on pageSet xfa[0].template[0].form1[0].#pageSet[0]
    This error only appears to come up if they are using Adobe Acrobat Pro Version 8. No issues on versions 9 or 10 (X). The form is suppose to be compatible back to version 7.
    My main form is called (form1). Then there are 4 major sub forms under (form1), The top drop down (on the MasterPage1) hides or displays one of the major sub forms based on user selection.
    I have a hunch that something with the generated code not jiving well with Acrobat 8.
    Here's a snippet of the code if you'd like to look through it.
    form1.#pageSet[0].MasterPage1.FormActionDropDown::change - (JavaScript, client)
    //+ GENERATED - DO NOT EDIT (ID:D2FF16C4-6D1F-45D4-ACB7-0DB7CE14229F CRC:3650232787)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","visible")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","ADD NON-PA User")
    //+ ActionName: DropDown.change.NonPA
    if ($.boundItem(xfa.event.newText) == "ADD NON-PA User") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "visible";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:662A28BD-A30A-4E6D-92CD-6FF22B0EFB5D CRC:2945493746)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","visible")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","DELETE EXISTING PA")
    //+ ActionName: DropDown.change.DeletePA
    if ($.boundItem(xfa.event.newText) == "DELETE EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "visible";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";
    //+ GENERATED - DO NOT EDIT (ID:66B7091F-75C5-4A73-8ACA-885AE42D0308 CRC:2169512649)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","visible")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","hidden")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CHANGE / MODIFY EXISTING PA")
    //+ ActionName: DropDown.change.ChangePa
    if ($.boundItem(xfa.event.newText) == "CHANGE / MODIFY EXISTING PA") {
      this.resolveNode("PAForm").presence = "hidden";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "visible";
    //+ GENERATED - DO NOT EDIT (ID:C87B58DB-765D-426C-81BB-5A7ECFF42B63 CRC:2949030955)
    //+ Type: Action
    //+ Result4: SetPresence("$Node5","hidden")
    //+ Result3: SetPresence("$Node4","hidden")
    //+ Result2: SetPresence("$Node3","hidden")
    //+ Result1: SetPresence("$Node2","visible")
    //+ Node5: form1[0].ChangePAForm[0]
    //+ Node4: form1[0].Non-PAForm[0]
    //+ Node3: form1[0].DeletePAForm[0]
    //+ Node2: form1[0].PAForm[0]
    //+ Node1: form1[0].#pageSet[0].MasterPage1[0].FormActionDropDown[0]
    //+ Condition1: ListField("$Node1","textselected","CREATE NEW PA")
    //+ ActionName: DropDown.change.NewPA
    if ($.boundItem(xfa.event.newText) == "CREATE NEW PA") {
      this.resolveNode("PAForm").presence = "visible";
      this.resolveNode("DeletePAForm").presence = "hidden";
      this.resolveNode("Non-PAForm").presence = "hidden";
      this.resolveNode("ChangePAForm").presence = "hidden";

    You should post this question in the LiveCycle Designer forum here. This forum is for forms created in Acrobat (Acroforms).

  • Error # 3021 - Invalid Relation. --- MS Access to Oracle APEX

    Hello everybody.
    I have 3 years working with Oracle APEX and now I have the need to migrate an Access database to Oracle and APEX.
    I have:
    - MS Access 2003 database
    - Oracle SQL Developer 3.0.04.34
    - Oracle 10g Database
    I will try to provide all the relevant information.
    I used the Access Exporter for Access 2003 tool from Oracle SQL Developer to creat both .xml (for SQL Dev) file and .sql file (for APEX) but the process show me an error mesassge that said: "Error # 3021 - Invalid Relation. No current record".
    I read in OTN forum that it was because the migration tool can not access the system tables and that I need to modify permisions to allow "Read Data". I did this process and I was able to create .xml file, however if I chose Application Express to create .sql file or the option to create both files the same error shows.
    I have been reading in this forum but didn't find a way to solve it.
    Does any body knows how to solve this issue?
    Any help is appreciated.
    Thanks in advance for your help.

    Hello,
    I can't reproduce your issue.
    Have you double-checked that the tables MSysAccessObjects, MSysACEs, MSysObjects, MSysQueries and MSysRelationships are visible and that the Admin user has at least Read Design and Read Data permission on those tables?
    If that is the case, and the problem still happens, and you are able to give a copy of your .mdb file to Oracle, then I suggest to open a Service Request with Oracle Support so that the issue can be investigated.
    Regards
    Wolfgang

  • Invalid append operation

    I get the following message(in my livecycle server log) when one of my forms loads in workspace.  Its only the one form that this occurs in and the form appears to work correctly.  Does anyone have any idea why this warning occurs and how to clear it?  Anyone know what the specific fault lines (2812 and 1825) refer too?  I was thinking it would refer to the xml source inside designer but it didn't appear to relate.  This causes a lot of spam in the server log file and it could be causing an error that I haven't been able to find yet.
    2011-09-16 13:37:00,203 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
    2011-09-16 13:37:00,203 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 2812.
    2011-09-16 13:37:01,781 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
    2011-09-16 13:37:01,781 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.
    2011-09-16 13:37:01,813 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
    2011-09-16 13:37:01,813 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.

    I don't work with LC servers but with Designer but think this doesn't matter here.
    A fields text is the child element of a value element. So you first have to append a value element and then append the text element to it.
    <field name="TextField1" y="6.35mm" x="15.875mm" w="62mm" h="9mm">
                <ui>
                   <textEdit>
                      <border>
                         <edge stroke="lowered"/>
                      </border>
                      <margin/>
                   </textEdit>
                </ui>
                <font typeface="Myriad Pro"/>
                <margin topInset="1mm" bottomInset="1mm" leftInset="1mm" rightInset="1mm"/>
                <para vAlign="middle"/>
                <caption reserve="25mm">
                   <para vAlign="middle"/>
                   <value>
                      <text>Text Field</text>
                   </value>
                </caption>
               <value>
                   <text>Sample text</text>
                </value>
             </field>
    In Designer the script looks like:
    var newValue = xfa.template.createNode("value");
    var newText = xfa.template.createNode("text");
    newText.value = "Sample text";
    newValue.nodes.append(newText);
    [referenceSyntax].nodes.append(newValue);
    Hope this helps.

  • Download Helper, even with paid converter upgrade, gives "Invalid Capture File" errors and will not record audio, with "File Creation Error - Unable to rename/copy audio file" Error.

    Download Helper Screen Capture worked to capture video if the default "no audio" option is active. But, no audio. The "speakers" or "microphone" audio options are confusing....the audio to be captured is from the video, so what do you choose? With either "speakers" or "microphone" selected, the captured file has poor audio and no video. Re-capture efforts (speakers) get "Invalid capture file error" and "File Creation error- Unable to rename/copy audio file"
    The paid upgrade of "Converter" doesn't work.
    Instructive documentation - not very good.
    Suggestions - Need time delay between initiation of "Record" and starting the video to be recorded.
    Could use timer tracking of the record process.
    Are there operating system limitations? (Have Windows XP Pro)

    That is an issue for the developer of that Download Helper.

Maybe you are looking for

  • Cannot sync apps / app icons distorted - if system language is non-English

    1. If I select Russian(my native language) as the system language, the Apps section/tab does not appear fully when I click on it. The Apps tab is selected, but it shows the contents of the Summary tab. I cannot sync apps with my iPhone. 2. The icons

  • Crystal in SAP Portal Iview

    I was looking at SAP Portal content development and I saw an ivew wizard for crystal report. A couple of the contne properties is: ID of Crystal Enterprise Report So what I am wondering is if this is the rpt that has been bw published to the SAP syst

  • TS4424 Anyone solve this problem on 10.6.8. Server?

    Well, tried to tun Mail for the first time today :-( Seems there has been some ccorruption from Software Update because Mail 4.5 won't run on my Mac-mini Server and (until today) I have never manually installed any updates. And yes, according to Soft

  • Minimize and maximize Solaris 10 installed on VM virtual Box.

    How can I minimize and maximize Solaris 10 installed on VM virtual Box. Thanks Paulo

  • HDV Sony Z1 25p cine-mode workflow

    Hi Ladies and Gents, Just wanted to check the proper capture settings for capturing Sony 25p cine-mode. I've checked all the usual spots i.e. here, creative cow etc but just wanted some your thoughts. Thanks, Jimmy