IGS graph with data table

Hi all,
I'd like to create an image of a graph with a data table below that contains the data displayed by the graph.  I know this is possible as of SP 8 of IGS 6.40, but I can't find anywhere any documentation on how I can pass this on to the Chart Element of the Graphics extension.
Does anyone know what I should put in my custom XML or any other way of obtaining this result?  Any pointers to documentation that could get me on the right track would also be appreciated.
Thanks,
Tim

Hi Kai,
I had indeed seen that note about BW, so I thought the IGS was capable of doing it. I just had to do a similar call as BW.  Too bad this isn't supported.
Anyways, thanks a lot for your answer.  I won't waiste my time looking for a way to do this anymore now.
Thanks,
Tim

Similar Messages

  • Must a EntityBean map with data table?

    I know Not every data table will map with Entity bean
    but must a EntityBean map with a datatable?
    rgds

    Ofcourse Not, EntityBean Just A style of Bean,
    We declare something as EntityBean because it perform some action like a Entity
    For Example,A Man Contain some attribute, or A File with some attribute,
    usually we have store this in the database ,so EntityBean Usually map with data table.
    but you can also store the data in the file format as you like,you can control it in the BMP model
    in my opinion ,Entitybean is the object base on the attribute , the Sessionbean is the object base on the action with the user.So we can distinguish them��:-)

  • CRYSTAL REPORT GRAPH WITH DATE AND TIME

    Post Author: Dino Dentone
    CA Forum: Charts and Graphs
    Dear forum,
    I am developing a Visual Studio .net 2005 Windows Form,i have a sql table with 2 field:1) DATA (date and time)2) Temperatura (numeric)I have to make a line graph with numeric data axes.I have insert two parameters' to customize the filtering, so i can have a graph of the temperature between to date and time.If i choose two date's and time (parameters) like 20/04/2008 00:00:00 trought 20/05/2008 00:00:00 i have no problemBut if a choose a range minor of 1 day (some hours like from 15/05/2008 00:00:00 trought 15/05/2008 08:00:00) i have no graph.It sound like it don't use the time values?Thank's for the Help.

    There is some debugging info on the website. I've had problems getting the text to work. It was generally that I installed either the wrong 'version' of ImageMagick (the recommended one works for me--I'm running Vista x64 and one time installed the x64 version and it didn't work). I also installed Ghostscript to get the font list to work correctly. At one time I installed the x64 version of Ghostscript and it didn't work with the plug-in, either.
    I installed two items:
    ImageMagick: ImageMagick-6.4.9-3-Q16-windows-dll.exe
    Ghostscript: gs863w32.exe
    I don't know if it is necessary but I also added the fonts from
    ghostscript-fonts-std-8.11.tar.gz to the c:\Program Files (x86)\gs\fonts directory. Some, none, perhaps all, may already be installed just by installing ghostscript--it has been so long that I don't remember exactly. I do know that the contents of the gs fonts directory contains all the files in the .gz, I just don't remember if I put them there separately or as part of the gs install :)
    You need to make sure the font size is large enough. I usually use about 2-4% of height and export a single photo to make sure I see the text correctly.
    Tim does respond to email when he can so if you can't get it to work you can always drop him a line.

  • Expand All and Collapse All with Data table

    Hi Guys,
         I have a data table as shown in code pasted . where the first and second column have row category which gives a categorization with a twisty.
         When i click on the twisty or item name the level beneath it expands. Eerything works fine.. but i need to have to links     Expand All and Collapse All which when clicked open the entire hierarchy or collapse it. Can anyone suggest a way of doing. Can it be done using javascript, I am not comfortable with java script .If someone has done this before please share the piece of code.Also please suggest the different ways of doing it. I am using RAD 7 and IBM JSF components.
         <hx:dataTableEx border="0" cellpadding="2" cellspacing="0"
         columnClasses="columnClass1" headerClass="headerClass"
         footerClass="footerClass" rowClasses="rowClass1, rowClass2" binding="#{masterPublList.tablebindData}"
         id="tableEx1" styleClass="dataTableEx" value="#{masterPublList.lst_publication}" var="varlst_publication">
              <hx:columnEx id="columnEx3">
                   <hx:panelRowCategory id="rowCategory2"
                        styleClass="panelRowCategory"
                        value="#{varlst_publication.publCategory}" collapsed="true">
                   </hx:panelRowCategory>
              </hx:columnEx>
              <hx:columnEx id="columnEx2">
                   <hx:panelRowCategory id="rowCategory1"
                        styleClass="panelRowCategory" value="#{varlst_publication.publSubCategory1}">
                        <h:outputText id="text5" styleClass="outputText"></h:outputText>
                   </hx:panelRowCategory>
              </hx:columnEx>
              <hx:columnEx id="column1">
                   <hx:outputLinkEx id="linkEx1" styleClass="outputLinkEx" value="#{varlst_publication.publUrl}" target="_blank">
                        <h:outputText id="text3" styleClass="outputText" value="#{varlst_publication.publName}"></h:outputText>
                   </hx:outputLinkEx>
              </hx:columnEx>
              <hx:columnEx id="columnEx1">
                   <h:selectManyCheckbox disabledClass="selectManyCheckbox_Disabled"
                        id="checkbox1" styleClass="selectManyCheckbox" value= "#{varlst_publication.publLang}">
                        <f:selectItems value= "#{masterPublList.lst_lang}"/>
                   </h:selectManyCheckbox>
              </hx:columnEx>
         </hx:dataTableEx>
                   Thanks in anticipation

    Hi Naamkeek,
    Per my understanding that you have added the Expand All and Collapse All button in an drill down report by adding the "Go to report" action, now you got the report always refresh and return to the first page, right?
    I have tested on my local environment and can reproduce the issue, no matter whether to add two buttons or using the parameter to do the Expand All and Collapse All, it is always return to the first page.
    Gernerally, SQL Server Reporting Services does a postback while clicking a expand/collapse icon. SSRS re-renders reports because it need to regenerate the pages to fit the defined width & Height. That is why SQL Server Reporting Services reloads
    the whole report.
    This is by design. And, currently, we are not able to turned it off.
    I would suggest you submitting a wish at
    http://connect.microsoft.com
    If the service requests frequently, we may include it in the next release.
    Appreciate your understanding, and if you have any more questions, please feel free to ask.
    Regards
    Vicky Liu

  • Help with data table

    I am a new user of LookoutDirect and as luck would have it I need to
    use a Data Table.  I have spent the better part of a month tying
    to get it setup.  I found an example on this website which does
    exactly what I want to do and still can't get it figured out. 
    There just seems to be some things that are not explained in any of the
    manuals.  I think I have it worked down to a few very specific
    questions.  I have most of my application going but this data
    table has me by the throat.  Should I just post the questions on
    here or try to get hooked up with someone to assist me?
    thanks

    Yes, you can post the questions here. Also tell us which example you found on the website, and which part you don't understand.
    Ryan Shi
    National Instruments

  • Rating widget with data table

    I am using rating widgets with php generated tables... but I
    like the spry data regions better (for sorting). is it possible to
    dynamically create rating widgets in a spry data region? I tried
    doing it by applying the information from "Using HTML Fragments In
    XML Sample " but that doesnt work. Any ideas?

    Did u check:
    http://labs.adobe.com/technologies/spry/samples/tooltip/Tootlip_with_HTML_Panel.html
    http://labs.adobe.com/technologies/spry/samples/data_region/TooltipwithData.html

  • Netbeans dataprovider JSF page with data table

    I have crated a database very similar to the one that is shown as an example on the Netbeans site tutorial Insert, Update, Delete. Except that the table doesnt have any linking dropdown list that controls the information displayed on the table. It connects to an oracle database. The table has 4 columns, all of which are editable text fields. THey participate in a virtual form with a save changes button i have. I also have an insert button on the page which adds an extra row to be populated. When a new row is created and saved I set a CREATER DATE AND CREATE USER field as well. Currently I have all of this working.
    My issue is I need to add code to my savebutton action code so that it checks if any of the existing entries in the database, any of the fields were changed. And if so I need to set UPDATE DATE and UPDATE USER fields for the respective row. What I dont understand is how I check once the user hits the save button the submited changes against the values already in the database. Below is my save button code. (The TRANSFR_AGENTID code is to set the primary incrementing key for new entries).
    public String savebtn_action() {
    // TODO: Process the action. Return value is a navigation
    // case name where null will return to the same page.
    //Navigate through
    try {
    //if (trnsfr_agentDataProvider.getRowCount() > 0){
    // trnsfr_agentDataProvider.cursorFirst();
    CachedRowSetDataProvider maxTransID = getSessionBean1().getMaxTrnsfrAgentIDDataProvider();
    maxTransID.refresh();
    maxTransID.cursorFirst();
    java.math.BigDecimal num1, num2;
    java.math.BigDecimal newTransId = ((java.math.BigDecimal) maxTransID.getValue("MAXTRNSFR_AGENTID"));
    System.out.println("###### newTransID = " + newTransId);
    if (newTransId == null){
    newTransId = new java.math.BigDecimal(1.0);
    System.out.println("###### after null if comparison newTransID = " + newTransId);
    num1 = new java.math.BigDecimal(1.0000);
    num2 = new java.math.BigDecimal(-1.0000);
    if (trnsfr_agentDataProvider.getRowCount() > 0) {
    trnsfr_agentDataProvider.cursorFirst();
    do {
    if (trnsfr_agentDataProvider.getValue("TRNSFR_AGENT_ID").equals(new Double(0))) {
    trnsfr_agentDataProvider.setValue("TRNSFR_AGENT_ID", (java.math.BigDecimal) newTransId);
    newTransId = newTransId.add(num1);
    } while (trnsfr_agentDataProvider.cursorNext());
    trnsfr_agentDataProvider.commitChanges();
    } catch (Exception ex) {
    log("Error Description", ex);
    error("Error :" + ex.getMessage());
    return null;
    }

    http://www.oracle.com/technology/products/jdev/101/howtos/jsfdrilldown/index.html

  • Problem with data table and internal and external command button

    thanks for your time,
    i have this problem
    <t:dataTable binding="#{manejadorAsociarEvaluadoresProyecto.tablaPosiblesEvaluadores}"
    cellpadding = "6"
    cellspacing = "3"
    value = "#{manejadorAsociarEvaluadoresProyecto.listaPosiblesEvaluadores}"
    var = "posibleEvaluador"
    preserveDataModel="false">
    <h:inputTextarea value="#{posibleEvaluador.correoActualCuerpo}"
    cols="50"
    rows="50"
    rendered="#{posibleEvaluador.detalle}" />
    <h:commandLink immediate="false" action="#{posibleEvaluador.editar}" value="Editar Correo"/>
    </t:dataTable>
    <h:panelGroup id="panelBotonEvaluadores" rendered="#{!manejadorAsociarEvaluadoresProyecto.b_mostrarEvaluadores && manejadorAsociarEvaluadoresProyecto.tieneProyectos}">
    <h:commandButton action="#{manejadorAsociarEvaluadoresProyecto.mostrarEvaluadores}"
    value="Asociar evaluadores"/>
    </h:panelGroup>
    this is the method of posibleEvaluador
    public String editar()
    setDetalle(!getDetalle());
    return "";
    all run perfect, until y click in "asociar evaluadores" button, after of this the commandLink "editar Correo" not run, this commanlLink is for not show the inputTextArea, i don't know what happend.
    thanks for your help

    Hello,
    I have replicated and confirmed the problem with LabVIEW 2010, Report Generation Toolkit 2010 and Word 2010.  I have filed this to R&D under CAR ID #257414.  As a workaround you can manually set each cell using Word Edit Cell.vi.  I have attached a simplified representation of this unexpected behavior as well as the workaround.  Hopefully this helps everyone out!
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center
    Attachments:
    Word 2010 Table CAR.vi ‏17 KB
    Word 2010 Table FIX.vi ‏22 KB

  • Issue with Date Format in line Graph X-AXIS

    Hi all,
    I have a line graph, with data in x-axis and integer values in y-axis.
    I am fetching data in Mon-dd-yyyy format but in graph (x-axis) it showing in yyyy-mm-dd format.
    How to change this format.
    Regards,
    Krishna Prasad

    Hi,
    Basically you are trying to convert a date into date which is not advisable. Hence convert it to char and then equate it against a character value. Also do not use trunc as it will trim out the time part of the date.
    select * from test
               where to_char(dob,'RRRR/MM/DD HH24:MI:SS')=:p1Then pass the parameter
    cheers
    VT
    Edited by: VT on Oct 26, 2010 4:16 PM

  • Use the Data Table of JSF, but only titles are display, not data show

    Hi,
    I create some simple example base on some of the tutorial online and modified myself to ensure no error. One of the tutorial that I refer is http://wiki.netbeans.org/DevelopJavaEE5App.
    I really wonder why my data never show in my jsp page, only show the titles. Basically what I have done were:
    First create entity classes
    Second create SessionBean
    Third create Controller - as JSF Managed Bean which is used to bind the data in JSP page
    Last is create JSP page with Data Table to show the data
    The customerlist.jsp has no error and display nicely with only titles.
    Pls advise.
    wenxin

    Hi Pino,
    I'm back to continue my EJB learning path, I really need your help, as I mentioned in my previous message, another BIG challenge is that since day one, I encounter error (500 Internal Server Error Servlet error: An exception occurred....) when deployed in my remote server. Locally run the jspx page no problem, data can be shown. After checking the log file below is the error message..
    10/03/22 18:12:58.17 10.1.3.4.0 Started
    10/03/22 18:12:59.439 deptremote: 10.1.3.4.0 Started
    10/03/22 18:14:02.724 deptremote: Servlet error
    javax.faces.el.PropertyNotFoundException: Error finding property 'html1' from bean of type oracle.view.backing.DeptEmployees: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlForm
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:95)
         at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
         at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85)
         at deptEmployeesjspx._jspService(_deptEmployees_jspx.java:102)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.4.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlForm
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
         at java.lang.Class.getDeclaredMethods(Class.java:1763)
         at java.beans.Introspector$1.run(Introspector.java:1265)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
         at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
         at java.beans.Introspector.getBeanInfo(Introspector.java:387)
         at java.beans.Introspector.getBeanInfo(Introspector.java:159)
         at com.sun.faces.el.impl.BeanInfoManager.initialize(BeanInfoManager.java:244)
         at com.sun.faces.el.impl.BeanInfoManager.checkInitialized(BeanInfoManager.java:230)
         at com.sun.faces.el.impl.BeanInfoManager.getProperty(BeanInfoManager.java:310)
         at com.sun.faces.el.impl.BeanInfoManager.getBeanInfoProperty(BeanInfoManager.java:204)
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
         ... 49 more
    10/03/22 18:14:07.146 deptremote: Servlet error
    javax.faces.el.PropertyNotFoundException: Error finding property 'html1' from bean of type oracle.view.backing.DeptEmployees: java.lang.NoClassDefFoundError: javax/faces/component/html/HtmlForm
         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:95)
         at oracle.adfinternal.view.faces.model.FacesPropertyResolver.getValue(FacesPropertyResolver.java:92)
         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:187)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:171)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:40--------------------------------------------------------------------------------
    I suspect was due to the message that I got when drag the employeelist from Data Control Palette, as below:
    The "Embedded OC4J Client" has been added to the client project.
    This library provides a "jndi.properties" file that allows EJBs to be resolved in the embedded OC4J server.
    To resolve EJBs running in a remote application server,
    remove this "Embeded OC4J Client" library from the project and add a custom "jndi.properties" file to the client project instead.
    am I missing anything????
    Regards,
    Wen Xin

  • Graph Data from Data Table

    I have a Table Data which 5 columns, 1 string column and 4 double columns with header name.  I try to graph the data in excel based on example from NI. When I use the data from NI example instead of my Data Table then it works.  I research on convert 1D to 2D Array but I could not be able to do it.

    LabViewRV wrote:
    I fixed the typos. How can I convert it into 2D Array, I tried the reshape accordingly to some old questions but it did not work for me. 
    A Reshape Array can be used. You can also simply feed a 1D array into a Build Array function. That will give you a 2D array, but I do not believe that is what you should do here:
    By the way, it there any possible way to graph data in LabView?
    Again, the Data Table contains 5 columns, 1st column data type is string (timestamp), 2nd, 3rd, 4th, and 5th are double
    There are numerous ways to graph data in LabVIEW. Have you looked at the shipping examples and in the LabVIEW Help, or in the controls palette? You have a waveform chart, a waveform graph, and an XY graph. You can also have picture graphs. Is the source data a text file or an Excel workbook? If it's a text file you can use Read From Spreadhsheet File to read the file into a 2D array of strings. You can then convert the 1st column into time information, and the remaining columns into numerics. Please take a look at the examples. If you are still having problems, then post back what you have tried, and please provide an example of the data file you are trying to read and graph.

  • Plotting graph in LabVIEW from MySQL data table

    Is there any possibility to plot the data from MySQL data table in LabVIEW graph/chart??
    can somebody help me??
    thanks...

    I am new with LabVIEW and I am also with the same problem.
    No problems to write data into MySQL, but when trying to read data neither "fetch element data" or "get properties" answer !
    It is not possible to get a simple recordcount using the "get properties".  The same script give the right answers with MS Access, only changing the DB reference from "connection string" to a "UDL".  Does somebody can post an example retriving data (that runs ok even with a WHERE clause in the recordset) using MySQL ?
    The connection string I am using is:
    Driver={MySQL ODBC 5.1 Driver};Server=127.0.0.1;Database=DBname;User=root​;Password=xxx;Option=785;
    Attachments:
    MySQL_Access_diff.JPG ‏88 KB

  • Problem with Exception Worksheet using Data from Supply Plan Data Table

    I added a series for a flag that indicates whether product is sourced from multiple manufacturing sites for a given customer and item. The flag is on the supply plan data table because it depends on the scenario. I created an exception worksheet for when the flag is set but all combinations are being displayed. If the flag is not set for a given combo then "Selected Page Item has No Data" is displayed in place of the table. I want only the combinations that meet the exception to be shown. I tried setting up an exception worksheet for customer shipments which is also on the supply plan data table but saw the same issue with all combinations being displayed whether or not the condition is met. Does anyone know of any issues with using exception worksheets with the supply plan data table? I searched the documentation and saw that exceptions behave differently with promotion series but this isn't a promotion.
    I'm using Demantra version 7.2. Thanks for any help!
    Edited by: user9253208 on Mar 30, 2010 6:40 AM

    Thanks. We have come up with a workaround. While the combinations on the left are not affected by the exception, the data in the main table is so we moved as many levels as possible into the table. The performance is slow but the data is more useful, especially when exported into Excel. I was hoping for a better solution but I guess we'll just have to stick with what we've come up with.

  • Help on export sybase iq tables with data and import in another database ?

    Help on export Sybase iq 16 tables with data and import into another database ?

    Hi Nilesh,
    If you have table/index create commands (DDLs), you can create them in Developper and import data using one of methods below
    Extract/ Load table
    Insert location method : require IQ servers to be entered in interfaces file
    Backup/Restore : copy entire database content
    If you have not the DDLs, you can generate them using IQ cockpit or SCC.
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01773.1604/doc/html/san1288042631955.html
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01840.1604/doc/html/san1281564927196.html
    Regards,
    Tayeb.

  • Weird problem with mysql query and data table buttons !!!!

    Hi,
    I'm using jsc 2 update 1 on windows and mysql 4.1 . I have a page with a data table. One column of the data table contains "Details" buttons.
    Source query for the table is :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    AND tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    The tbl_tesserati.data_nascita is a mysql date field.
    The click event handler code for the "Details" Button is:
    public String btnModificaTesserato_action() {
            try{
                TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");
                getRequestBean1().setId_tesserato((Long)rowData.getValue("idTesserato"));          
            } catch(Exception ex) {
                log("errore nella query",ex);
            return "dettaglioTesseratoSocieta";
        }When i run the project and open the page the table is correctly rendered and populated with some rows. But when i click on details button nothing happens, the page is simply reloaded.
    If i set a breakpoint in the code line   TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");the debbuger does not stop the code execution ! As if the button was never clicked!
    I tried to modify the source query to :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    OR tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    Using this query everything works well !! The click handler works and the debugger too !!
    I changed only the AND in OR !!!
    I also tried to change mysql-x-x-connector driver but without solving my problem.
    Can someone help me ?
    Thanks
    Giorgio

    You'll find that it is more to do with the way MySql deals with dates than anything else! Depending on how your date field is setup, then try using a BETWEEN statement for those 2 lines in your first query e.g.
    AND ( tbl_tesserati.data_nascita BETWEEN ? AND ?)
    The date column needs to be in the ISO format to work. If you examine your second query output, you might discover that the output is only going to refer to one parameter (probably the OR one). Did you manage to view the output logs from the application server? You would have got an idea from there with a message like stating a conversion error'.
    Alternatively, you could try using the to_days() function and convert it directly to a number which would be a lot easier to deal with. For example:
    AND to_days(tbl_tesserati.data_nascita >= ? )
    AND to_days( tbl_tesserati.data_nascita<= ? )
    Or try the BETWEEN version with to_days() and see what you get.
    More info about date formatting (v5) here:
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_to-days
    Before I forget, sometimes you may need to treat dates as Strings rather 'Long' as you did.
    As a matter of interest, did you try your query in a different piece of software?
    If my queries are a little more complicated, I tend to try MySql queries out in the free MySql query browser and also double check in another to verify certain issues. I found it easier to develop SQL in a seperate program then import the final version to JSC making the required modifications for parameters.
    Message was edited by:
    aerostra

Maybe you are looking for

  • Javaw does not work for my SWING application

    Dear all, I try to use 'javaw ClassName' (from a batch test.bat) to hide command prompt window when a Swing application starts. Unfortunately, the CMD still appears. So I recommend the command java and javaw has no difference in my situation. I use j

  • Connecting To An Access DB On A SharePoint Site

    I am attempting to use an Access (2007) db (.accdb) file located on a SharePoint site and am encountering problems connecting to it.  The paths I have tried are: http://xxx.yyyyyyy.company.com/sites/xxxx/TeamSite/buildsupport/MW/Work%20Effort/Access_

  • For family members over 13, how can I require permission to purchase an app

    i am now using family share for my teenage boys.   It seems their Apple ids list them as an adult.  How can I make it so they are required to get permission when. Purchasing an app. Right now they are linked to my credit card but I do not get that al

  • Why do we need a Home Interface?

    Hi Guys, I am new to EJB. i am some questions. 1) Why do we need a Homeinterface? 2) Where does container generated classes for both the interface located(assume we have 2 machine, one is client and another is server) In RMI we hv stubs and skeletons

  • How to Export Mail RSS feeds to another reader

    How do I go about exporting RSS feeds I have in Mail into another reader like NetNewsWire? Thanks.