Assign a value to a populated table cell [in BULK]

Hi all
I have a problem by assigning a value to a populated table to COLLECT LOOSE .
I can reproduce the problem with this
CREATE TABLE TEST_TABLE (
value1 NUMBER,
value2 NUMBER
);

INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
INSERT INTO test_table VALUES(1,1);
And it's the anonymous PL/SQL block that gives me problems:
DECLARE
  SUBTYPE t_rec IS TEST_TABLE%ROWTYPE;
TYPE records_table IS TABLE OF t_rec;
  elist RECORDS_TABLE;
  CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20;
BEGIN
  OPEN table_cursor;
  FETCH table_cursor BULK COLLECT INTO elist;
    FOR j IN 1..elist.COUNT
    LOOP
      elist(j)(1) := elist(j)(1) +1;
    END LOOP;
  CLOSE table_cursor;
END; 
The error is
ORA-06550: line 13, column 7:
PLS-00308: this construct is not allowed as the origin of an assignment
ORA-06550: line 13, column 7:
PL/SQL: Statement ignored
06550. 00000 -  "line %s, column %s:\n%s"
*Cause:    Usually a PL/SQL compilation error.
*Action:
So they do not compile because of this line of code:
enclose (j) (1): = enclose (j) (1) + 1;

Why it does not work?

If I try to do, works perfectly:
DECLARE
TYPE v_num_table
IS
  TABLE OF NUMBER;
TYPE v_2_num_table
IS
  TABLE OF v_num_table;
  v_nums V_2_NUM_TABLE := V_2_NUM_TABLE();
BEGIN
  v_nums.EXTEND;
  v_nums(1) := v_num_table();
  v_nums(1).EXTEND;
  v_nums(1)(1) := 1;
  v_nums(1)(1) := v_nums(1)(1) +1;
  dbms_output.put_line(v_nums(1)(1) );
END;
Published by: user10396517 on 2.35 2-mar-2012

Variable "enclose" is an archival collection, so access you an individual field of an element of the given collection by specifying the domain name, not its position:

DECLARE
  SUBTYPE t_rec IS TEST_TABLE%ROWTYPE;
  TYPE records_table IS TABLE OF t_rec;
  elist RECORDS_TABLE;
  CURSOR table_cursor IS SELECT * FROM TEST_TABLE WHERE rownum <= 20;
BEGIN
  OPEN table_cursor;
  FETCH table_cursor BULK COLLECT INTO elist;
    FOR j IN 1..elist.COUNT
    LOOP
      elist(j).value1 := elist(j).value1 + 1;
    END LOOP;
  CLOSE table_cursor;
END;

Your second example is different because you are dealing with a collection of collections.

Tags: Database

Similar Questions

  • Multiple values in a single Table cell

    Hello

    I have a requirement of the customer. I need to show multiple values within a table cell

    Example of

    Location City Shop
    NorthCity AHS-200, SH-210, SH310
    SouthCity BSH - 100, SH341
    EastCity CSH-20

    But my table shows repeating cell as follows.

    Location City Shop
    NorthCity ASH-200
    NorthCity ASH-210
    NorthCity ASH310
    SouthCity BSH-100
    SouthCity BSH341
    EastCity CSH-20

    So I need your help to show repeated STORE name in a single column of the Table.

    Thank you

    Try this

    EVALUATE_AGGR ('LISTAGG (%1, %2) within THE GROUP (ORDER BY DESC %3)', TableName.ColumnName, ',', TableName.ColumnName)

  • How to assign values to the nested table and passes as a parameter for the procedure?

    How to assign values to the nested table and passes as a parameter for the procedure?

    Here are the object and its type

    create or replace type test_object1 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type1 is table of the test_object1;


    create or replace type test_object2 as an object
    (
    val1 varchar2 (50).
    val2 varchar2 (50).
    VARCHAR2 (50) val3
    );


    create or replace type test_type2 is table of the test_object2;


    GRANT ALL ON test_object1 to PUBLIC;


    GRANT ALL ON test_type1 to PUBLIC;


    GRANT ALL ON test_object2 to PUBLIC;


    GRANT ALL ON test_type2 to PUBLIC;

    Here is the table object type:

    create the table test_object_tpe
    (
    sl_num NUMBER,
    Description VARCHAR2 (100),
    main_val1 test_type1,
    main_val2 test_type2
    )


    NESTED TABLE main_val1 STORE AS tot1
    NESTED TABLE main_val2 STORE AS earlier2;


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

    Here is the procedure that inserts values into the nested table:

    PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
    Description in VARCHAR2,
    p_main_val1 IN test_type1,
    p_main_val2 IN test_type2
    )
    IS
    BEGIN

    FOR rec in p_main_val1.first... p_main_val1. Last
    LOOP

    INSERT INTO xxdl.test_object_tpe
    (
    sl_num,
    Description,
    main_val1,
    main_val2
    )
    VALUES
    (
    sl_num
    description
    test_type1 (test_object1)
    p_main_val1 .val1 (CRE),
    p_main_val1 .val2 (CRE),
    p_main_val1 .val3 (rec)
    )
    )
    test_type2 (test_object2 (p_main_val2 .val1 (CRE),
    p_main_val2 .val2 (CRE),
    p_main_val2 .val3 (rec)
    )
    )

    );

    END LOOP;

    commit;

    END INSERT_TEST_DATA;

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

    Here are the block anonymoys what values attributed to the object type and pass values in the procedure:

    Set serveroutput on;

    declare

    p_sl_num NUMBER: = 1001;
    p_description VARCHAR2 (50): = 'Test Val1;

    inval1 test_type1: = test_type1();
    inval2 test_type2: = test_type2();

    Start


    inval1 (1) .val1: = "testx1";
    inval1 (1) .val2: = "testx2";
    inval1 (1) .val3: = "testx3";

    inval2 (1) .val1: = "testy1";
    inval2 (1) .val2: = "testy2";
    inval2 (1) .val3: = "testy3";

    CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
    Description = > p_description,
    p_main_val1 = > inval1,
    p_main_val2 = > inval2
    );

    end;
    /
    Someone can correct me.

    Thank you
    Lavan

    Thanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
    >
    How to assign values to the nested table and passes as a parameter for the procedure?
    >
    Well you do almost everything bad that could be hurt.

    Here is the code that works to insert data into your table (the procedure is not even necessary).

    declare
    p_sl_num NUMBER := 1001;
    p_description VARCHAR2(50) := 'Testing Val1';
    inval1 test_type1 := test_type1();
    inval2 test_type2 := test_type2();
    begin
    inval1.extend();
    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    inval2.extend();
    inval2(1) := test_object2('testy1', 'testy2', 'testy3');
    
    INSERT INTO test_object_tpe
    (
    sl_num,
    description,
    main_val1,
    main_val2
    )
    VALUES
    (p_sl_num, p_description, inval1, inval2);
    commit;
    end;
    /
    

    See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA

    1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)

    inval1(1).val1 := 'testx1';
    

    Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element

    inval1.extend();
    

    And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
    If you can not do

    inval1(1).val1 := 'testx1';
    

    You must create an instance of 'test_object1 '.

    inval1(1) := test_object1('testx1', 'testx2', 'testx3');
    

    And so on for the other collection

    You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.

  • the display of ssize_t value in table cell

    Hello

    I want to display a number of type ssize_t in a digital table cell. In the user interface editor, the cell has been set to intptr_t.

    Runs the code in debug64 works fine, in debugging I get the error message:

    FATAL RUN - TIME ERROR: Invalid argument type: found "int", "__int64" expected.

    I have to add: in the user interface editor, I created the table with one row only, I have add as many rows programmatically using InsertTableRows (but the cell types need to be inherited). The error appears when filling out the cell in the last row.

    Ideas?


  • How to disable the change (the value read-only) on an editable Table cell?

    Hi friends
    How to disable the change on an editable on certain conditions Table cell?
    are there example links?
    concerning

    Published by: sak on December 22, 2009 11:28

    No, in the apex_item attributes for example

    select
      APEX_ITEM.CHECKBOX(1,empid,nvl(empid,'readonly')) test
    from emp
    

    Shunt

  • access to table cells

    Hello

    Could someone please help me understand how to access the cells in a table (to do)?  I have a report with a table full of a channel.  In a column, it shows a list of names (which come from a channel).  I have another string with a list of colors and I want to associate each name in the table with a color of the second round. I tried unsuccessfully to access even a cell using D2TabRow and D2TabCol and the content...

    Any help is appreciated

    Thank you

    Hi Muskeg,

    Edna has sent two times it shows the only way to change the font of the text in individual table cells properties.  You create, save and call a UserCommand, so is not simple.  The main problem you use is that the table in the REPORT object does not generally contain cells.  If you happen to have chosen a column type in the 'list of text', then you can access the contents of individual table cells, but otherwise, your only options are to get and set the values outside the table that the table is referencing - be they channel values or the values of variables or expressions.

    The easiest option is to get/set of string values and assign each column of the table or row to display the channel values.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • table cell shift problem

    Get a weird selection indicator displacement effect in the cells when using tables in LV 2013 (32) on Win 7 (64).   Hesitate to call it a "scroll" because that which has other meanings in the context of the table.

    Click on the letters in the attached VI to see - same effects if the table is in a VI running or not.

    + clicking on 'A' has no effect.  You remove 'A', the cell to move.

    + clicking on one of the cells located below "A" act as above

    + clicking on the header cell 'x' causes a big drift.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the cell of the table "y" causes a big bend on the side.  Put the other values in the cell has other effects (some travel a lot, some not at all)

    + clicking on the "z" table cell is not moving.  You delete 'z', a big bend on the side

    + I noticed the change which occurs when you remove "A" stops at the same place in the landscape as if you

    Comments:

    + Seems to be related to the cells to justify = center.

    + Shifting is always is from right to left.

    + I noticed the change which occurs when you remove "A" stops at the same horizontal location as if you click on 'y '.

    + occurs at least two different machines from different mfg both 2013-32 running on Win7-64.

    In the case where you are still interested, see 5 message in this thread.

  • How can I write in a table cell (row, column appear) in a databae?

    How can I write in a table cell (row, column appear) in a database using LabVIEW Database Toolkit? I use Ms Access. Suppose I have three columns in a table, I write 1 row of the 1st column, then 1st rank of the 3rd column. The problem I have is after writing the 1st column of 1st row, the reference goes to the second row, and if I write in the 3rd column, he goes to the 2nd row 3rd column. Any suggestion?

    When you perform a SQL INSERT command, you create a new line. If you want to change an existing line, you must use the UPDATE command (i.e. UPDATE tablename SET column = value WHERE some_column = some_value). The some_column could be the unique ID of each line, date and time, etc.

    I don't know what is the function to use in the Toolbox to execute a SQL command, since I do not use the Toolbox. Also, I don't understand why you don't do a single INSERT. It would be much faster.

  • How to fill the value in the nested table by using the object type


    Hi gurus

    I created an object type and able to fill the values in it, now I want to create a nested table type of this object and fill it but looks like I'm doing something wrong, see my code below.

    Code example

    CREATE or REPLACE TYPE countries_o
    AS
    OBJECT
    (
    COUNTRY_ID TANK (2 BYTES),
    COUNTRY_NAME VARCHAR2 (40 BYTE),
    REGION_ID NUMBER);
    /

    create or replace type countries_t is table of the countries_o;

    /

    CREATE OR REPLACE

    ABC of the PROCEDURE

    IS

    v_print countries_t; -: = arr_countries_t('01','Aus',1);

    BEGIN

    v_print: = countries_t('01','A',11);

    DBMS_OUTPUT. Put_line (v_print. COUNTRY_ID | v_print. COUNTRY_NAME | v_print. REGION_ID);

    END;

    /

    Error

    • Error (6.3): PL/SQL: statement ignored
    • Error (6,12): PLS-00306: wrong number or types of arguments in the call to 'COUNTRIES_T '.
    • Error (7.3): PL/SQL: statement ignored
    • Error (7.32): PLS-00302: component 'COUNTRY_ID' must be declared

    Thanks in advance

    Concerning

    Muzz

    Hi user,

    Here is another method that you can try-

    CREATE OR REPLACE

    ABC of the PROCEDURE

    IS

    v_print countries_t: = countries_t (countries_o('01','A',11));

    BEGIN

    DBMS_OUTPUT. Put_line (v_print (1).) COUNTRY_ID | v_print (1). COUNTRY_NAME | v_print (1). REGION_ID); -you're accessinf the first element of the nested table, which in turn points to the object.

    END;

    In the sections of the declaration you have assigned values to the nested table.

    Kind regards
    Maxou

  • How to assign the value to the application-level element

    Hello

    I'm learning to APEX.  I use version 4.2.6.

    My question is, I set a text field called 'FINANCIAL_YEAR' in the login page.  I wanted to know how to assign this value to a text element of Application level (on page sent), so that I can get this value through at my request.

    Thank you

    -Anand

    anand_gp wrote:

    Yes, I created a 'text area' under 'HTML' in the 'Home' page  Who accepts the exercise of a table through LOV.  I intend to assign this value to a global variable so that this variable can be read in any of the application to filter the result set from different tables (not yet built the rest of the application).  To do this, I was intending to use "Shared components"-> "Elements of Application".  I'm still not quite sure how it works.

    Start by reading the documentation on elements of application.

    Go to the shared components > Application parts and create your G_FINANCIAL_YEAR item. Value Session State Protection Restricted - can not be set the browser so that the value is not editable by the user, falsification of URLS or scripts.

    On the home page, if there is not already a button to submit the value of the fiscal year, add one in the HTML area, with the Action as a submit Pageclick. Otherwise, you can do without the button and using submit Page in Page Action when the changed value select the parameter in the list so he can undergo.

    Then, in the section of the Page processing, create a calculation:

    Point Type: Application-level element

    Calculate Item: Application: G_FINANCIAL_YEAR

    Point calculation: After submit

    Type of calculation: Value of the element

    Calculation:

    Run the application, select a value in the list of the fiscal year and submit the page. Review of current session state in the viewer of session state by clicking on the link of Session in the toolbar developer. Select the Elements of Application in the view list, and then click set. The element of your application and its current value must be visible. You can now reference value throughout your application by using the appropriate syntax.

    You should also consider if a default value (for example the current year) using a calculation Application from the point of calculation on the new Instance and coordinate the application point and part of the homepage using point application as the Source of value or an expression with Source page element, the value always, replacement of value that exists in the session state.

  • With the help of several styles of paragraph in a table cell

    Hello

    I'm stuck using several styles of paragraph within a cell. I guess the solution is that I need to start a new paragraph, but so far I have not found a way to do it. When I directly in InDesign, it works fine, but I can not start a new paragraph when you use the script.

    Here's a solution I've tried:

    with {(table)

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: '1 ' Format string,

    appliedParagraphStyle: styleFormat1

    };

    .properties de.insertionPoints.item-(1) lines [0] .cells [0] = {}

    content: "\rString in size 2',

    appliedParagraphStyle: styleFormat2

    };

    }

    But until now I did not get a new paragraph. When you look at the IDMLs, you can see that InDesign adds a new paragraph inside the cell, while my code remains in the same paragraph.

    Here the IDML result when I do in InDesign:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format1" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    And here is that when I use the script:

    "< cell auto ="ue0ie4i0"Name =" "0:0" RowSpan = "1" ColumnSpan = "1" AppliedCellStyle = "CellStyle / $ID / [no]" AppliedCellStylePriority = "0" >

    < ParagraphStyleRange AppliedParagraphStyle = "ParagraphStyle/Format2" >

    < CharacterStyleRange AppliedCharacterStyle = "CharacterStyle / $ID / [no style character]" >

    < content > string to Format 1 < / content >

    < Br / >

    < content > string to Format 2 < / content >

    < / CharacterStyleRange >

    < / ParagraphStyleRange >

    < / cell >

    It is therefore quite clear my script is not adding a new paragraph. Any ideas how to get a new paragraph so I can use more than one paragraph style?

    I don't have test nore debug your code, but I suggest you another method to apply the content and style of two paragraphs. Do not use a with statement.

    What is your version of InDesign?

    Example:

    // Add new document:
    var doc = app.documents.add();
    // Add two paragraph styles:
    var paraStyle1 = doc.paragraphStyles.add({name : "ParaStyle-1" , pointSize : 20});
    var paraStyle2 = doc.paragraphStyles.add({name : "ParaStyle-2" , pointSize : 15});
    
    // Add a new text frame (default is on page 1):
    var newTextFrame = doc.textFrames.add();
    newTextFrame.geometricBounds = [0,0,"150mm","150mm"];
    
    // Add a table to this text frame:
    var table = newTextFrame.tables.add
    (
        {
            bodyRowCount : 4 ,
            columnCount : 3 ,
            width : "150mm"
        }
    
    );
    
    // Assign the contents as array:
    // The fisrt and only entry in this array will give the first cell its contents:
    table.contents =
    [
        "Paragraph 1"+"\r"+"Paragraph 2"
    ]
    
    // Assign the formatting of the two paragraphs:
    table.cells[0].paragraphs[0].appliedParagraphStyle = paraStyle1;
    table.cells[0].paragraphs[1].appliedParagraphStyle = paraStyle2;
    

    Strategic outcome with InDesign CS6 Mac OS x 10.6.8 v8.1.0:

    Hope, that helps.
    Uwe

  • Assign a value of zero for no. selected lines

    Try to find a way to assign a value to null if my account has no line.

    What I have right now is:
    CREATE OR REPLACE FUNCTION count_deductions (empno IN emp.empno%TYPE)
    RETURN NUMBER
    IS
      ded_count      NUMBER(2);
    BEGIN
      SELECT count(deduction_amount)
      INTO   ded_count
      FROM   emp_deductions
      WHERE  fk_empno = empno;
    EXCEPTION 
      WHEN NO_DATA_FOUND THEN
        ded_count :=0;
      RETURN ded_count;
    END;
    /
    Have tried different ways but I still get the message:
    SQL > select * from show_deduction_v where empno = 7169;

    no selected line

    Instead of the zero value by filling in the field.

    Ok. So the problem is that the view returns no rows. It has nothing to do with the service. The function returns 0 if there is no such thing as the EMPNO spent. The problem is that there is no line in the EMP with a 7169 EMPNO. This means that the function is never called.

    Why do you want the view to return a row for an EMPNO that does not exist? Is there a table somewhere in the database where a 7169 EMPNO is? If so, your vision may outer join to that table.

    Justin

  • ADF: Assigning the value of column VO to OutputText.

    Hi all

    I have a VO who im showing as ADF read Table only. And one column that VO should be included outside of this table, I mean, I don't want to include this column in the table that I want to assign the value of the column to Text output component (Active).
    I want to assign the value of the column to the output text component.
    How can I achieve this.
    I think im clear with my requirement.

    Any answer will be really grateful.

    Please read this before posting
    https://forums.Oracle.com/forums/Ann.jspa?annID=56

    am now back to the topic.

    tell as an example.
    Here, I had to employee vo drag and drop as readonly af:table employee.
    in this readonly af:table no need to show their id of employee, but you don't want to show this id used as some text output at the top / bottom of the table.
    I think reason?. as it comes to your condition.

    If am so right, moving later.
    Drag and drop the af: table without employee id. and then drag and drop the employee as af text id: output
    important: employee select id in the user interface that came out text go to partial property inspector trigger are at table.

    You may wonder why I like this mean?
    If you like this then means that move through the records of documents / select in af:table means revalent employee id get you. This way you get the desired results. :)

    Thanks & cordially
    ADF7.

  • Assigning selected value of tree to an element node

    Hi guys,.

    I want to assign the value of the node in the tree selected to a page element. This can be a text box or label (view only). How can I do? I tried to use the 'Element of Page node selected' property that is available on the attributes of the tree. But I couldn't assign the value without refreshing the entire page.
    You have an idea?

    Thank you.

    I'll assume that you have a table in your database with columns (ID, PARENT_ID, VALUE) or something like that.

    OK, first go to your region of the tree and look at the SQL query. You will see that it is link attribute. By default, link attribute is set to redirect you to another or even from one page.
    You need modify this attribute of link with something like this:

    ' javascript:pageItemValue('_||) 'VALUE ' | ')' As link

    So click on the tree node, you ask function javascript and passing as the parameter value.

    Now, you just need to be pageItemValue. Go to Edit Page, header HTML and write this function:

    You can change (P1_ITEM) at what you want.

  • Dreamweaver keeps adding an additional line in a table cell

    I'm not sure why this is happening, but for some weird reason, the second column of the first row of a table always has the text starts as if there is a blank line. I checked the code to see if something has been inserted by accident, but there is no break line or anything else between the td tag and text in my table cell. I checked the alignment and vertical alignment of the cell is set to "high".

    In the editor, everything seems normal. But once I go to see live or download the file on the web, the blank line appears in the second cell of the table.

    I think I found the problem. In Design mode in the properties box, a column has the value Format paragraph and the other was set to None. Unifying it on all of them seems to have solved the problem.

Maybe you are looking for

  • DV 1000 driver

    need help with these devices for windows 7 32 bit drivers base system device PCI VEN_1180 & DEV_0592 & SUBSYS_30A0103C & REV_0APCI VEN_1180 & DEV_0592 & SUBSYS_30A0103CPCI VEN_1180 & DEV_0592 & CC_088000PCI VEN_1180 & DEV_0592 & CC_0880 base system d

  • HP Probook s 4525: HP Probook 4525 s memory clock

    Hi guys. Recently, I did a upgrade to my Probook 4525 s. I decided to add an another ram 4 GB 1333 MHz PC3 - 10600 module for an existing (Samsung M471B5273CH0-CH9). After I did it I discovered that both modules run together @ 1066 MHz and timings ba

  • How can I move the vi FrontPanel view programmatically

    How can I move the vi FrontPanel view programmatically? I guess that there are several parameters of similar sounding to change external 'size' and 'position' of the window of the façade.  But I can't seem to find one for its internal position - that

  • IronPort SSH Keys vulnerability patch

    Hello customer is running WSA 8.8.0 - 085. In the web pages of upgrades available, we show the file "vulnerability cisco-sa-20150625-ironport Fix SSH Keys." When you try to apply it, web pages and the CLI, such as suggested by RN, it shows the patch

  • Muse Composition AutoPlay does not work when published

    I have set up a blank publication in MUSE widget to AutoPlay. It autoplays fine in preview mode, MUSE and in the preview in browser mode. But now that I published it online, it is not auto-jouer.I publish the html code in DreamWeaver and ftp to my se