How to display system date on table cells

hi all,
I would like to display the PC date onto a specified cell on a table. I have attached here my vis. I don't know how to get the date displayed at the table cell On the front panel when I run it. Please help.
Attachments:
data.vi ‏32 KB
getPCdate.vi ‏9 KB

Hi,
The table control is simply a 2D array of string. So all you need to do is to pick up the Date from the appropriate .vi and replace the array element (using replace array subset) and write the whole table back again. (Example attached for LV 6.0.x)
// it takes almost no time to rate an answer
Attachments:
Untitled_1.vi ‏13 KB

Similar Messages

  • How to display system date

    I want to display system date in portal pages. Is there any template subsitution tags or any easy way of displaying date.
    Without using 'javascript'
    Thanks
    Manjith

    You could put something like the following into a PLSQL item or a Dynamic Page portlet (between <ORACLE></ORACLE> tags) - change the date formatting and add any html/css that you need to display the date the way you want:
    DECLARE
    todaysdate VARCHAR2(12);
    BEGIN
    select TO_CHAR(SYSDATE,'MON DD, YYYY') INTO todaysdate FROM DUAL;
    htp.print(todaysdate);
    END;Note: this code could probably be simplified a bit, I just pulled this snippet out of something I use that does more than just display the sysdate.

  • How to display system date by default

    Hi,
    Please tell me how to display the default date as system date in a text box, and it should also allow me to select the date from the calendar and update.
    i tried to give'select sysdate from dual' but it dint work.
    Please help me..
    Regards,
    Pallavi

    I'm not sure what you mean.
    sysdate retrieves the current date when the script is executed (eg. when you run the report).
    Do you mean that after you change the date value in the report and submit the page, it changes back to sysdate, instead of the date you selected?
    This would be caused by an incorrect setting in the "Source Used" field.
    eg. use "Only when current value in session state is null"
    instead of "Always, replacing any existing value in the session state"

  • How to display the data at Table level though we don't have authorisations

    Hi Friends,
    While i'm trying to check the entries of a Table, it's ending up by showing status messg. as 'no authorisations to display the contents' !!!
    Even in debuggin mode, i tried by passing AUTH check (by changin subrc value), but went vain as showing same message
    Please help me out, Thanks
    Best Regards,
    Suren
    Moderator message: please do not ask how to circumvent authorization checks, rather apply for the missing roles.
    Edited by: Thomas Zloch on Dec 1, 2010 11:58 AM

    Try function module CALL_TRANSACTION_FROM_TABLE for SE16 transaction code.

  • Jstl tags to display System date.

    Hi there,
    Please let me know how to how to display system date on jsp page using jstl.
    I dont know much about jstl, and i was till now using java code in jsp instead of jstl.
    Since using java in jsp is considered a bad programing these days, I dont want to use java
    to display the date.
    Can anyone help me switch to jstl tags.
    Please help me with the date issue.

    [This will help you|http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html] learn what JSTL tags are available. Once you get that it should be relatively easy to figure out what you nee. If you have questions on a particular tag then a [Google search almost always|http://www.google.com/search?q=jstl+fmt%3AformatDate] brings up example usage.

  • How to Display multiple records in Table in VC without using BAPI.

    Hi All,
    I am working on Visual composer (NW2004s SP10). I am trying to display Poitems from BAPI_PO_GETDETAIL. I am creating my front end using VC. I have created one form and one Table where I want to display POItems. I am writing my logic of retrieving data from BAPI in CAF.I am connecting them in Guided procedures.When I run my process in Guided Procedures I am getting single row displayed in table. Can Anyone help me how to display multiple rows in table.
    Regards,
    Sheetal

    Hi Sheetal,
    if the BAPI returns a table, then you get multiple rows. From which system is the BAPI, so that I can check the BAPI to give you further information.
    Best Regards,
    marcel

  • How to retrieve multiple data from table and represent it in jsp page

    Hi
    The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field.
      <html>  function addRow()
                i++;
                var newRow = document.all("tblGrid").insertRow();
                var oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='srno"+i+"' type='text' id='srno"+i+"' size=10>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmcd"+i+"' type='text' id='itmcd"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmnm"+i+"' type='text' id='itmnm"+i+"' size='15'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='indentqty"+i+"' type='text' id='indentqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                    oCell.innerHTML = "<input name='uom"+i+"' type='text' id='uom"+i+"' size='10'><input type='hidden' name='mcode"+i+"'id='mcode"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packqty"+i+"' type='text' id='packqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packuom"+i+"' type='text' id='packuom"+i+"' size='10'><input type='hidden' name='pack"+i+"' id='pack"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='rate"+i+"' type='text' id='rate"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='dor"+i+"' type='text' id='dor"+i+"' size='0' onClick='"+putdate(this.name)+"'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='bccode"+i+"' type='text' id='bccode"+i+"' size='10'></td><input type='hidden' name='bcc"+i+"' id='bcc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='cccode"+i+"' type='text' id='cccode"+i+"' size='10'></td><input type='hidden' name='ccc"+i+"' id='ccc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='remark2"+i+"' type='text' id='remark2"+i+"' size='20'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input type='button' value='Delete' onclick='removeRow(this);' />";
               // oCell = newRow.insertCell();
               // oCell.innerHTML = "<input type='button' value='Clear' onclick='clearRow(this);' />";
            }<html>  Then this data are send to the next Servlet for adding into two table.
    My header portion data are added into one table which added only one row in table. while footer section data are added into the no of rows in another table dependent on No. of
    Rows added into jsp page.
    Here is an code for that logic.
    <html>
    ArrayList<String> mucode = new ArrayList<String>();
                                ArrayList<Integer> serials = new ArrayList<Integer>();
                                ArrayList<Integer> apxrate = new ArrayList<Integer>();
                                ArrayList<Integer> srname = new ArrayList<Integer>();
                                ArrayList<String> itcode = new ArrayList<String>();
                                ArrayList<String> itname = new ArrayList<String>();
                                ArrayList<Integer> iqnty = new ArrayList<Integer>();
                                ArrayList<String> iuom = new ArrayList<String>();
                                ArrayList<Integer> pqnty = new ArrayList<Integer>();
                                ArrayList<String> puom1 = new ArrayList<String>();
                               ArrayList<Integer> arate = new ArrayList<Integer>();
                                ArrayList<String> rdate = new ArrayList<String>();
                                ArrayList<String> bcs = new ArrayList<String>();
                                ArrayList<String> ccs = new ArrayList<String>();
                                ArrayList<String> remarkss = new ArrayList<String>();
                                //ArrayList<Integer> qtyrecs = new ArrayList<Integer>();
                                //ArrayList<String> dors = new ArrayList<String>();
                                //ArrayList<String> remarks = new ArrayList<String>();
                     String entryn = request.getParameter("entryno");       
                        String rows = request.getParameter("rows");
                        out.println(rows);  
                        //String Entryno = request.getParameter("entryno");
                       // out.println(Entryno);
                      int entryno = 0,reqqty = 0,srno = 0,deprequest = 0,rowcount = 0;
                                if(!Entryno.equals("")){
                                        entryno = Integer.valueOf(Entryno);
                                if(!rows.equals("")){
                                        rowcount = Integer.valueOf(rows);
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                serials.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                                out.println(serials.size());
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                srname.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                out.println(srname.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmcd"+i)!=null){
                                                itcode.add(request.getParameter("itmcd"+i).trim());
                                        } //out.println(itcode.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmnm"+i)!=null){
                                                itname.add(request.getParameter("itmnm"+i).trim());
                                        }//out.println(itname.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("indentqty"+i)!=null){
                                                iqnty.add(Integer.valueOf(request.getParameter("indentqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("uom"+i)!=null){
                                                iuom.add(request.getParameter("uom"+i).trim());
                                        }//out.println(iuom.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("mcode"+i)!=null){
                                                mucode.add(request.getParameter("mcode"+i).trim());
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("packqty"+i).equals("")){
                                          pqnty.add(0);
                                        }else
                                            pqnty.add(Integer.valueOf(request.getParameter("packqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("pack"+i)!=null){
                                                puom1.add(request.getParameter("pack"+i).trim());
                                       }else
                                        puom1.add("");
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i).equals("")){                                     
                                            arate.add(0);
                                        }else
                                        arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));   
                     /* for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i)!=null){
                                                arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));
                              for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dor"+i)!=null){
                                                try{
                                                        rdate.add(dashdate.format(slashdate.parse(request.getParameter("dor"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                                        }else
                                           { rdate.add("");}
                                   for(int i=1;i<=rowcount;i++){
                                 if(request.getParameter("bcc"+i)!=null){
                                                bcs.add(request.getParameter("bcc"+i).trim());
                                        }out.println(bcs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("ccc"+i)!=null){
                                                ccs.add(request.getParameter("ccc"+i).trim());
                                        }out.println(ccs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                    out.println("remark2");
                                        if(request.getParameter("remark2"+i)!=null){
                                                remarkss.add(request.getParameter("remark2"+i).trim());
                                        }out.println(remarkss.get(0));
                        ArrayList<String> Idate = new ArrayList<String>();
                        for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dateindent"+i)!=null){
                                                try{
                                                        Idate.add(dashdate.format(dashdate.parse(request.getParameter("dateindent"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                    String Rdate = dashdate.format(new java.util.Date());
                     String tdate = dashdate.format(new java.util.Date());    
                     // String Indentdate = dashdate.format(new java.util.Date());
                   //  String ApprovedT1 = dashdate.format(new java.util.Date());
                   //  String ApprovedT2 = dashdate.format(new java.util.Date());
                       // String ApprovedT1=" ";
                        //String ApprovedT2="";*/
                    String ApprovedT1= dashdate.format(new java.util.Date());
                   out.println (ApprovedT1);
                      String ApprovedT2=dashdate.format(new java.util.Date());
                       out.println(ApprovedT2);
                    String Indentdate=(dashdate.format(slashdate.parse(request.getParameter("dateindent").trim())));
                       out.println(Indentdate);
                        String Cocode ="BML001";  
                        out.println(Cocode);
                        String Deptcode = request.getParameter("dept1");
                        out.println(Deptcode);
                        String Empcode = request.getParameter("emp");
                        out.println(Empcode);
                        String Refno =request.getParameter("rtype"); 
                         out.println(Refno);
                        String Divcode = request.getParameter("todiv1");
                        out.println(Divcode);
                        String Usercode = "CIRIUS";    
                         String Whcode = request.getParameter("stor");
                        out.println(Whcode);
                        // String Itemgroupcode = request.getParameter("");
                         String Itemgroupcode ="120000";
                         out.println(Itemgroupcode);
                        String Supplytypecode = request.getParameter("stype");
                        out.println(Supplytypecode);
                        String Delcode = request.getParameter("deliverycode");
                        out.println(Delcode);
                        String Itemclass="WS";
                        out.println(Itemclass);
                        // String Itemclass = request.getParameter("iclass");
                       // out.println(Itemclass);
                        String unitcode = request.getParameter("uni");
                        out.println(unitcode);
                         String Todivcode = request.getParameter("todiv1");
                        out.println(Todivcode);
                        String Appxrate = request.getParameter("rate");
                        out.println(Appxrate);
                        String Srno = request.getParameter("srno");
                        out.println(Srno);                
                    /*    String Indqty = request.getParameter("indentqty");
                      out.println(Indqty);*/
                  String Itemcode = request.getParameter("itmcd");
                       out.println(Itemcode);
                       String Othersp = request.getParameter("remark1");
                        out.println(Othersp);
                        String Reqdt = request.getParameter("dor");
                        out.println(Reqdt);
                        String Munitcode = request.getParameter("mcode");
                        out.println(Munitcode);
                        String Packqty = request.getParameter("packqty");
                        out.println(Packqty);               
                        String Packuom = request.getParameter("pack");
                        out.println(Packuom);
                        String Remark2 = request.getParameter("remark2");
                        out.println(Remark2);
                        String BC = request.getParameter("bcc");
                        out.println(BC);
                        String CC = request.getParameter("ccc");
                        out.println(CC);
                        try{
                            st=connection.createStatement();
                            connection.setAutoCommit(false);
                            String sql="INSERT INTO PTXNINDHDR(COCODE,DEPTCODE,EMPCODE,APPROVEDT1,APPROVEDT2,INDDT,ENTRYNO,REFNO,REMARKS,DIVCODE,USERCODE,WHCODE,ITEMGROUPCODE,SUPTYPECODE,DELCODE,UNITCODE,TODIVCODE,ITEMCLASS)VALUES('"+Cocode+"','"+Deptcode+"','"+Empcode+"','"+ApprovedT1+"','"+ApprovedT2+"','"+Indentdate+"',"+Entryno+",'"+Refno+"','"+Othersp+"','"+Divcode+"','"+Usercode+"','"+Whcode+"','"+Itemgroupcode+"','"+Supplytypecode+"','"+Delcode+"','"+unitcode+"','"+Todivcode+"','"+Itemclass+"')";
                            out.println(sql);
                            st.addBatch(sql);
                            for(int i=0;i<serials.size();i++){
                                out.println("Inside the Statement");
                                String query3="test query for u";
                                out.println(query3);
                               String queryx="Insert into PTXNINDDTL(APXRATE,ENTRYNO,BRKNO,INDQTY,ITEMCODE,OTHERSPFCS,MUNITCODE,PACKQTY,PACKUOM,REMARKS,DIMSUBGRPCODE,DIMCODE,REQDT)VALUES("+arate.get(i)+","+entryno+","+srname.get(i)+","+iqnty.get(i)+","+itcode.get(i)+",'"+Othersp+"','"+mucode.get(i)+"',"+pqnty.get(i)+",'"+puom1.get(i)+"','"+remarkss.get(i)+"','"+bcs.get(i)+"','"+ccs.get(i)+"','"+rdate.get(i)+"')";
                               out.println(queryx);
                                st.addBatch(queryx);
                           int[] result=st.executeBatch();
                           connection.commit();
                           for(int k=0;k<result.length;k++)
                           out.println("rows updated by "+(k+1)+"insert sta:"+result[k]+"");
                        catch(BatchUpdateException bue)
                        out.println("error1;"+bue+"");
                        catch(SQLException sql)
                        out.println("error2;"+sql+"");
                        catch(Exception l)
                        out.println("error3;"+l+"");
    </html>
       Now I looking for to retrieve this footer section data available in multiple rows from footer table and present it in jsp page .
    I am finding difficulties in how to show this multiple row data for dynamic no of rows .i.e. variable no. of rows.
    I have able to show the data in Header portions of page in this ways
    here i am adding the part of code which shows the data from header part of table i.e from Header table
      <html>
    <h2 align="center"><b>Indent Preparation</b></h2>
        <div align="left">
            <table width="849" border="0" cellspacing="3" cellpadding="3" align="center">
                <tr>
                    <td ><div align="left"><b>Indent No.</b></div></td>
                    <td ><label>
                            <input name="indentno" type="text" id="indentno" size="15" value="" /><input type="hidden" name="no" id="no">
                    </label></td>
                    <td ><div align="center"><strong>Indent Date</strong></div></td>
                    <td ><label>
                            <div align="center">
                                <input name="dateindent" type="text" id="dateindent"value="<%=date1%>"/><input type="hidden" name="no" id="no">
                            </div>
                    </label></td>
                    <td> </td>
                    <td><div align="right"><strong>Entry No.</strong></div></td>
                     <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
            <td><input type="text" value="<%=hdrcode.get(3)%>" size="10"></td>
    <%}else{%>
                   <td><input type="text" name="entryno" id="entryno" value="<%=entryNo%>"/></td>
                             <%}%>
                            <div align="right"></div>
                </tr>
                <tr>
                    <td><b>Division</b></td>
                    <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(9)%>" size="20"</td>
    <td><input type="hidden" name="div1" id="div1" value='<%=hdrcode.get(10)%>'></td>
    <%}else{%>
                   <td><input type="text" name="div" id="div" /></td>
                   <td><input type="hidden" name="div1" id="div1" /> </td>
              <%}%>
                    <td> </td>
                    <td> </td>
                    <td><div align="right"><strong>Unit</strong></div></td>
                   <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(14)%>" size="20"</td>
    <td><input type="hidden" name="uni" id="uni" value='<%=hdrcode.get(12)%>'></td>
    <%}else{%>
                   <td><input type="text" name="unit" id="unit" /></td>
                   <td><input type="hidden" name="uni" id="uni" /> </td>
              <%}%>
                </tr>
                <tr>
    </html>
      Any suggestion on any above works is highly appreciated.
    Thanks and regards
    harshal

    Too much code. It's also not well intented nor formatted. I don't see a question either or it got lost in that heap of unformatted code.
    I will only answer the question in the thread's subject:
    How to retrieve multiple data from table and represent it in jsp pageTo retrieve, make use of HttpServletRequest#getParameterValues() and/or #getParameter().
    To display, make use of JSTL's c:forEach.

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

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

    How can I write into a table cell (row, column are given) in a database using LabVIEW Database Toolkit? I am using Ms Access. Suppose I have three columns in a table, I write 1st row of 1st column, then 1st row of 3rd column. The problem I am having is after writing the 1st row 1st column, the reference goes to second row and if I write into 3rd column, it goes to 2nd row 3rd column. Any suggestion? 
    Solved!
    Go to Solution.

    When you do a SQL INSERT command, you create a new row. If you want to change an existing row, you have to 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 row, a date/time, etc.
    I have no idea what function to use in the toolkit to execute a SQL command since I don't use the toolkit. I also don't understand why you just don't do a single INSERT. It would be much faster.

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

  • How to display icon status in table control

    hi, i trying to display icon in table control its not displaying
    i given below statment.
    DATA: BEGIN OF WA_MARA,
            ICON1(4) TYPE C,
             END OF WA_MARA.
         INCLUDE <list>.
    MOVE ICON_GREEN_LIGHT TO IT_MARA-ICON1.
    APPEND IT_MARA..
    when i debugging it display green icon but after run the program its display ' @08@ '   in table control.
    how to display green icon in table control help me.

    Hi,
    check the link:
    Table control in custom infotypes

  • Displaying of image in table cells

    Hi,
    I have a requirement where i need to display an image in table cell editor. Can anyone please tell how to do this.
    Thank You,
    Madhavi

    Hi
    The link is related to the same code as well..
    First copy all your images into "project/src/mimes/components/<packagename>"
    1) First create a new column for image and insert Child "Image" UI Element
    2) Create a Context in a view in which you are using Image UI Element
    3) Value Node
    Name : Image
    Cardidality : 1..1
    4) create 2 Value Attributes
    4)a ImageAlt (Calculate property - true)
    4)b ImageSrc (Calculate property - true)
    5)Bind the properties of Image
    alt - Image.ImageAlt
    source - Image.ImageSrc
    6) in getImageSrc()
    //according to your condition use your image
    retrun "XX.gif"
    7) in getImageAlt()
    return "Image Not Available"
    Case 2 :
    1) Add a new String attribute to your existing context
    2) Right click on your table in RootUIElememntContainer
    3) Edit Sturcture Binding
    4) Select the context which you modified , Select next
    5) in the next step for the newly created attribute select imageUIElement as type
    If you want to use that in wdDoinit()
    bind the two string value attributes to alt and source properties of ImageUIElement and write the following code
    in doinit
    wdContext.currentContextElement.set<src>("img1.gif") ;
    wdContext.currentContextElement.set<alt>("Image not found") ;
    Best Regards
    Chaitanya.A

  • How to display retrieved data from DB on web page

    Dear all,
    how to display retrieved data from oracle database on web page,Does anyone can give me an simple example?
    thanks
    WJ

    Hi,
    I use JRun tags but you can use Oracle tags or just JDBC... First u need to install jdbs connection and set e connection by using JMC (For JRun) named nomad.
    U can also try the link below for JRun tags..
    http://wds.its.uiowa.edu/cache/docs/jrun/html/JRun_Custom_Tag_Library/contents.htm
    <%@ page import="java.sql.*,javax.sql.*,java.text.*,allaire.taglib.*" %>
    <%@ taglib uri="jruntags" prefix="jrun" %>
    <%@ page contentType="text/html; charset=ISO-8859-9" %>
    <html>
    <head>
    <title> Test Page </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    </head>
    <body>
    <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=15 TOPMARGIN=20 >
    <jrun:sql datasrc="nomad" id="q1">
    select empno,
         ename
    from emp
    order by ename
    </jrun:sql>
    <center>
    <table border = 0 cellpadding = 3 cellspacing = 1>
         <th>EmployeeNo</th><th>Name</th>
    <jrun:param id="q1" type="QueryTable"/>
    <jrun:foreach group="<%= q1 %>">
                   <tr>
                   <td> <%= q1.get(1) %> </td>
                   <td> <%= q1.get(2) %> </td>
                   </tr>
    </jrun:foreach>
    </table>
    </center>
    </body>
    </html>
    ----------------------

  • How to display no data found in RTF template ? XML Publisher

    Hi
       I have xml file, how to display no data found in RTF template ? XML Publisher ?
    This is the XML File
    <?xml version="1.0" encoding="UTF-8"?>
    <INVALIDSERIALPRODUCT>
    <P_ORG_CODE></P_ORG_CODE><P_DATE_RANGE_FROM></P_DATE_RANGE_FROM><P_DATE_RANGE_TO></P_DATE_RANGE_TO><P_ITEM_NUMBER>VIR</P_ITEM_NUMBER><P_LOT_NUMBER></P_LOT_NUMBER><P_RMA_NUMBER_FROM></P_RMA_NUMBER_FROM><P_RMA_NUMBER_TO></P_RMA_NUMBER_TO><P_CUSTOMER_NAME></P_CUSTOMER_NAME><P_EMAIL></P_EMAIL>
    <G_SNQ>
    <USER_NAME>NSAWHNEY</USER_NAME>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:52:23.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000016</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:53:06.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>011000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:09:16.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number does not exist in Axway Track-n-Trace</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000021</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:11:09.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:46:04.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:08:21.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>00000000004 </SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Unknow Error </REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000101</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T19:32:00.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000107</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T02:49:40.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000092</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T07:52:22.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000031</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:24:27.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000034</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:30:28.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Catchall fault scope has been executed</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000010</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T03:36:18.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000158</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T04:19:48.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    </G_SNQ>
    </INVALIDSERIALPRODUCT>
    thanks
    nks

    This is the General XML forum.
    The homepage description says :
    Discussion of the general XML language, standards (XSLT, XQuery, XMLSchema, etc.) and application management issues, suggestions and tips.
    The BI Publisher forum is here :BI Publisher
    So please mark this post as answered and ask again over there.

  • How can I load data into table with SQL*LOADER

    how can I load data into table with SQL*LOADER
    when column data length more than 255 bytes?
    when column exceed 255 ,data can not be insert into table by SQL*LOADER
    CREATE TABLE A (
    A VARCHAR2 ( 10 ) ,
    B VARCHAR2 ( 10 ) ,
    C VARCHAR2 ( 10 ) ,
    E VARCHAR2 ( 2000 ) );
    control file:
    load data
    append into table A
    fields terminated by X'09'
    (A , B , C , E )
    SQL*LOADER command:
    sqlldr test/test control=A_ctl.txt data=A.xls log=b.log
    datafile:
    column E is more than 255bytes
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)
    1     1     1     1234567------(more than 255bytes)

    Check this out.
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch06.htm#1006961

Maybe you are looking for

  • Getting payload data in alert category

    Is there anyway to fetch XI payload data(IDOC number) in ALRTCATDEF along with other container variable? We have been sending email alerts without BPM(Alert rule and alert cat). Please suggest.

  • Dell Studio XPS Desktop

    Are there anymore Studio XPS desktop? Im pretty crappy with computers xD so idk the original name or w.e... It was on dell site a few days ago....$1,149 i7 Processor.. 8GB DDR3 Ram and some other stuff...it was on sale...idk if its on bestbuy.. cuz w

  • CFREPORT Fails to produce formatted report, i.e., PDF

    What can I do to restore the CFREPORT Output to normal allowed formats? I have had reports working without error for FIVE YEARS and suddenly the now the report output for LARGE datasets produces ONLY the Symbolic language of the selected FORMAT, i.e.

  • HELP - Multiple issues showing up.

    I am just installed OSX Mavericks. My dreamweaver is not showing Form Objects under the Accessibility menu.  So I decided to try to re-download dreamweaver.  But my Adobe Application Manager will not open.  And it won't download to reinstall. HELP. M

  • Unable to open JSP files using Workshop JSP Editor 3.0

    Every time I try to open a JSP file in Workshop JSP Editor 3.0, I get the following error: Unable to create this part due to an internal error. Reason for the failure: Cannot open the specified document: null org.eclipse.ui.PartInitException: Cannot