Question on cursor %NOTFOUND attribute

Here is my PL/SQL:
OPEN c_original_demo FOR
'SELECT pro_flags, spo_flags, proemp_flags, spoemp_flags
FROM test.original_demo
WHERE id_number = '<any id>' ;
FETCH c_original_demo
INTO     v_pro_flags, v_spo_flags, v_proemp_flags, v_spoemp_flags ;
IF c_original_demo%NOTFOUND THEN
v_pro_flags := '0000000000000000000000000' ;
v_spo_flags := '0000000000000000000000000' ;
v_proemp_flags := '00000000000000000000' ;
v_spoemp_flags := '00000000000000000000' ;
END IF ;
When that code runs, it bombs on an ID that does not have a record in the original_demo table, so its trying to fetch no data into my variables. But isn't that what the %NOTFOUND logic is supposed to prevent? Am I using it wrong?
Thanks for the help,
ivalum21

>
Walter Fernández wrote
Hi,
Try this code:
>
just complement your code
DECLARE
  Cursor c_original_demo(pi_id Number) is
    SELECT pro_flags, spo_flags, proemp_flags, spoemp_flags
      FROM test.original_demo
     WHERE id_number = pi_id;
BEGIN
    OPEN c_original_demo( < any id > );
    LOOP
        FETCH c_original_demo
            INTO v_pro_flags, v_spo_flags, v_proemp_flags, v_spoemp_flags;
        IF c_original_demo%FOUND THEN
            -- fetch succeeded
            -- your code
        ELSE
            v_pro_flags    := '0000000000000000000000000';
            v_spo_flags    := '0000000000000000000000000';
            v_proemp_flags := '00000000000000000000';
            v_spoemp_flags := '00000000000000000000';
            EXIT;
        END IF;
    END LOOP;
    CLOSE c_original_demo;
END;Regards :)
Christian Balz

Similar Messages

  • Wrong value for cursor%notfound while using bulk collect

    Hi,
    If the limit value is greater then the amount of rows which were fetched, then cursor attribute %NOTFOUND is TRUE.
    Why it's not FALSE because one value was fetched.
    I made a little example.
    The second procedure doesn't produce an output, but the first one does.
    SQL> CREATE TABLE testing AS SELECT 1 id FROM dual;
    Table created.
    SQL> DECLARE
      2    TYPE array IS TABLE OF testing.id%TYPE;
      3    l_data array;
      4
      5    CURSOR cur_test IS
      6      SELECT id FROM testing;
      7  BEGIN
      8    OPEN cur_test;
      9    LOOP
    10      FETCH cur_test BULK COLLECT INTO l_data <b>LIMIT 1</b>;
    11      EXIT WHEN cur_test%NOTFOUND;
    12      dbms_output.put_line('value='||l_data(1));
    13    END LOOP;
    14    CLOSE cur_test;
    15  END;
    16  /
    <b>value=1</b>
    PL/SQL procedure successfully completed.
    SQL> DECLARE
      2    TYPE array IS TABLE OF testing.id%TYPE;
      3    l_data array;
      4
      5    CURSOR cur_test IS
      6      SELECT id FROM testing;
      7  BEGIN
      8    OPEN cur_test;
      9    LOOP
    10      FETCH cur_test BULK COLLECT INTO l_data <b>LIMIT 10</b>;
    11      EXIT when cur_test%NOTFOUND;
    12      dbms_output.put_line('value='||l_data(1));
    13    END LOOP;
    14    CLOSE cur_test;
    15  END;
    16  /
    PL/SQL procedure successfully completed.
    SQL> spool off;
    Thanks
    Ants

    Why not bulk fetching only one time and not loop?
    I would say it is working as intended. %FOUND / %NOTFOUND only tells you if there are rows left to fetch. Good that you are now aware of it.
    Also think at possibilities like .FIRST, .LAST or SQL%BULK_ROWCOUNT
    From the oracle documentation: "%NOTFOUND Attribute
    This is a cursor attribute that can be appended to the name of a cursor or cursor variable. Before the first fetch from an open cursor, cursor_name%NOTFOUND yields NULL. Thereafter, it yields FALSE if the last fetch returned a row, or TRUE if the last fetch failed to return a row."

  • CURSOR%NOTFOUND vs no more records to process;

    how can I differentiate between the above ? I have a cursor that selects data based on a condtion. If the condition is not met and I get CURSOR%NOTFOUND is true I want to handle this in one way while still being able to handle no more rows to process.
    hope my question is clear
    thanks
    Message was edited by:
    aanton

    That means, if cursor%rowcount > 0 then you have found at least one record. If there was no record found at all, cursor%rowcount is 0.
    SQL> get t
      1  declare
      2    cursor c1 is select dummy from dual where 1 = 1;
      3    cursor c2 is select dummy from dual where 1 = 0;
      4    l_res  varchar2(10);
      5  begin
      6    open c1;
      7    fetch c1 into l_res;
      8    if c1%notfound then dbms_output.put_line ( 'c1: not found, c1%rowcount: ' || c1%rowcount );
      9    else                dbms_output.put_line ( 'c1: found,     c1%rowcount: ' || c1%rowcount );
    10    end if;
    11    fetch c1 into l_res;
    12    if c1%notfound then dbms_output.put_line ( 'c1: not found, c1%rowcount: ' || c1%rowcount );
    13    else                dbms_output.put_line ( 'c1: found,     c1%rowcount: ' || c1%rowcount );
    14    end if;
    15    close c1;
    16    open c2;
    17    fetch c2 into l_res;
    18    if c2%notfound then dbms_output.put_line ( 'c2: not found, c2%rowcount: ' || c2%rowcount );
    19    else                dbms_output.put_line ( 'c2: found,     c2%rowcount: ' || c2%rowcount );
    20    end if;
    21    close c2;
    22* end;
    SQL> /
    c1: found,     c1%rowcount: 1
    c1: not found, c1%rowcount: 1
    c2: not found, c2%rowcount: 0
    PL/SQL procedure successfully completed.
    SQL>

  • Question Mark cursor keeps appearing

    After my computer has been on for some time, the 'help' list from any program that might be active pops up on the screen. I can't get rid of it. The question mark cursor stays active and all I can do to get rid of it is to restart the computer, but shortly the problem arises again. This has been happening for about a week now.
    Hope someone has a helpful answer. I did try typing my problem into the 'help' search menus, but it didn't work. I know MACs aren't suppose to get viruses.... but this sure sounds like one.
    I have the newest G5 power Mac

    respond please...:-(

  • Question regarding cursor variables, while using table functions

    Hi,
    I created a procedure and when i'm try'g to call it. now i'm getting this error.
    CREATE OR REPLACE TYPE TAB_EMP_REC IS OBJECT(
    EMP_ID NUMBER(9),
    EMP_NAME VARCHAR2(30));
    CREATE OR REPLACE TYPE T_EMP_TMP IS TABLE OF TAB_EMP_REC ;
    CREATE OR REPLACE PROCEDURE USP_CREATE_DATA(
    p_Input IN NUMBER,
    V_EMP_CUR OUT sys_refcursor) IS
    T_EMp T_EMP_TMP := T_EMP_TMP( );
    BEGIN
    t_emp.extend();
    t_emp(1) := TAB_EMP_REC(p_input, 'jack');
    OPEN V_EMP_CUR FOR SELECT * from TABLE(t_emp);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR '||SQLERRM);
    END USP_CREATE_DATA;
    calling procedure::
    DECLARE
    type O_RESULT_CUR is ref cursor return TAB_EMP_REC;
    V_EMP_REC TAB_EMP_REC;
    BEGIN
    USP_CREATE_DATA(99, O_RESULT_CUR);
    LOOP
    FETCH O_RESULT_CUR INTO V_EMP_REC;
    EXIT WHEN O_RESULT_CUR%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(V_EMP_REC.EMP_ID);
    END LOOP;
    CLOSE O_RESULT_CUR;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR '||SQLERRM);
    END;
    Now i'm getting an error PLS-00362: invalid cursor return type; 'TAB_EMP_REC' must be a record type.
    My question is i already declared it as a database object. What do i need to do ?
    thank you

    but t_emp(1) := TAB_EMP_REC(p_input, 'jai');
    is correct, since.. i'm passing a record into t_emp(1)(this is the first column in this table)No it is not, since TAB_EMP_REC is just an object, when used as a collection, it can be a VARRAY, a PL/SQL table(associative array), nested table etc. As mentioned in my earlier post, if you want to use a collection of the same structure (with subscript n, as you have done here), then you need to declare a collection of type TAB_EMP_REC.In this case you have already declared a table of type TAB_EMP_REC - +CREATE OR REPLACE TYPE T_EMP_TMP IS TABLE Also, t_emp is of type T_EMP_TMP - T_EMp T_EMP_TMP := T_EMP_TMP( );*
    As for the error you are getting, try changing to -
    t_emp := T_EMP_TMP(TAB_EMP_REC(p_input, 'jai'));*
    Note : Not Tested.

  • Question about cursors in a function and how to return the results

    Hi all,
    Some tech info:
    I'm using Oracle 11G database and APEX 4.0.2.00.06
    I use three cursors in a function. My function is called in an APEX standard report, like this by example:
    SELECT fnc_exp(tab.arg1, tab,arg2) FROM table_exp tab;
    My question is: how can I return the values calculated from my function to a standard APEX report? Before, this function was used like this by Oracle Forms to fetch the cursors in the right table columns:
    open c_a;
    fetch c_a into :loc.arg1;
    close c_a;
    open c_b;
    fetch c_b into :loc.arg2, :loc.arg3, :loc.arg4, :loc.arg5;
    close c_b;
    Thanks for your advices!
    Maybe my solution is not right, if you have better ideas, please suggest :)
    PS: If you need more details, please ask which you need.

    Hi,
    I don't think you can do exactly like that in APEX.
    Go for a pipelined function if you want the value be returned from the function.

  • JS -- XML Question - Can I add attributes using Javascript?

    I want to add an attribute to an element tag, but I don't see how to do it programmatically. Is it possible? Also, is there a way to name an element tag dynamically? For example:
    The way to add a child element is to either use the appendChild method like this:
    XMLObject.appendChild(<childElement/>);
    XMLObject.childElement= "something";
    or just add it like this:
    XMLObject.childElement = "something";
    Right? (Side Question: Is there a difference between these two methods?).
    What I want to do is to either add a dynamic attribute to a statically named child, or to create a dynamically named child.
    I haven't been able to figure this out myself. Any ideas?

    Maybe have a look at Mozilla's E4X tutorial: https://developer.mozilla.org/en/E4X_Tutorial/
    There's no need for eval() here. (There usually isn't.) Use:
    XMLObject.appendChild(<{nameReference}/>);
    To add an attribute, you can just use:
    XMLObject.@new_att = "the value";
    Jeff

  • Question about Nav. Attributes

    Hello Gurus,
    Lets say I have a characteristic "C", which has two attributes (both time-independent) named "A" and "B". Lets say "B" is made as a navigational attribute. So, we have P table and X table where the X table has the SID of the attribute "B". I have a couple of questions 1) Does the P table have an entry for the attribute "B" (even though it is a nav. attribute) and 2) If so, why do we need that field in P table? Is it because the user can change attribute "B" from Nav. to display attribute in future, if required? Please clarify.
    Thanks,
    Sreekanth

    Hi,
    1) Does the P table have an entry for the attribute "B" (even though it is a nav. attribute)
    No
    2) If so, why do we need that field in P table? Is it because the user can change attribute "B" from Nav. to display attribute in future, if required? Please clarify.
    User can change it back to display attribute. then the attribute will come into p-table,even there is a data in it.
    With rgds,
    Anil Kumar Sharrma .P

  • Question about Cursor in Reports

    Hello I new in this forum
    I need some help, i've started using Reports and I need to show in a Jsp report the result of a stored Procedure this procedure returns a cursor , so my question is How I can to show this selection (result of the cursor) in the report? ' cause when creating a Report with the wizard or manually the application asks for the selection

    inolau :
    Thanks for the link, it's was very useful.
    Well a have another question I need to display a report but pl/sql sends an error because the sql sentece is dynamic and do not allow to use a record
    example
    type v_record is record (deptos.no_folio%type,deptos.dependencia%type,empleado.name%type);
    type depto_ref is ref cursor return v_record
    create or replace function fnc_depto (idempl in varchar2) return depto_ref
    is
    v_cursor depto_ref;
    v_select varchar2(2000);
    begin
    v_select ='select deptos.no_folio,deptos.dependencia,empleado.name
    from deptos join empleado on (deptos.no_folio=empleados.no_folio)
    where empleados.idempleado in (' || idempl || ' ) ';
    open v_cursor for
    v_select;
    return v_cursor;
    end;
    when I create the function it's good but when you execute it returns an error that says
    PL/SQL: Statement ignored
    PLS-00455: el cursor 'V_CURSORDETALLE' cannot use it in a sentece OPEN of Dynamic SQL
    Do you know some solution for it?
    thanks for your time
    cheers!
    best regards

  • Question on cursors

    Hello,
    I want to retrieve all names and salaries from an employee table based on the number of records shown of what the user inputs and retrieve all names of the salaries that is included in the top n if it matches other employee salaries. For example in the accept command, if a user entered 5 it should show 5 records plus the names of people who have the same record.
    Another example in the table there are 3 records:
    Sue 2000
    Blake 2000
    Mary 1000
    I enter 2 in the accept command, it should bring back all three records because one of the salaries of the employee matches another employee.
    I think the problem I'm having is I do not know what to initialize salary to.
    Here's what I got:
    ACCEPT p_number PROMPT 'Please enter the number of top money makers: '
    DECLARE
    v_number NUMBER(4) := &p_number;
    v_sal emp.sal%TYPE;
    v_count NUMBER;
    CURSOR sal_cursor IS
    SELECT ename, sal from emp
    where sal = v_sal; --I think this is the problem.  What do I initialize v_sal to?
    sal_rec sal_cursor%ROWTYPE;
    BEGIN
    OPEN sal_cursor;
    DBMS_OUTPUT.PUT_LINE('Name' || chr(9) || 'Salary');
    v_count := 0;
    LOOP
    FETCH sal_cursor INTO sal_rec;
    v_count + 1;
    EXIT WHEN v_count > v_number OR
    sal_cursor%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(sal_rec.ename || chr(9) || chr(9) || chr(9) || sal_rec.sal);
    END LOOP;
    CLOSE sal_cursor;
    INSERT INTO top_dogs values (sal_rec.ename, sal_rec.sal);
    END;
    Any help would be greatly appreciated.

    I think you are probably looking for DENSE_RANK, or possibly RANK, depending on how you feel about ties.
    SQL> WITH emp AS (SELECT 'Sue' emp_name, 2000 sal FROM dual UNION ALL
      2               SELECT 'Blake', 2000 FROM dual UNION ALL
      3               SELECT 'Mary', 1000 FROM dual UNION ALL
      4               SELECT 'Steve', 900 FROM dual)
      5  SELECT emp_name, sal, rnk, drnk
      6  FROM (SELECT emp_name, sal,
      7               RANK() OVER (ORDER BY sal DESC) rnk,
      8               DENSE_RANK() OVER (ORDER BY sal DESC) drnk
      9        FROM emp)
    EMP_N        SAL        RNK       DRNK
    Sue         2000          1          1
    Blake       2000          1          1
    Mary        1000          3          2
    Steve        900          4          3Note that you can do this without PL/SQL something like:
    SQL> !cat t.sql
    ACCEPT p_number PROMPT 'Please enter the number of top money makers: '
    WITH emp AS (SELECT 'Sue' emp_name, 2000 sal FROM dual UNION ALL
                 SELECT 'Blake', 2000 FROM dual UNION ALL
                 SELECT 'Mary', 1000 FROM dual UNION ALL
                 SELECT 'Steve', 900 FROM dual)
    SELECT emp_name, sal, rnk, drnk
    FROM (SELECT emp_name, sal,
                 RANK() OVER (ORDER BY sal DESC) rnk,
                 DENSE_RANK() OVER (ORDER BY sal DESC) drnk
          FROM emp)
    WHERE drnk <= &p_number;
    SQL> @t
    Please enter the number of top money makers: 2
    old  10: WHERE drnk <= &p_number
    new  10: WHERE drnk <= 2
    EMP_N        SAL        RNK       DRNK
    Sue         2000          1          1
    Blake       2000          1          1
    Mary        1000          3          2John

  • A question for the rtexprvalue attribute of the tag

    I'm using struts tag , and get some question for tag. In my jsp file. the code like this:
    <html:hidden property="param1" value="<%=id%>otherwords"/>
    note: I add some word after the express
    when i run the jsp file, out of my thought, the result is :
    <input type="hidden" name="param1" value="<%=id%>otherwords">I think the right result is:
    I assign the id value is "2"
    <input type="hidden" name="param1" value="2otherwords">but i erase the "otherwords" in the express, the result is right!!!
    <input type="hidden" name="param1" value="2">not
    <input type="hidden" name="param1" value="<%=id%>">What' the error?
    Does the express must be closed in "<%=" and "%>"? Any titles mention it?
    Many thanks.
    Richard Jin

    not sure why it wont work, but I think this will work
    <html:hidden property="param1"><%=id%>otherwords</html:hidden>

  • Question Regarding Cursor

    I need to create a Cursor where in the SELECT clause I am using Replace function. The replace value is coming from a variable.
    declare
    cursor csr is select replace(col1,'{DATE}',v_date) from tab1;
    begin
    v_date := fun_get_date();
    for c in csr
    loop
    end loop;
    end;
    can i use variables in select clause?

    Hmm..
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Elapsed: 00:00:01.02
    satyaki>
    satyaki>
    satyaki>select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
          7521 WARD       SALESMAN        7698 22-FEB-81       1815        500         30 SALESMAN
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1815       1400         30 SALESMAN
          7788 SCOTT      ANALYST         7566 19-APR-87     4791.6                    20 ANALYST
          7839 KING       PRESIDENT            17-NOV-81       7260                    10 PRESIDENT
          7844 TURNER     SALESMAN        7698 08-SEP-81       2178          0         30 SALESMAN
          7876 ADAMS      CLERK           7788 23-MAY-87     159.72                    20 CLERK
          7900 JAMES      CLERK           7698 03-DEC-81     1379.4                    30 CLERK
          7902 FORD       ANALYST         7566 03-DEC-81    5270.76                    20 ANALYST
          7934 MILLER     CLERK           7782 23-JAN-82     1887.6                    10 CLERK
          7566 Smith      Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
          7698 Glen       Manager         7839 23-JAN-82       1848          0         10 Manager   23-JAN-89
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO JOB1      DOB
             1 boock
    12 rows selected.
    Elapsed: 00:00:00.01
    satyaki>
    satyaki>
    satyaki>declare
      2    cursor c1(var in varchar2)
      3    is
      4      select ename,replace(ename,'E',var) mod_ename
      5      from emp;
      6     
      7    r1 c1%rowtype;
      8   
      9    str varchar2(20);
    10  begin
    11   
    12    str:= '&supp';
    13   
    14    for r1 in c1(str)
    15    loop
    16      dbms_output.put_line('Original :'||r1.ename);
    17      dbms_output.put_line('Modified :'||r1.mod_ename);
    18    end loop;
    19  end;
    20  /
    Enter value for supp: T
    old  12:   str:= '&supp';
    new  12:   str:= 'T';
    Original :WARD
    Modified :WARD
    Original :MARTIN
    Modified :MARTIN
    Original :SCOTT
    Modified :SCOTT
    Original :KING
    Modified :KING
    Original :TURNER
    Modified :TURNTR
    Original :ADAMS
    Modified :ADAMS
    Original :JAMES
    Modified :JAMTS
    Original :FORD
    Modified :FORD
    Original :MILLER
    Modified :MILLTR
    Original :Smith
    Modified :Smith
    Original :Glen
    Modified :Glen
    Original :boock
    Modified :boock
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.03
    satyaki>Regards.
    Satyaki De.

  • Question about initializing Calendar attributes manually

    Hi. I am setting up a Calendar object by initializing it's attributes like this:
    Calendar calendar = Calendar.getInstance();
    calendar.set(Calendar.YEAR, year.intValue());
    calendar.set(Calendar.MONTH, month.intValue());
    calendar.set(Calendar.DAY_OF_MONTH, day.intValue());
    calendar.set(Calendar.HOUR, hour.intValue());
    calendar.set(Calendar.MINUTE, minute.intValue());The problem is that when I run a test case where I create 2 calendar instances with the same attributes ie - both of them set to 2008, 02, 25, 10, 00, the equals() method does not return true:
    calendar1.equals(calendar2);    // Returning false, but have same attributes set as shown above
    Now, the other attributes of the Calendar instances make the two instances not equal. I created a utility method to test just the attributes above for equality, and that works just fine.
    My concern now is the after() and before() methods of Calendar. Can I rely on these to be correct based on what I see from the equals() method? I have ran several test cases with the before() and after() methods (testing with instances initialized differently), and they * seem * to be working as expected, but now I can't be sure... If not, how should I properly initialize the calender instances to make sure that I get the proper behavior out of the before(), after(), and equals() methods?
    Thanks.

    Thanks for your reply. I am still not getting a true return value from the equals() method. Also, I made the modification you suggested with setting the month. When I do calendar.get(Calendar.MONTH) I always get back one less than the actual month. I have read that this is because the months are zero based.
    Why wouldn't the Calendar class return 2 if I pass it a date with February in it? Is this just a bad design decision by the creators of the class?
    Thanks.

  • Question on cursor

    Hi,
    Can anyone help me out with this query, I am planning to run the below query for all invoice_ID from invoice_table.
    There are actualy three blocks and they need to be run for all invoice_ID
    I guess using cursor can be an option, or else pl suggest what needs to be done.
    Please help me with exact query as I am bad at pl/sql
    Block 1:
    SELECT SUM (invoiced_amt) into vFinalTotal from           
    (SELECT invoiced_amt invoiced_amt FROM imt_inv_item b WHERE b.imt_invoice_id = inv_id
    UNION ALL
    SELECT inv_amt invoiced_amt FROM imt_adj_inv_item c WHERE c.imt_invoice_id = inv_id );     
    Block 2:
    select ii.INV_AMT into vInvoiceTotal from IMT_INVOICE ii where ii.IMT_INVOICE_ID = inv_id ;
    Block 3:
    if vFinalTotal != vInvoiceTotal
    then
    IMTTRIG.ADDUPDINVITEM( inv_id );
    END

    Vin wrote:
    Hi,
    Can anyone help me out with this query, I am planning to run the below query for all invoice_ID from invoice_table.
    There are actualy three blocks and they need to be run for all invoice_ID
    I guess using cursor can be an option, or else pl suggest what needs to be done.
    Please help me with exact query as I am bad at pl/sql
    Block 1:
    SELECT SUM (invoiced_amt) into vFinalTotal from           
    (SELECT invoiced_amt invoiced_amt FROM imt_inv_item b WHERE b.imt_invoice_id = inv_id
    UNION ALL
    SELECT inv_amt invoiced_amt FROM imt_adj_inv_item c WHERE c.imt_invoice_id = inv_id );     
    Block 2:
    select ii.INV_AMT into vInvoiceTotal from IMT_INVOICE ii where ii.IMT_INVOICE_ID = inv_id ;
    Block 3:
    if vFinalTotal != vInvoiceTotal
    then
    IMTTRIG.ADDUPDINVITEM( inv_id );
    ENDYou have to make relationship between all related blocks by using imt_invoice_id for all blocks that have ths column :)

  • Question about defining [bit] attribute for products in MXI file ( bug ? )

    Hi,
    When I define the [bit] attribute for a product element in xmi file (set to 64) and create the package, Adobe extension manager CS6 denies to install it on a 64-bit system (by saying:) because it is a 64-bit extension!!
    I tried it in two different environments (Vista and 8 - 64 / CS6) with same result!
    Is it a bug (known?) or am I doing something wrong?!
    <product version="8" maxversion="8" primary="true" name="InDesign" platform="win" bit="64"/>
    Any idea would be appreciated, thx, mim

    The bit attribute means the Win32 or Win64 version of the product for which this extension can be installed. It has nothing to do with the Windows OS architecture. Since InDesign CS6 has noly 32 bit version, you don't have to specify bit as "64", even if you are using Windows 64 bit.
    Starting from CC, InDesign has both 32 bit and 64 bit version on Windows. But they have different product name, "InDesign" and "InDesign64" respectively. So if you only want to create the extension for 64 bit InDesign CC, you can specify:
    <product version="9" name="InDesign64" />
    The "primary" attribute is no longer used on CC. The product name of InDesign on Mac is still "InDesign", so "platofrm" and "bit" attributes are unnecessary to be specified in this case.

Maybe you are looking for

  • BRARCHIVE fails with BR0017E error message: "off line redo log not found"

    After upgrade, archive format was changed to introduce resetlogs id in archive log file name Archive destination            /oracle/GDD/oraarch/GDDarch Archive format                 %t_%s_%r.dbf NOTE: %s log sequence number, %t thread number, %r res

  • IPhoto to Aperture 3 import - not all photos get imported...

    Hello - My library is not huge, only about 8000 photos. Just bought Aperture 3 and imported my iPhoto library into A3. Seemed to go without issues. Today, as I re-organize a few folders, projects, etc., I realize that not all the photos were imported

  • Audio conferencing through MSN?

    Is there anyway to do this?

  • Table in XMLP not populating with all rows

    I am creating a letter template with a table using XMLP where a table should be populated with an employee's current benefit elections. An employee could have between one and three rows of data. For each employee I can get the first row of data to po

  • Cannot download from camera

    I have a Panasonic analog camcorder. I purchased a Daystar XLR8 video capture to transfer video but nothing is happening. Any suggestions?