Using simple queries

This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0f375 -7fdb.html

I think your example is wrong. Based on the example search results, should all the examples state "film", not "filming" (the last 3 show filming).

Similar Messages

  • Problem occured when create a tree table for master-detail view objects using SQL queries?

    I am programming a tree table for master-detail view objects using SQL queries and these 2 view objects are not simple singel tables queries, and 2 complex SQL are prepared for master and view objects. see below:
    1. Master View object (key attribute is SourceBlock and some varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK,                   
            sum(                   
             case when cntr_list.cntr_size_q = '20'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr20 ,                   
            sum(                   
             case when cntr_list.cntr_size_q = '40'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr40 ,                   
             sum(                   
             case when cntr_list.cntr_size_q = '45'                   
                  then cntr_list.cntr_qty                   
                  else 0 end ) as cntr45                    
    FROM (       
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,       
               scn.CNTR_SIZE_Q,        
               count(scn.CNTR_SIZE_Q) AS cntr_qty        
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2       
        WHERE       
        scm.cmr_n = scn.cmr_n             
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                 
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                 
        AND scm.shift_mode_c = :ShiftModeCode                           
        AND scm.end_terminal_c = :TerminalCode      
        AND scm.start_terminal_c = yb1.terminal_c                  
        AND scm.start_block_n = yb1.block_n                  
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                  
        AND scm.end_terminal_c = yb2.terminal_c                  
        AND scm.end_block_n = yb2.block_n                  
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n           
        AND scn.status_c not in (1, 11)             
        AND scn.shift_type_c = 'V'             
        AND scn.source_c = 'S'       
        GROUP BY yb1.BLOCK_M, scn.CNTR_SIZE_Q       
    ) cntr_list       
    GROUP BY cntr_list.SOURCE_BLOCK
    2. Detail View object (key attributes are SourceBlock and EndBlock and same varaible bindings are used for this view object.)
    SELECT  cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK,                
            sum(                     
             case when cntr_list.cntr_size_q = '20'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr20 ,                     
            sum(                     
             case when cntr_list.cntr_size_q = '40'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr40 ,                     
             sum(                     
             case when cntr_list.cntr_size_q = '45'                     
                  then cntr_list.cntr_qty                     
                  else 0 end ) as cntr45                      
    FROM (         
        SELECT yb1.BLOCK_M as SOURCE_BLOCK,     
               yb2.BLOCK_M as END_BLOCK,  
               scn.CNTR_SIZE_Q,          
               count(scn.CNTR_SIZE_Q) AS cntr_qty          
        FROM  SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2         
        WHERE         
        scm.cmr_n = scn.cmr_n               
        AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')                   
        OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))                   
        AND scm.shift_mode_c = :ShiftModeCode                             
        AND scm.end_terminal_c = :TerminalCode        
        AND scm.start_terminal_c = yb1.terminal_c                    
        AND scm.start_block_n = yb1.block_n                    
        AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n                    
        AND scm.end_terminal_c = yb2.terminal_c                    
        AND scm.end_block_n = yb2.block_n                    
        AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n             
        AND scn.status_c not in (1, 11)               
        AND scn.shift_type_c = 'V'               
        AND scn.source_c = 'S'         
        GROUP BY yb1.BLOCK_M, yb2.BLOCK_M, scn.CNTR_SIZE_Q         
    ) cntr_list         
    GROUP BY cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK
    3. I create a view link to create master-detail relationship for these 2 view objects.
    masterview.SourceBlock (1)->detailview.SourceBlock (*).
    4. I create a tree table using these 2 view objects with master-detail relationship.
    When I set default value for variable bindings of these 2 view objects and the matching records exist, tree table can work well. I can expand the master row to display detail row in UI.
    But I need to pass in dymamic parameter value for variable bindings of these 2 view objects, tree table cannnot work again. when I expand the master row and no detail row are displayed in UI.
    I am sure that I pass in correct parameter value for master/detail view objects and matching records exist.
    Managed Bean:
            DCIteratorBinding dc = (DCIteratorBinding)evaluteEL("#{bindings.MasterView1Iterator}");
            ViewObject vo = dc.getViewObject();
            System.out.println("Before MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            System.out.println("Before MasterView1Iterator ShiftModeCode="+ vo.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo.executeQuery();
            System.out.println("MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
            DCIteratorBinding dc1 = (DCIteratorBinding)evaluteEL("#{bindings.DetailView1Iterator}");
            ViewObject vo1 = dc1.getViewObject();
            System.out.println("Before DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
            System.out.println("Before DetailView1Iterator ShiftModeCode="+ vo1.ensureVariableManager().getVariableValue("ShiftModeCode"));
            vo1.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
            vo1.ensureVariableManager().setVariableValue("DateTo", dateTo);
            vo1.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
            vo1.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
            vo1.executeQuery();
            System.out.println("after DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
    5.  What's wrong in my implementation?  I don't have no problem to implement such a tree table if using simple master-detail tables view object, but now I have to use such 2 view objects using complex SQL for my requirement and variable bindings are necessary for detail view object although I also think a bit strange by myself.

    Hi Frank,
    Thank you and it can work.
    public void setLowHighSalaryRangeForDetailEmployeesAccessorViewObject(Number lowSalary,
                                                                              Number highSalary) {
            Row r = getCurrentRow();
            if (r != null) {
                RowSet rs = (RowSet)r.getAttribute("EmpView");
                if (rs != null) {
                    ViewObject accessorVO = rs.getViewObject();
                    accessorVO.setNamedWhereClauseParam("LowSalary", lowSalary);
                    accessorVO.setNamedWhereClauseParam("HighSalary", highSalary);
                executeQuery();
    but I have a quesiton in this way. in code snippet, it is first getting current row of current master VO to determine if update variables value of detail VO. in my case, current row is possibly null after executeQuery() of master VO and  I have to change current row manually like below.
    any idea?
                DCIteratorBinding dc = (DCIteratorBinding)ADFUtil.evaluateEL("#{bindings.SSForecastSourceBlockView1Iterator}");
                ViewObject vo = dc.getViewObject();           
                vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
                vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
                vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
                vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
                vo.executeQuery();
                vo.setCurrentRowAtRangeIndex(0);
                ((SSForecastSourceBlockViewImpl)vo).synchornizeAccessorVOVariableValues();

  • Simple Queries on Reports

    Hi, I have some simple queries on reports, which are following. Any help is appreciated!!
    Q1. Where does following information go ??
    a. The heading that I want to print on only the first page of the Report, like Report Name,
    Company name, should go to Margin or Header or Body ?
    b. Where does the page numbers go ?
    c. Field titles/labels, that should print on the beginning of every page of the report
    Q2. How can I restrict the printing of a cloumn to once, when a same value is repeating more than once.
    This is the first column of the report, so if it's value is same in the next rows, i need to print it only once.
    Should I use format trigger or that can be simply done my setting some properties ? If format trigger,
    then how ?
    Q3. Is it possible that I have two parameters in my Parameter Form and after accepting first parameter
    value I show the the list of second parameters on the basis of first value choosen by the user ?
    e.g. If somebody chooses dept# 10, and then second field displays all the employees of dept# 10.
    Q4. Im my report, I want always a last page that is dipalying data from altogether different query which is no
    way related to my other main query. This is query is pretty simple and I just want to display the
    data always on the last page of the report. How would I handle the layout of this page ??
    Thanks!!
    Shalu

    Hi Shalu,
    Q1-
    a)If you want to Print heading on the First Page ONLY then it sholud be
    in MAIN SECTION/BODY olny.(Fields Property- Print OBject On- Should be
    First Page).
    b)Bottom-Right of the MARGIN Section.
    c)if Report Heading is in Main Section then in the layouts Main Frame,
    inside that you can keep (Field titles/labels).
    Q2- Go to Report Wizard try these two Report Style(Group Above and Group Left)
    i think this will solve your Problem...
    Q3- I thinnnnnnnk this is not possible.
    Q4- You can use Trailer Section of the Report.
    Regards,
    Ravi

  • Simple queries, but vital!!

    I have 3 very simple queries which I cannot figure out. I
    have little experience on Dreamweaver MX, and am in a position of
    having to edit and launch an existing site...
    1) I am trying to add a basic border around images and tables
    - just a thin black line to make them look neater - how do I go
    about this?
    2) to prepare for publishing, I assume I need to save all my
    pages and images in one place, and assign each link/image an
    address from my C-drive. At the moment everything is stored in, for
    instance, C:\Documents and Settings\Adam Lucas\My Documents\website
    updates\images etc - is this OK or do I need a more simple address
    to prepare for publishing?
    3) how do I go about publishing my website once all the
    finalised elements exist on my C-drive?
    any advice massively appreciated...

    > I have little experience on Dreamweaver MX,
    1. What is your knowledge level of HTML and CSS?
    2. Which Dreamweaver - is it 6.0 or 6.1? If it's the former,
    please update
    it to the latter from the updater on the Adobe site - there
    were quite a few
    quirks in the former that will make your life miserable.
    > 1) I am trying to add a basic border around images and
    tables - just a
    > thin
    > black line to make them look neater - how do I go about
    this?
    Andy has your answer - use CSS.
    > 2) to prepare for publishing, I assume I need to save
    all my pages and
    > images
    > in one place, and assign each link/image an address from
    my C-drive. At
    > the
    > moment everything is stored in, for instance,
    C:\Documents and
    > Settings\Adam
    > Lucas\My Documents\website updates\images etc - is this
    OK or do I need a
    > more
    > simple address to prepare for publishing?
    You *MUST* start with a local defined site. Do you have one?
    Have you read
    DW's F1 help about how to define a local and a remote site,
    and how to PUT
    and GET files?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "marcoppizio" <[email protected]> wrote in
    message
    news:[email protected]...
    >I have 3 very simple queries which I cannot figure out. I
    have little
    > experience on Dreamweaver MX, and am in a position of
    having to edit and
    > launch
    > an existing site...
    >
    > 1) I am trying to add a basic border around images and
    tables - just a
    > thin
    > black line to make them look neater - how do I go about
    this?
    >
    > 2) to prepare for publishing, I assume I need to save
    all my pages and
    > images
    > in one place, and assign each link/image an address from
    my C-drive. At
    > the
    > moment everything is stored in, for instance,
    C:\Documents and
    > Settings\Adam
    > Lucas\My Documents\website updates\images etc - is this
    OK or do I need a
    > more
    > simple address to prepare for publishing?
    >
    > 3) how do I go about publishing my website once all the
    finalised elements
    > exist on my C-drive?
    >
    > any advice massively appreciated...
    >

  • Extensive IO and CPU for simple queries

    Hi,
    I have a machine using oracle 9.2.0 and solaris 10.
    For every simple queries, it very big IO and a lot of CPU. This is only happend on one particular machine(We have same version db and soalris on other mahcine and it works fine).
    One example queris is when I use Enterprise Manager to get the "configuration" information of the instance,it use 50% IO. I get the trace file and tkprof as following:
    SELECT UNIQUE sp.name, sp.sid, DECODE(p.type, 1, 'Boolean', 2, 'String', 3,'Integer', 4, 'Filename', ' '), sp.value, p.issys_modifiable, p.description FROM v$spparameter sp, v$parameter p WHERE sp.name = p.name ORDER BY sp.name,sp.sid
    call count cpu elapsed disk query current rows
    Parse 4 0.02 0.01 0 0 0 0
    Execute 4 0.00 0.00 0 0 0 0
    Fetch 9 4.36 34.12 7980 0 0 783
    total 17 4.38 34.13 7980 0 0 783
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 5 (SYSTEM)
    Rows Row Source Operation
    261 SORT UNIQUE (cr=0 pr=0 pw=0 time=1214116 us)
    261 HASH JOIN (cr=0 pr=0 pw=0 time=1221296 us)
    361485 MERGE JOIN CARTESIAN (cr=0 pr=0 pw=0 time=370609 us)
    261 FIXED TABLE FULL X$KSPSPFILE (cr=0 pr=0 pw=0 time=19777 us)
    361485 BUFFER SORT (cr=0 pr=0 pw=0 time=6413 us)
    1385 FIXED TABLE FULL X$KSPPCV (cr=0 pr=0 pw=0 time=4180 us)
    1379 FIXED TABLE FULL X$KSPPI (cr=0 pr=0 pw=0 time=7001 us)
    It seems Oracle FTS the X$KSPPCV and X$KSPPI.
    Can anybody give me some suggestion to improve the performance?
    thanks.

    Is there a difference in the query plans on the two machines?
    Did you analyze the SYS and SYSTEM schemas on one system and not the other?
    Are there different initialization parameters on the two machines?
    What do you mean by "it use 50% IO"? I'm not sure what that means and I'm not sure how you're measuring that.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Can we use multiple queries on one template

    Can we use multiple queries on one template

    Hi,
    if you're using data templates for your data set, you
    can put multiple queries in the XML data template.
    The queries may then be linked (or not) by the "link
    name" tag ...
    Grtz.Following you answer here...do you know eventually how/if possible to preview a report (with XMLP Desktop) that is using data templates for the data set?
    Thanks,
    Liviu

  • XML to Nested Itab using Simple Transformation

    Hi there is there any experts there who can show me an example of Transforming a XML to a Nested Internal Table using Simple Transformation?
    I have tried this the program from the blog by
    Tobias Trapp
    <a href="/people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1:///people/tobias.trapp/blog/2005/05/04/xml-processing-in-abap-part-1
    but I have encountered this error
    Runtime Errors         ST_REF_ACCESS   
    Exception              CX_ST_REF_ACCESS
       1 <?sap.transform simple?>                                    
       2 <tt:transform template="temp1"                              
       3     xmlns:tt="http://www.sap.com/transformation-templates"> 
       4     <tt:root name="ROOT"/>                                  
       5     <tt:template name="temp1">                              
    >>>>       <tt:loop ref=".ROOT" name="a">                        
       7         <A>                                                 
       8            <name>                                           
       9              <tt:value ref="$a.name" />                     
      10            </name>                                          
      11            <ZLS>                                            
      12              <tt:loop ref="$a.zls" name="z">                
      13                <Z>                                          
      14                  <tt:value ref="$z.nummer" />               
      15                </Z>                                         
      16             </tt:loop>                                      
      17           </ZLS>                                            
      18         </A>                                                
      19       </tt:loop>                                            
      20     </tt:template>                                          
      21 </tt:transform>                                             
    Anyone knows whats wrong?

    I had to pass an XSLT program in the transformation statement.

  • Using simple functions in JSP

    Hi to all,
    I would to use simple functions in my jsp page.
    I 've created the function with the tags <%! ... %>
    My problem is that i don't succed to call there from the page.
    How i can to do ?
    I've tried also with java beans but i'm not very clever with there also so i don't can to go forward !!!
    Please help me. thanks

    Hi, a new problem rises now.
    the problem is into the method ctr_data().
    Under i put the jsp code and the error:
    Anyone can see where is the error please?
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import= "java.sql.*,  java.lang.*" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>Progetto Sofia - Registrazione utente</title>
    </head>
    <%!
    public boolean ctr_lunghezza(String s1){
        if (s1.length() == 0) return false;
        return true;
    %>
    <%!
    public boolean isLeapYear(int year) {
           if (year%400 == 0)  return true;
           if ((year%4 == 0) && (year%100 != 0))return true;
           return false;
    %>
    <%!
    public boolean ctr_data (String gg, String mm, String aa){
        int anno = Integer.valueOf(aa).intValue();
        int mese = Integer.valueOf(mm).intValue();
        int giorno = Integer.valueOf(gg).intValue();
        if ((gg.length() == 0) || (mm.length() == 0) || (aa.length() == 0))
            return false;
        if ((anno < 1905) || (anno > 2005))
            return false;
        if (mese == 2){
            if (isLeapYear(anno)){
                if (giorno > 29) return false;
            }else{
                if (giorno > 28) return false;
        if ((mese == 11) || (mese == 4) || (mese == 6) || (mese == 9)){
            if (giorno == 31) return false;
        return true;
    %>
    <%
    int flag = 0;
    String risposta = "";
    String temp ="";
    temp = (request.getParameter("nome_utente")!=null)?request.getParameter("nome_utente") :"";
    if (ctr_lunghezza (temp) == false){
       risposta = risposta.concat("Attenzione --- Riempire il campo: Nome\n");
       flag++;
    temp = (request.getParameter("cognome_utente")!=null)?request.getParameter("cognome_utente"):"";
    if (!ctr_lunghezza (temp)){
        risposta = risposta.concat("Attenzione --- Riempire il campo: Cognome\n");
        flag++;
    String gg1 = (request.getParameter("giorno_n_utente")!=null)?request.getParameter("giorno_n_utente"):"0";
    String mm1 = (request.getParameter("mese_n_utente")!=null)?request.getParameter("mese_n_utente"):"0";
    String aa1 = (request.getParameter("anno_n_utente")!=null)?request.getParameter("anno_n_utente"):"0";
    if (!ctr_data(gg1, mm1, aa1)){
        risposta = risposta.concat("Attenzione --- Data di nascita non corretta\n");
        flag++;
    temp = (request.getParameter("luogo_n_utente")!=null)?request.getParameter("luogo_n_utente"):"";
    if (!ctr_lunghezza (temp)){
        risposta = risposta.concat("Attenzione --- Riempire il campo: Luogo di nascita\n");
        flag++;
    temp = (request.getParameter("res_utente")!=null)?request.getParameter("res_utente"):" ";
    if (temp == "Seleziona"){
        risposta = risposta.concat("Attenzione --- Selezionare il Comune di Residenza\n");
        flag++;
    temp = (request.getParameter("ind_utente")!=null)?request.getParameter("ind_utente"):" ";
    if (!ctr_lunghezza(temp)){ 
        risposta = risposta.concat("Attenzione --- Riempire il campo Indirizzo\n");
        flag++;
    %>and this is the error msg:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: For input string: ""
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.lang.NumberFormatException: For input string: ""
         java.lang.NumberFormatException.forInputString(Unknown Source)
         java.lang.Integer.parseInt(Unknown Source)
         java.lang.Integer.valueOf(Unknown Source)
         org.apache.jsp.progetto.w2.web.Reg_005futente_jsp.ctr_data(org.apache.jsp.progetto.w2.web.Reg_005futente_jsp:27)
         org.apache.jsp.progetto.w2.web.Reg_005futente_jsp._jspService(org.apache.jsp.progetto.w2.web.Reg_005futente_jsp:122)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  • When printing in Excel It is always want to use the acrobat X pro trial, which the trial is expired. I do not want to use acrobat X pro trial anymore. How can I reset it and use simple acrobat to print my PDF document?

    When printing in Excel It is always want to use the acrobat X pro trial, which the trial is expired. I do not want to use acrobat X pro trial anymore. How can I reset it and use simple acrobat to print my PDF document?

    Hi screen name,
    Adobe PDF printer gets installed when you install Acrobat 10 Pro.
    To use this printer you need to purchase Acrobat. Once the trial period is over you cannot use the printer to create pdf files.
    An alternative way for you is to utilize Microsoft's own inbuilt pdf engine.
    You can simply open the file and select 'Save as' and in the type list select 'pdf'
    Please refer : http://office.microsoft.com/en-in/excel-help/save-as-pdf-HA010354239.aspx
    Regards,
    Rave

  • Help I have 'lost' my downloads icon from the dock. Can I retrieve it? If so please describe how, using simple terms

    Help I have 'lost' my downloads icon from the dock on my desktop Mac. Can I retrieve it? If so please describe how, using simple terms. I have tried searching folders, finder and trash

    Your Downloads folder should be in your Home folder. Just drag it to the Dock.
    If you've managed to delete it, try creating a new folder called 'Downloads'. You will probably need to nominate it in Safari or any other browser preferences as your download destination. (Safari Preferences>General, 'Save downloaded items to:' menu)

  • I am using media queries and div will not centre on desktop version

    Hi,
    I am building a site for the first time using media queries. My problem is that I cannot get the header div (#layoutDiv1) to centre on the desktop version.
    I have pasted my code below, am I missing something?
    Any help would be great.
    Thanks, Alex.
    /* Mobile Layout: 480px and below. */
    .gridContainer {
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      color: #FFF;
      background-color: #000;
    #LayoutDiv1 {
      clear: both;
      float: left;
      margin-left: 0;
      width: 90%;
      display: block;
      padding-top: 20px;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 20px;
    /* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
    @media only screen and (min-width: 481px) {
    .gridContainer {
      width: 100%;
    #LayoutDiv1 {
      clear: both;
      float: left;
      margin-left: 0;
      width: 90%;
      display: block;
      padding-top: 20px;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 20px;
    /* Desktop Layout: 769px to a max of 1232px.  Inherits styles from: Mobile Layout and Tablet Layout. */
    @media only screen and (min-width: 769px) {
    .gridContainer {
      width: 100%;
      text-align: left;
    #LayoutDiv1 {
      width: 1000px;
      padding: 20px;
      margin-right: auto;
      margin-left: auto;

    Because you don't have max-width to constrain the responsive design attributes from the tablet and phone are also then applied to the desktop because they are true.  Have you tried either setting a max-width or setting the clear and float to none in the desktop CSS?

  • There are a sample for loop data out using xpath-querie?

    hello,
    i have a web service that contains multiple rows. i transfered these data in a variable tInput. Now i want to transfer these data in a output variable.
    Is There a sample or tutorial, that shows how to loop data out of a variable (array) in a
    second variable using xpath-querie?
    regards,
    rala

    Hi,
    thanks for the Link, but it doesn't work at all.
    I have a variable tOutput with follow content:
    tOutput>
    <part name="parameters" >
    <SchedulForwardResponse>
    <SchedulForwardResult>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>2</vornr>
    <starttime>20.08.2006 09:10:00</starttime>
    </ArrayType>
    <ArrayType>
    <plnnr>50001203</plnnr>
    <vornr>3</vornr>
    <starttime>20.08.2006 09:35:00</starttime>
    </ArrayType>
    </SchedulForwardResult>
    </SchedulForwardResponse>
    </part>
    </tOutput>
    I want to copy these content in the output Variable of my BPEL Prozess. But just the first <ArrayType> is copy to output:
    <ArrayTpe>
    <plnnr>50001203</plnnr>
    <vornr>1</vornr>
    <starttime>20.08.2006 09:00:00</starttime>
    </ArrayType>
    The other two <ArrayType> fail.
    I create 3 variables:
    <variable name="bufferOutput" messageType="ns0:SchedulForwardSoapOut"/> (MessageType of the invokeing WS)
              <variable name="count" type="xsd:integer"/>
              <variable name="n" type="xsd:integer"/>
    Count and n are counter for the while loop. Count is initial 1. For n i have follow expression:
    <assign name="prepareLoop">
    <copy>
    <from expression="ora:countNodes('bufferOutput','parameters','/ns0:SchedulForwardResponse/ns0:SchedulForwardResult/ns0:ArraySchedulType[1]')"></from>
    <to variable="n"/>
    </copy>
    </assign>
    In the BPEL Console i saw, that the value of n is1 and not 3 as i thought. When i set ora.countNodes to SchedulForwardResult n is null in the console.
    Does anybody try befor to copy such a content of a variable into another variable or has a idea how i can implement these?
    regards,
    rala

  • How to use simple types for table column names ?

    Hi,
    can any one tell how to to use simple types for table column names?
    It is required in internationalizing of webdynpro applications.
    Regards,
    Rajesh

    Hi,
    1: define required column names in <SimpleType>
    2:use the following code to get those values
    3:bind 'text' property of Column headers to context attributes
    4:take a context attribute 'Value' as type of <SimpleType>
    5:set these values to context attributes
    IWDAttributeInfo objAttrInfo=wdContext.getNodeInfo().getAttribute(IPrivate<ViewName>View.IContextElement.VALUE);
    ISimpleTypeModifiable simple=objAttrInfo.getModifiableSimpleType();
    Map m=simple.getEnumerationTexts();
    Collection c=m.values();
    Iterator it=c.iterator();
    if(it.hasNext())
    wdContext.currentContextElement.set<att1>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att2>(it.next().toString);
    if(it.hasNext())
    wdContext.currentContextElement.set<att3>(it.next().toString);
    Regards
    LakshmiNarayana

  • Cross tab data is getting multiplied if i use multiple queris in asingle report

    HI,
      i am using multiple queris for displaying data and graphs(charts).
      my requirement is to display 2 charts and data in crosstab in a single report.
      all the three thing (2charts and crosstab) will use diffrent values.
    I am writing 3 sql queries for getting appropriate values for charts and crosstab.
      Now the problem, both charts and crosstab are taking the values of all 3 queris
    i.e if i added crosstab  first to the report values are coming correctly. After  that if i add graph cross tab values are getting changed and graph values are not getting properly.
    if i add graph first then its coming correctly.
    if i tried to add all 3 components then values are going cores...... ?

    When you say you are writing 3 sql queries what do you mean? Are you creating 3 SQL command objects in the database expert? If so this is your problem, Crystal will pull a cartesian product through (this is every possible combinatin of rows from the 3 queries).
    If your 2 graphs and 1 crosstab are based on different datasets the way to approach this is to create each on a seperate report, then create a new blank report and add each of your 3 reports as subreports in the report footer.
    Hope this helps,
    Toby

  • Webi- Issues when using multiple Queries

    Hi All,
    I have a requirement as follows:
    A crosstab which will have Year dimension both in the vertical and horizontal header. How ever the horizontal header should have years chosen by the user.
    And the vertical header should have all the years that belong to that dimension.
                                   2013 2014 2015
    Audit1  2011                N     N      N
    Audit2  2013                Y     N      N
    Audit3  2014                N     Y      N
    For this I am using two queries.
    Query 1 ->Audit Name , Year
    Query 2 ->Year with a multiselect prompt
    But the problem with this is that after exec uting the queries the Year dimension gets merged and gives me a union of all the years.
    Also if I avoid merging the dimensions, it gives up the infamous #DATASYNC error.
    However I want crosstab horizontal header to show up only the selectd years(that are selected using the prompt by the user).
    Please help.

    Hi Pradnya,
    Your approach is really nice towards the requirement.
    I similarly created two queries containing Year and on
    one of the query created a prompt on Year and one query does not have any
    prompt.
    Lets say I have created two queries named [Query 1] and [Query
    2] and my merged dimension Year contains dimensions [Query 1].[Year] and [Query
    2].[Year].
    (Note: Query 2 has a prompt on Year)
    Created a detail variable named [test] which has the
    definition as =[Query 1].[Year] and Associated to the merged dimension [Year].
    Inserted a cross table and used [test] in the vertical
    header and in the horizontal header used the following formula:-
    =UserResponse([Query 2)].[Year];"Enter values for
    Year:")
    Please try the above and let me know how it goes.
    Regards,
    Manpreet

Maybe you are looking for

  • How to make a textfield in inDesign for DP?

    How can I make a textfield for answering questions in an inDesign brochure for Digital Publishing. I tried it with a HTML field, but the textfield is emty again when I went to another article/page and back. But I want the text to stay in the field, e

  • Scheduling Agreement for Services

    Dear All, We have to enter into long term Service Agreement with Certain Service Providers (Software Developers, Service for Garden Maint. etc) whose service we procure and pay on a periodic basis. Since a Service PO won't do here (As agrt has to be

  • Inhibit out always active

    On axis 2 of a UMI-7764, the inhibit out is constantly active, disabling the third party motor driver.  I have axis 1 configured identically in MAX and it works just fine with identical hardware.  I have traced the problem back to at least the UMI if

  • Trouble with adding attachment to email-can't get to the word choose

    When I get to the attachment page and pick the attachment I want to add to my email I can't get to the word choose at the bottom of the page and I can't adjust the page size to make it smaller because it's not in view either. When I log in on another

  • Error CRM_PRODUCT_SALES010 on Material Download

    I am currenlty testing the CRM material download from ERP to CRM, this from an ECC 5.0 system to CRM 5.2. For each new material I create or edit, the processing of the BDoc fails. I get the error message ".CRM_PRODUCT_SALES010 - Sales organization 50