Plz help me convert this into a table format

Hi,
private String makeInfo(Vector p_dataV)
String info = "";
if (p_dataV.size() > 0)
info += "<font size=1>";
for (int i=0; i<p_dataV.size(); i=i+2)
info += p_dataV.elementAt(i) + ": <b>" + p_dataV.elementAt(i+1) + "</b><br>";
info += "</font><br>";
return info;
I want values of p_dataV.elementAt(i) in one row &
values of p_dataV.elementAt(i+1) underneath the first row
Plz help ......
Regards,
Vishal

Come on dude, its pretty simple.
The following should work.
I've used Collection Interface rather than Vector (makes it more generic)
also used an iterator rather than a for loop.
And used a StringBuffer for building the data in the loop, rather than a String (more efficient). In Java1.5 you should probably use an enhanced for loop, and a StringBuilder.
I was also careful about the fact of bad data in the list. It won't break if you don't provide an odd number of elements.
private String makeInfo(Collection p_dataV)
String info = "";
StringBuffer topRow = new StringBuffer();
StringBuffer bottomRow = new StringBuffer();
for(Iterator it = p_dataV.iterator(); it.hasNext(); ){
  topRow.append("<td>" + it.next() + "</td>");
  if (it.hasNext()){
    bottomRow.append("<td>" + it.next() + "</td>");
info = "<table><tr>";
info += topRow.toString();
info += "</tr><tr>";
info += bottomRow.toString();
info += "</tr></table>";
return info;

Similar Messages

  • Query on FBL3N................Urgent  plz help me on this.

    Hi Friends
         Here is my query,
    I am changing the tcode FBL3N to add one extra field into it and to display data in the name1 field for the spcific entries in the selection screen,
    After selecting the All item radio button and giving the range in the select-options when i am pressing F8 it is giving me the correct output,after that when i am trying to display the name1 field by selecting the ctrl+f8 button and pressing the apply button  it is giving me the error as
    "An internal error has arisen in the form routine ANALYZE_ACT_FIELDCAT
    for program RFITEM_INC.
    This is due to inconsistencies between table T021S (special fields) and
    structure RFPOSEXT."
    I changed everything to Y* but still it is giving the error.
    Plz help me in this if someone face the same prob or someone having idea on this.
    Thanks a lot in Advance
    Mrutyun^

    Hi Mrutyunjaya,
    Did you manage to resolve this error?
    Thanks and Regards
    Pras

  • I have 13 dollars left on an apple store gift card, how can I convert this into money for my iTunes account?

    I have 13 dollars left on an apple store gift card, how can I convert this into money for my iTunes account?

    You can't.

  • Plz help me on this very simple error

    hello everybody...i'm very new to java programming...i'm unable to execute my program though it has been compiled...my coding is something like this and is very easy>>
    class abc
    public static void main(String [] args)
    System.out.println("hello");
    and at the time of execution...this error is shown up>>
    C:\Documents and Settings\Ishan\Desktop>java abc
    Exception in thread "main" java.lang.NoClassDefFoundError: abc
    Caused by: java.lang.ClassNotFoundException: abc
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: abc. Program will exit.
    plz help me on this. thanks.

    Follow the instructions in this tutorial:
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
    See problem solutions here:
    http://java.sun.com/docs/books/tutorial/getStarted/problems/index.html

  • Why can't i convert itunes into an mp3 format?

    I looked on Apple's website for information on how to convert itunes into a mp3 format on your windows pc. I followed each step. I clicked on Edit and Preferences and set it to Mp3 converter. I then selected the songs I wanted to convert into. Then I clicked Advanced. When I clicked Advanced, it showed "Create Mp3 Version" but it was grayed out. And i was unable to click it. I do not know if I did something wrong or..? Please help me out with this situation because I really want to convert it to an Mp3 format to post it on a website. Thanks.

    It doesn't work if you simply open it in a browser tab. When you download it and open in an Adobe window you will be able to click on it and type your information in the spaces provided.

  • HOW TO CONVERT STRUCTURE INTO INTERNAL TABLE

    HOW TO CONVERT STRUCTURE INTO INTERNAL TABLE

    lets declare a structure --
    data: begin of str,
          name(10),
          age(3),
          city(10),
          end of str.
    lets now convert this to an internal table itab --
    data itab like table of str.
    I hope this helps
    regards,
    -pankaj singh

  • Help Required :Excel Upload Into Oracle Table Using PLSQL Procedure/Package

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    I also Tried to Use This
    But How can i Use SQLLDR Command In Stored Procedure.
    Well IN SQL*PlUS it is successfull but in Stored Procedure /Package ,PL/SQL does not recognise the OS commands.
    So now my Question How can I recognise the SQLLDR Commnad in Stored Procedure.

  • NEED HELP - - Inputting data files into a table, Selecting from previous to put in new table, Saving new table

    I am trying to import data characters from a tab delimited file into a table in labview.  After I import the strings, I want to be able to select individual strings from the table and put into another table.  I want the item that I am selecting to appear in a text box labeled 'selected step'.  After I put all of the selected data in the new table, I want to be able to save that table in another tab delimited file (spreadsheet).  This is what I have so far.  Any help given will be GREATLY appreciated. 
    Attachments:
    Selector.zip ‏30 KB

    Hi,
         Here are modifications to your vi to do what you are describing. It helps, when trying to work through issues like these on this forum to not start a new thread with each iteration of your question. Those of us that are trying to help can follow it better if you just "Reply" to your previous thread with the new, related question. If the question is for a totally new issue then a new thread is best, but when you are working through the details of essentially the same problem it really helps us follow it if you stay in one thread, and that usually means faster answers.
    We also like it if, when an answer helps, you give us a rating (the more stars the better) as it is about all we get out of it!
    P.M.
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion
    Attachments:
    SelectorV2.zip ‏30 KB

  • Plz help me design this query

    Hi,
    Can you’ll please help me with this query.
    Here is a little bit of background:
    One title can have multiple items associated with it.
    Table: TITLE has the master list of titles. TITLE_ID is the primary key.
    Table: ITEM has the master list of all items. ITEM_ID is the primary. This table also has the TITLE_ID which stores title for this item.
    Table: ITEM_STATUS has fields ITEM_ID and STATUS_ID. This field contains statuses for items. But not all items contained in the table ITEM are in this table.
    I want to find TITLE_ID’s whose all items (all ITEM_ID in table ITEM having same value for TITLE_ID) have a particular status (for example STATUS_ID = 2) in table ITEM_STATUS.
    Let’s say TITLE_ID = 1 has 5 items in table ITEM_ID and only 4 items out of it in table ITEM_STATUS with STATUS_ID = 2, then this TITLE_ID should not come. OR
    Let’s say TITLE_ID = 1 has 5 items in table ITEM_ID and all these 5 items are in table ITEM_STATUS but only 1 has STATUS_ID = 2, then this TITLE_ID should also not come
    In the above case only if all 5 items are contained in table ITEM_STATUS have STATUS_ID = 2 then this TITLE_ID should be reported by the query.
    What should be the query like for this one, I am fairly new to SQL so plz guide me.
    Thank you,
    Raja

    I haven't tested the query below. Try it and let me know for any issues:
    SELECT     DISTINCT t.title_id
         FROM     title t,
                        item i,
                        item_status its
    WHERE     t.title_id = i.title_id
         AND     i.item_id = its.item_id
         AND     NOT EXISTS     (
                                                           SELECT 1
                                                                FROM item_status its1
                                                           WHERE its1.item_id = i.item_id
                                                                AND status_id <> 'YOUR_ITEM_STATUS'
                                                      )

  • Plz help me with this data insertion code

    Hi,
    I am listing a code below ,I am able to insert only one row of value.
    Then i get SQLException.General Exception and a Lock record MSAccess file is generated where .mdb file is stored.
    public void throwtodatabase()
    String gameid;
    ResultSet rs=null;
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    Statement stat3=con.createStatement();
    rs=stat3.executeQuery("select * from sudoko");
    while (rs.next()) {
    pctr=pctr+1;
    stat3.close();
    con.close();
    catch(Exception g)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,g.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con;
    con=DriverManager.getConnection ("jdbc:odbc:MyData","","");
    gameid="G00"+String.valueOf(pctr);
    PreparedStatement stat=null;
    for (int t1=1;t1<=9;t1++) {
    for (int t2=1;t2<=9;t2++) {
    stat=con.prepareStatement("Insert into Sudoko(gameid,row,col,val) values(?,?,?,?)");
    stat.setString(1,gameid);
    stat.setString(2,String.valueOf(t1));
    stat.setString(3,String.valueOf(t2));
    stat.setString(4,String.valueOf(array_map[t1][t2]));
    stat.execute();
    con.close();
    catch(Exception xd)
    JFrame ob2=new JFrame();
    JOptionPane.showMessageDialog(ob2,xd.toString(), "Message", JOptionPane.INFORMATION_MESSAGE);
    }Plz help.Thanx in advance.

    Have this stacktrace
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.executeUpdate(Unknown Source)
    at Sudoko.throwtodatabase(Sudoko.java:1120)
    at Sudoko.generate_random_boards(Sudoko.java:1064)
    at Sudoko.actionPerformed(Sudoko.java:205)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • Help on XML parsing into rdbms table

    Hi,
    I have posted here three different record, is that possible any of you give me some idea(out line) structure to get into some kind of oracle table format.
    There few number of repeating blocks, which gives all the time the sequence error or if commented out may not be working.
    I need to extract all values, but all I am expecting as a great help is some outline (atleast one column(s)) to each repeating block, then I will fill other columns
    DB Version
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE    11.1.0.7.0      Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    record 1
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <item title="496S00017" maxattempts="0">
      <itemmetadata>
        <object_id>_140939_1</object_id>
        <asitype>Item</asitype>
        <extracred>false</extracred>
        <absolutea>10.0</absolutea>
        <tornotes>a
    </tornotes>
      </itemmetadata>
      <presentation>
        <flow class="Block">
          <flow class="QUESTION_BLOCK">
            <flow class="FORMATTED_TEXT_BLOCK">
              <material>
                <mat_extension>
                  <mat_formattedtext type="HTML">What general &lt;br /&gt;&lt;br /&gt;(Select all that apply)&lt;br /&gt;        </mat_formattedtext>
                </mat_extension>
              </material>
            </flow>
          </flow>
          <flow class="RESPONSE_BLOCK">
            <response_lid ident="response" rcardinality="Multiple" rtiming="No">
              <render_choice shuffle="No" minnumber="0" maxnumber="0">
                <flow_label class="Block">
                  <response_label ident="d43d7c6bc8bb4b2fbed08fff7d99c149" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">Ensure a .&lt;br /&gt;        </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="9bc429d7a4ff44b984d5e0fc5ba75d30" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">Wear .&lt;br /&gt;        </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="76e38c48c7464e5aa76de83e575e15c4" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">Maintain .&lt;br /&gt;        </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="fbbd2d296e3d47239dd23d1371657381" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">Do .&lt;br /&gt;        </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="bcde31a42b5241bb86e52ecf5d2736d9" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">Avoid .&lt;br /&gt;    </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
              </render_choice>
            </response_lid>
          </flow>
        </flow>
      </presentation>
      <resprocessing scoremodel="SumOfScores">
        <outcomes>
          <decvar varname="SCORE" vartype="Decimal" defaultval="0.0" minvalue="0.0" maxvalue="10.0"/>
        </outcomes>
        <respcondition title="correct">
          <conditionvar>
            <and>
              <varequal respident="response" case="No">d43d7c6bc8bb4b2fbed08fff7d99c149</varequal>
              <not>
                <varequal respident="response" case="No">9bc429d7a4ff44b984d5e0fc5ba75d30</varequal>
              </not>
              <varequal respident="response" case="No">76e38c48c7464e5aa76de83e575e15c4</varequal>
              <varequal respident="response" case="No">fbbd2d296e3d47239dd23d1371657381</varequal>
              <not>
                <varequal respident="response" case="No">bcde31a42b5241bb86e52ecf5d2736d9</varequal>
              </not>
            </and>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">SCORE.max</setvar>
          <displayfeedback linkrefid="correct" feedbacktype="Response"/>
        </respcondition>
        <respcondition title="incorrect">
          <conditionvar>
            <other/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0.0</setvar>
          <displayfeedback linkrefid="incorrect" feedbacktype="Response"/>
        </respcondition>
      </resprocessing>
      <itemfeedback ident="correct" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="incorrect" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="d43d7c6bc8bb4b2fbed08fff7d99c149" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="9bc429d7a4ff44b984d5e0fc5ba75d30" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="76e38c48c7464e5aa76de83e575e15c4" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="fbbd2d296e3d47239dd23d1371657381" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="bcde31a42b5241bb86e52ecf5d2736d9" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
    </item>
    record 2
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <item title="496S00038" maxattempts="0">
      <itemmetadata>
        <object_id>_155451_1</object_id>
        <asitype>Item</asitype>
        <bbmd_questiontype>Multiple Choice</bbmd_questiontype>
        <extracred>false</extracred>
        <absolutea>10.0</absolutea>
        <tornotes>Z
    </tornotes>
      </itemmetadata>
      <presentation>
        <flow class="Block">
          <flow class="QUESTION_BLOCK">
            <flow class="FORMATTED_TEXT_BLOCK">
              <material>
                <mat_extension>
                  <mat_formattedtext type="HTML">&lt;p&gt;This next choice.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Your landmark. &lt;/p&gt;</mat_formattedtext>
                </mat_extension>
              </material>
            </flow>
          </flow>
          <flow class="RESPONSE_BLOCK">
            <response_lid ident="response" rcardinality="Single" rtiming="No">
              <render_choice shuffle="No" minnumber="0" maxnumber="0">
                <flow_label class="Block">
                  <response_label ident="0c72cf2736f54d9ab6da93555f023339" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;div&gt;&lt;embed src= &quot;@[email protected]@X@bbcswebdav/xid-1220031_1&quot; type= &quot;application/x-shockwave-flash&quot;&gt; &lt;/div&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="f27a2e848a694b1c920bf94d1e66316a" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;div&gt;&lt;embed src= &quot;@[email protected]@X@bbcswebdav/xid-1220032_1&quot; type= &quot;application/x-shockwave-flash&quot;&gt; &lt;/div&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="49a1aabd4b1e4305b38a43c50d41ba41" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;div&gt;&lt;embed src= &quot;@[email protected]@X@bbcswebdav/xid-1220033_1&quot; type= &quot;application/x-shockwave-flash&quot;&gt; &lt;/div&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="a5ff047407d741ed9ad68790332afcc9" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;div&gt;&lt;embed src= &quot;@[email protected]@X@bbcswebdav/xid-1220034_1&quot; type= &quot;application/x-shockwave-flash&quot;&gt; &lt;/div&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
              </render_choice>
            </response_lid>
          </flow>
        </flow>
      </presentation>
      <resprocessing scoremodel="SumOfScores">
        <outcomes>
          <decvar varname="SCORE" vartype="Decimal" defaultval="0.0" minvalue="0.0" maxvalue="10.0"/>
        </outcomes>
        <respcondition title="correct">
          <conditionvar>
            <varequal respident="response" case="No">49a1aabd4b1e4305b38a43c50d41ba41</varequal>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">SCORE.max</setvar>
          <displayfeedback linkrefid="correct" feedbacktype="Response"/>
        </respcondition>
        <respcondition title="incorrect">
          <conditionvar>
            <other/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0.0</setvar>
          <displayfeedback linkrefid="incorrect" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="0c72cf2736f54d9ab6da93555f023339" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="0c72cf2736f54d9ab6da93555f023339" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="f27a2e848a694b1c920bf94d1e66316a" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="f27a2e848a694b1c920bf94d1e66316a" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="49a1aabd4b1e4305b38a43c50d41ba41" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">10</setvar>
          <displayfeedback linkrefid="49a1aabd4b1e4305b38a43c50d41ba41" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="a5ff047407d741ed9ad68790332afcc9" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="a5ff047407d741ed9ad68790332afcc9" feedbacktype="Response"/>
        </respcondition>
      </resprocessing>
      <itemfeedback ident="correct" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="incorrect" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="0c72cf2736f54d9ab6da93555f023339" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="f27a2e848a694b1c920bf94d1e66316a" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="49a1aabd4b1e4305b38a43c50d41ba41" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="a5ff047407d741ed9ad68790332afcc9" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
    </item>
    record 3
    <?xml version="1.0" encoding="UTF-8"?>
    <item title="496S00070" maxattempts="0">
      <itemmetadata>
        <object_id>37041578</object_id>
        <asitype>Item</asitype>
        <qmd_instructornotes>IS
    </qmd_instructornotes>
      </itemmetadata>
      <presentation>
        <flow class="Block">
          <flow class="QUESTION_BLOCK">
            <flow class="FORMATTED_TEXT_BLOCK">
              <material>
                <mat_extension>
                  <mat_formattedtext type="HTML">&lt;font size=&quot;2&quot;&gt;Base </mat_formattedtext>
                </mat_extension>
              </material>
            </flow>
          </flow>
          <flow class="RESPONSE_BLOCK">
            <response_lid ident="response" rcardinality="Single" rtiming="No">
              <render_choice shuffle="No" minnumber="0" maxnumber="0">
                <flow_label class="Block">
                  <response_label ident="2513bfab92b14dce82f014fdb667730a" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;!mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;  </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="7498293ce4ef4891984bcdbad2bc8c1d" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;!mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt; 
    </mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="c5fb333685144ab6b35848998667239d" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;!mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
                <flow_label class="Block">
                  <response_label ident="419fa8003e4d4d128e664f0d9c9d106e" shuffle="Yes" rarea="Ellipse" rrange="Exact">
                    <flow_mat class="FORMATTED_TEXT_BLOCK">
                      <material>
                        <mat_extension>
                          <mat_formattedtext type="HTML">&lt;!mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;</mat_formattedtext>
                        </mat_extension>
                      </material>
                    </flow_mat>
                  </response_label>
                </flow_label>
              </render_choice>
            </response_lid>
          </flow>
        </flow>
      </presentation>
      <resprocessing scoremodel="SumOfScores">
        <outcomes>
          <decvar varname="SCORE" vartype="Decimal" defaultval="0" minvalue="0.0" maxvalue="10.0"/>
        </outcomes>
        <respcondition title="correct">
          <conditionvar>
            <varequal respident="response" case="No">7498293ce4ef4891984bcdbad2bc8c1d</varequal>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">SCORE.max</setvar>
          <displayfeedback linkrefid="correct" feedbacktype="Response"/>
        </respcondition>
        <respcondition title="incorrect">
          <conditionvar>
            <other/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0.0</setvar>
          <displayfeedback linkrefid="incorrect" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="2513bfab92b14dce82f014fdb667730a" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="2513bfab92b14dce82f014fdb667730a" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="7498293ce4ef4891984bcdbad2bc8c1d" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">10</setvar>
          <displayfeedback linkrefid="7498293ce4ef4891984bcdbad2bc8c1d" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="c5fb333685144ab6b35848998667239d" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="c5fb333685144ab6b35848998667239d" feedbacktype="Response"/>
        </respcondition>
        <respcondition>
          <conditionvar>
            <varequal respident="419fa8003e4d4d128e664f0d9c9d106e" case="No"/>
          </conditionvar>
          <setvar variablename="SCORE" action="Set">0</setvar>
          <displayfeedback linkrefid="419fa8003e4d4d128e664f0d9c9d106e" feedbacktype="Response"/>
        </respcondition>
      </resprocessing>
      <itemfeedback ident="correct" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="incorrect" view="All">
        <flow_mat class="Block">
          <flow_mat class="FORMATTED_TEXT_BLOCK">
            <material>
              <mat_extension>
                <mat_formattedtext type="HTML"/>
              </mat_extension>
            </material>
          </flow_mat>
        </flow_mat>
      </itemfeedback>
      <itemfeedback ident="2513bfab92b14dce82f014fdb667730a" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="7498293ce4ef4891984bcdbad2bc8c1d" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="c5fb333685144ab6b35848998667239d" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
      <itemfeedback ident="419fa8003e4d4d128e664f0d9c9d106e" view="All">
        <solution view="All" feedbackstyle="Complete">
          <solutionmaterial>
            <flow_mat class="Block">
              <flow_mat class="FORMATTED_TEXT_BLOCK">
                <material>
                  <mat_extension>
                    <mat_formattedtext type="HTML"/>
                  </mat_extension>
                </material>
              </flow_mat>
            </flow_mat>
          </solutionmaterial>
        </solution>
      </itemfeedback>
    </item>Any help would be greatly appreciated.
    Thanks,

    Hi,
    Yes, I have tried the same method. will be ok.
    But I have got another some records on the same column as follows.
    I have tried with another one xmltable with outer join(+), still not getting the actual data (null record from the original(main) table) and extra records from the new xmltable.
    Is it possible to make one or union with xmltable also can we check the node either /Item or /section exists something like that
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <section>
      <sectionmetadata>
        <object_id>317832</object_id>
        <asitype>Section</asitype>
        <instructornotes/>
      </sectionmetadata>
      <selection_ordering>
        <selection seltype="All">
          <selection_number>1</selection_number>
          <or_selection>
            <selection_metadata mdoperator="EQ" mdname="questionid">_155451_1</selection_metadata>
          </or_selection>
        </selection>
        <selection seltype="All">
          <or_selection>
            <selection_param pname="singleLink">true</selection_param>
          </or_selection>
        </selection>
      </selection_ordering>
    </section>Thanks,

  • Plz help to make this query......very urgent

    I ve two tables <br>
    <br>
    First one is <b>grn_dtl</b> containing following fields     <br> <br> <br>
    <u><b>
    item_code        ent_dt       qty    doc_no </u></b><br>
    11001318        09/09/2003   5    56300501 <br>
    11001318        11/09/2004        9    56300502 <br>
    11001318        12/05/2005       2    56300503 <br>
    11001319        22/06/2004        0    56300504 <br>
    11001320        09/06/2005        0    56300505 <br>
    11001320        11/08/2004        8    56300506 <br>
    11001320        30/05/2005       4    56300507 <br>
    11001320        21/06/2003       1    56300508 <br>
    11001321        25/09/2004       1    56300509 <br>
    11001321        15/07/2004       1    56300510 <br>
    11001321        01/08/2004       2    56300511 <br>
    11001322        02/06/2004       1    56300512 <br>
    11001322        22/06/2004        2    56300513 <br>
    11001323        12/09/2004        1    56300514 <br>
    11001323        08/05/2004        4    56300515 <br>
    11001323        17/08/2004        5    56300516 <br>
    11001323        28/06/2004        2    56300517 <br>
    <br><br>
    second one is <b>item_mst</B> containing following fields     <br>
    <br>
    <u><b>          
    item_code         description         leadtim   kanbandate</u></b><br>
    11001318           aaaaaaaaaaa            15             22/04/2004<br>
    11001319           aaaaaaaaaaa           15             02/12/2004<br>
    11001320           aaaaaaaaaaa           15             14/07/2005<br>
    11001321           aaaaaaaaaaa           15              23/02/2004<br>
    11001322           aaaaaaaaaaa           15             05/10/2004<br>
    11001323           aaaaaaaaaaa           15             17/05/2004<br>
    11001324           aaaaaaaaaaa           15             27/12/2004<br>
    11001325           aaaaaaaaaaa           15             07/08/2004<br>
    <br><br><br><b>
    From the above two tables I want the combine SQL query which will display item_code its description ,kanbandate from item_mst table and will also display the minimum ent_dt of each corresponding item_code alongwith the qty and doc_no.the item_code should not be repeated .<br>
    I want to run the query from sql query analyzer</b><br><br>
    the result should be like this<br><br>
    <b></u>item_code  desc              ent_dt      qty    doc_no</b></u>
    <br>
    11001318       aaaaaaaaaaa        09/09/2003        5        56300501<br>
    11001319       aaaaaaaaaaa        22/06/2004       0        56300504<br>
    11001320       aaaaaaaaaaa        21/06/2003       1        56300508<br>
    11001321       aaaaaaaaaaa        15/07/2004        1       56300510<br>
    11001322       aaaaaaaaaaa        02/06/2004        1        56300513<br>
    11001323       aaaaaaaaaaa        08/05/2004        4       56300515<br>
    <br>
    <br>
    plz help me out ASAP
    null
    Message was edited by:
    aanchal_2008

    can you try this,
    SELECT DISTINCT im.item_code,
    im.descR,
    gd.ent_dt,
    gd.qty,
    gd.doc_no
    FROM item_mst im,
    grn_dtl gd
    WHERE im.item_code = gd.item_code (+)
    AND NOT EXISTS (
    SELECT 'later detail'
    FROM grn_dtl gd2
    WHERE gd2.item_code = gd.item_code
    AND gd2.ent_dt > gd.ent_dt)
    ITEM_CODE DESCR ENT_DT QTY DOC_NO
    11001318 aaaaaaaaaaa 2/12/2005 6 563005
    11001319 aaaaaaaaaaa 6/22/2004 0 563005
    11001320 aaaaaaaaaaa 6/9/2005 0 563005
    11001321 aaaaaaaaaaa 12/5/2005 5 563005
    11001322 aaaaaaaaaaa 6/22/2004 2 563005
    11001323 aaaaaaaaaaa 9/12/2004 1 563005
    11001324 aaaaaa
    11001325 aaaaaa
    8 rows selected

  • Very URGENT:am not able to log in to my account on installation of OSX lion...tried to resolve this issue by calling apple support centre ,but was left in vain...am not able to access my documents nor do any work...plz help me resolve this issue asap...

    am not able to log in to my user account after installation of OSXLion,have called up the support centre many times,but was left in vain ...i belief its a simple problem ,but why is apple support center not able to help me out ...have given them all the required information with respect to everything...somebody plz help me to log in as am not able to access my docs and do any work...

    My phone works all fine when am in mumbai but as soon s i leave mumbai I am not able to make an otgoing call
    This is entirely a carrier issue.  If your carrier (airtel) doesn't provide service outside of Mumbia, this has nothing to do with your iPhone.
    i feel i need to change my brand
    This is a user-to-user tech support forum, not Apple.  No one here cares at all about your threats.
    NEVER post personal info in this public forum

  • I have problem with daq..when it is connected with laptop it asks for all the options like sampling rate etc..It displays building VI and it stops..it is not processing further..cau u plz help to solve this problem

    i hav problem with daq initialisation...plz help to solve the above mentioned issue

    Hi muthu,
    we also have a problem: to less information…
    - What is connected to your laptop?
    - What is "it" in "it displays building VI"? Do you use the DAQ Assistent ExpressVI?
    - What means "plz"?
    And could you please put less text in the title of your message and more text (with relevant information) into the message body?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Help in inserting rows into a table

    I have a table called acct_fact,
    I need to insert rows in the table using a script but the problem is there's a column called seq_nbr which has random seq nbr of 14character length like 'ZWX98MGD9MVAD6J','ZWX98MG67RVAD6J' etc.,
    While inserting rows I need to generate such seq_nbr for those columns and insert rows into the table, can I use any such mechanism in my insert query to insert such random nbr's while inserting rows into a table.
    If so please suggest me

    Hi Peter,
    Thankyou for the quick reply:)
    can you suggest me how to implement it here in my script snippet:
    while read var_acct_nbr
    do
    echo "update acct_attr set acct_attr_exp_dt ='$ExpDate' where Acct_Attr_Value_Text='15' and acct_attr_exp_dt is null and person_id='LDCarrBillAgrm' and acct_nbr='$var_acct_nbr' ;" >> ./$DirectoryName/SQLQuery_$TimeStamp.sql
    echo "insert into acct_fact values ('$var_acct_nbr','$ExpDate','$ExpTime','*seq_nbr*','N','ProjTereza','Remoção de acordo d; data de expiração: $ExpDate',null,'1','LDE',null);" >> ./$DirectoryName/SQLQuery_$TimeStamp.sql
    done < ./$DirectoryName/ExpireAccts_$TimeStamp.LOG
    the script takes each acct_nbr nbr form a input file and fires an insert statement.
    The one in bold is the column where such sequence need to be inserted.can you help me in implementing the way you suggested in my script i.e., insert statement
    Thanks in Advance:)
    Edited by: rkrish on Jun 27, 2012 3:04 AM

Maybe you are looking for