How to create and edit anomalous tables in DIAdem? Such as the example list.

How to create and edit anomalous tables in DIAdem?
Can the tables  be edited as in MS Word?
帖子被yangafreet在08-21-2007 10:28 PM时编辑过了
Attachments:
table example.doc ‏26 KB

Hi yangafreet,
There is no way I know of to create a DIAdem table that looks like the table in your Word document.
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • How to create and edit a .ini file using java

    Hi All...
    Pls help me in creating and editing an .ini file using java...
    thanks in advance
    Regards,
    sathya

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • ADF Faces - How to create an editable rich table at runtime

    Hi,
    JDeveloper version - 11.1.1.4.0
    I have been trying to create an editable table (wherein the user can enter text into the input text boxes contained in the columns added at runtime). The values thus entered are to be captured in the backing bean for further processing.
    Below are my attempts to achieve this in various ways but without success.
    Attempt 1 : Created a Read-Only Dynamic table by dropping the view object instance from the Data Control. Here, the default being output text components, I used input text components and programatically make it updatable in the backing bean, which however, shows as an output text component.
    1) UI - .jspx file
    <af:table rows="#{bindings.TestViewObject1.rangeSize}"
                        fetchSize="#{bindings.TestViewObject1.rangeSize}"
                        emptyText="#{bindings.TestViewObject1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        var="row" rowBandingInterval="0"
                        value="#{bindings.TestViewObject1.collectionModel}"
                        selectedRowKeys="#{bindings.TestViewObject1.collectionModel.selectedRow}"
                        selectionListener="#{bindings.TestViewObject1.collectionModel.makeCurrent}"
                        rowSelection="single"
                        id="t1"
                        partialTriggers="::cb1 ::cb2"
                        binding="#{TestDynamicTable.t1}">
                <af:forEach items="#{TestDynamicTable.attributeDefns}"
                            var="def">
                  <af:column headerText="#{def.name}"
                             sortable="true" sortProperty="#{def.name}" id="c1">
                    <af:inputText value="#{row[def.name]}" id="it1"
                                  label="Label 1"
                                  autoSubmit="true" />               
                  </af:column>
                </af:forEach>
              </af:table>2) Backing bean -
        public void listenMeForAction(ActionEvent ae) {
           //adding attribute dynamically
          ViewAttributeDefImpl def = (ViewAttributeDefImpl)vo.addDynamicAttribute("testDynamicAttr"+columnCount);
          def.setUpdateableFlag(def.UPDATEABLE);
         byte b = def.UPDATEABLE;
         def.setEditable(true);
         //def.setProperty(def.ATTRIBUTE_CTL_TYPE,);
         //def.getUIHelper().HINT_NAME_UPDATEABLE
         def.setProperty(def.ATTRIBUTE_DISPLAY_HINT_DISPLAY, def.HINT_NAME_UPDATEABLE);
         columnCount ++ ;
         AdfFacesContext.getCurrentInstance().addPartialTarget(this.t1);
    Attempt 2 : Created a ADF table by dropping the view object instance from the Data Control. Here, the columns and its cells are added programatically in the backing bean. However
    1) UI - .jspx file
    <af:table value="#{bindings.Test5ViewObj1.collectionModel}" var="row"
                        rows="#{bindings.Test5ViewObj1.rangeSize}"
                        emptyText="#{bindings.Test5ViewObj1.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.Test5ViewObj1.rangeSize}"
                        rowBandingInterval="0"
                        id="richDynamicTable"
                        binding="#{TestDynamicTable.richDynamicTable}">
    </af:table>2) Backing bean - When the buildRichTable method is invoked from the constructor, the table shows the input text boxes as required, but the entered values is not getting retrieved (). Tried adding a valuchangelistener to the added cell, but this does not fire as well.
    Below code however, creates a new instance of RichTable. Also, if an overloaded method is invoked on an ActionEvent, the columns added are not displayed.
      //called from costructor 
      public void buildRichTable() {
        dynamicVO.clearCache();
        //create this table
        richDynamicTable = new RichTable();
        int noOfCols = 2;
        for(int i=0; i<noOfCols; i++) {
          //create new column for the table
          richDynamicCol = new RichColumn();
          richDynamicCol.setHeaderText("ColTest"+i);
           // richDynamicCol.isVisible()
           // richDynamicCol.setVisible(arg0);
          richDynamicCol.setParent(richDynamicTable);
          richDynamicTable.getChildren().add(richDynamicCol);
          richDynamicTable.getChildCount();
          richDynamicTable.getRowCount();
          richDynamicCell = new RichInputText();
          richDynamicCell.setLabel("aCell"+i);
         // richDynamicCell.isVisible()
            MethodExpression methodExpression = FacesContext.getCurrentInstance().getApplication().
                                                                      getExpressionFactory().createMethodExpression(
                                                                        FacesContext.getCurrentInstance().getELContext(),
                                                                        "#{TestDynamicTable.inputBoxValueChangeListener}",
                                                                        null,
                                                                        new Class[] {ValueChangeEvent.class});
          //this does not work too - on adding some text and tabbing out
          richDynamicCell.addValueChangeListener(new MethodExpressionValueChangeListener(methodExpression));
          richDynamicCell.setParent(richDynamicCol);
          richDynamicCell.setValue("#{row.ColTest"+i+"}");
          richDynamicCol.getChildCount();
          richDynamicCol.getChildren().add(richDynamicCell);
         dynamicVO.addDynamicAttribute("ColTest"+i);
        //dynamicVO.insertRow(dynamicVO.createRow());
        dynamicVO.getRowCount();
       AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicTable());
       AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicCol());
       AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicCell());
       buildTable = false;
       this.setDynamicVO(dynamicVO);
    //captures the input data
      public void captureRichTableData(ActionEvent ae) {
    //gives null below
        this.getDynamicVO().getCurrentRow().getAttribute("ColTest0");
        this.getDynamicVO().getCurrentRow().getAttribute("ColTest1");
    //again null   
        List<UIComponent> listCols = richDynamicTable.getChildren();
        for(UIComponent aColComp : listCols) {
            RichColumn aCol = (RichColumn)aColComp;
            List<UIComponent> listCells = aCol.getChildren();
            for(UIComponent aCellComp : listCells) {
              RichInputText anInputText = (RichInputText)aCellComp;
                anInputText.getValue();
      }Not sure what I must be missing. May be I need to add bindings to the text boxes added but cant figure how to go about it. I found some posts on dynamically adding columns pointing to displaying contained data. Any help would be highly appreciated.
    Thanks for your time.
    Dinu

    Hi,
    Not too sure if I am heading the right way, but tried adding the bindings and value expression at runtime for the added columns. The values added at the screen is again found null at the VO and RichInputText child / cell. The updated method is as below -
          buildRichTable() {
          //adding binding for the added cell
          DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
          if(bc.findCtrlBinding("ColTest"+i) == null) {
              bc.addControlBinding("ColTest"+i, new JUCtrlAttrsBinding(null,
                                                     bc.findIteratorBinding("Test5ViewObj1Iterator"),
                                                         new String[]{"ColTest"+i}));
          //the expression to be set in value attribute for richInputText component 
          String theExpression = "#{row.bindings."+"ColTest"+i+".inputValue}";
          //setting the expression
          richDynamicCell.setValueExpression("ColTest"+i, getValueExpression(theExpression)); 
          richDynamicCell.setAutoSubmit(true);
          richDynamicCol.getChildCount();
          richDynamicCol.getChildren().add(richDynamicCell);
        dynamicVO.addDynamicAttribute("ColTest"+i);
        dynamicVO.insertRow(dynamicVO.createRow());
        dynamicVO.getRowCount();
        AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicTable());
        AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicCol());
        AdfFacesContext.getCurrentInstance().addPartialTarget(this.getRichDynamicCell());
       buildTable = false;
       this.setDynamicVO(dynamicVO);
      private ValueExpression getValueExpression(String theExpression) {
       FacesContext fc = FacesContext.getCurrentInstance();
       Application app = fc.getApplication();
       ExpressionFactory elFactory = app.getExpressionFactory();
       ELContext elContext = fc.getELContext();
       return elFactory.createValueExpression(elContext, theExpression, Object.class);
      }It would be great help to have any leads.
    Thanks,
    Dinu

  • How to create and user Temporary Table ( Urgent Please )

    i want to use temporary table in Oracle, how can i use it in Stored procedure, Please explain it with any Example, Please also clear that If more then one user can access the same stored procedure then what will be behavior of Temporary table, is it manage for its session, i want to manage it on every session. when store procedure call temporary table create and when finish then demolished.

    It depends on what you mean by a temporary table. If you are coming form a Sybase/Sql Server background where you would do something like:
    SELECT * INTO #my_temp
    FROM some_table
    WHERE some_condition
    GO
    UPDATE #my_temp
    SET some_column = some_calculated_value
    GO
    SELECT *
    FROM #my_temp
    WHERE some_other_conditionthen you could use in-line views instead of the temporary table.
    SELECT col1,col2,some_calculated_value
    FROM (SELECT *
          FROM some_table
          WHERE some_condition)
    WHERE some_other_conditionYou should be able to do this directly in a stored procedure, as long as you have some way to process or return the result set.
    If your processing is so complex that you cannot do it in straight SQL (and remember, Oracle handles multi-table joins much better that Sybase and SQL Server), then you need to look at Global Temporary Tables.
    You would declare a Global Temporary Table outside of the stored procedure (that is create it once and use it over and over), then use it in you stored proc just as you would a regular table. When you create the table, you have a choice of creating it as:
    ON COMMIT PRESERVE ROWS which means that any data you put in the table will persist for the length of your session, or
    ON COMMIT DELETE ROWS which will empty the table every time you issue a commit;
    The rows in the GTT are visible only to the session that put them there, and are removed when that session ends at the latest.
    HTH
    John

  • How to create and edit time curves for parameteric EQ

    Hi all, I'd like to do something very basic, but I can't figure out how to do it.
    I've got a video, and I'd like to apply some filters to an audio track, and sync it with the video. I've managed to load in the video, put my audio files on the multisession, and place the effects I want in place. I can't figure out the rest - i.e. animating the parameters. I'm used to animation software (such as aftereffects), where I can enable keyframing for a channel, goto a time on the timeline, change the value for a parameter and it's saved as a keyframe at that time.
    I do have a bunch of midi controllers, but I'd rather hand edit these keyframes for accuracy as opposed to trying to record, there's only a few moments so should take me just a few seconds if I knew how to do it!
    Cheers,

    Ah indeed, there is the familiar keyframe interface. That's great thanks, however I still couldn't find how to control these from the effect interface! I.e. I can edit the curves from there, but there's about 20+ parameters on the parameteric EQ, to have to go through keyframing it through the curves and not the interface would be nuts. I'd like to set all of the parametric EQ parameters (freq, Q, gain for each band) to be keyframable (which I can go through and do once if need be by manually setting a keyframe at time==0), but then I'd like to just use the parametric EQ interface, move the points around, and have the keyframes created. Currently what it seems what I have to do is:
    - go through all 20 parameters and manually place a keyframe at time==0
    - go to a new time on the timeline, and move all my points around in the parametric EQ interface
    - go back to automation curves and go through all 20 parameters one by one clicking on the 'add keyframe' button for each parameter individually.
    - go to the next time on the timeline, and repeat
    Suffice to say this is tedious enough, but it gets even more interesting when:
    The parametric eq interface does not update to show what the actual current value (From the automation) graph is. So if I want to slightly tweak a value (e.g. lift or drop a tiny bit), I can't do it, I can't see in the parametric eq window what the current value is. So I need to:
    - goto the automation curve and find the parameter in question
    - read out the value
    - go back to the parametric window, and set that number in first
    - and then edit it.
    And then it gets even more interesting (this is probably a bug), because I'm having trouble editing current keyframes. I've found if I move a value on the parametric EQ window if there already is a keyframe in place I'd hoped it would just update the keyframe, but instead it does nothing. What I need to do is:
    - first remove the keyframe
    - then move the parameter in the parameq window
    - then set the keyframe again.
    If I move the parameter first, then remove the keyframe, then set the keyframe again, it won't get the new value. The parameter must be moved after the keyframe is removed. nuts.
    I hope I'm just doing it wrong and there is an easy 'auto-set keyframes' option somewhere!
    I'm running audition CC v6.0 build 732 64bit on windows 8.1 pro.

  • How to see and edit archieve tables?

    Please let me know how to see the archieve tables and thier contents. Also, please let me know how to edit them i.e. to modify the table?
    Thanks in advance!
    Suman

    check tcode SARA

  • How to create a unique temp table then automatically remove after the join?

    i have many users simultaneously accessing the web apps.
    my problem is on how to solve the SELECT WHERE IN('..') clause..
    i've read a lot of threads that with the same option..
    1) open connection and start transaction
    2) create temp table
    3) insert the data (batch insert)
    4) do the main goal. SELECT JOIN or SELECT WHERE IN(SUBQUERY).
    5) end transaction and close connection
    how do I assure that the created temp table was remove/drop upon 5) ?
    thanks a lot..

    You can do this using global temporary tables. Also data from temporary table will be automatically deleted after commit but table will remain.
    e.g.
    CREATE GLOBAL TEMPORARY TABLE today_sales
    ON COMMIT DELETE ROWS
    AS SELECT * FROM orders WHERE order_date = SYSDATE;
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#i1006400
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2153132
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2153132
    Regards
    Rajesh
    Edited by: Rajesh on Jun 10, 2010 3:34 PM

  • How to create and deploy a war file on wls using the console

              my question is how to deploy the simpleSession.jsp example in the weblogic/samples/examples/jsp/
              dir examples as a war file on wls cluster what are the steps to do so.. thanks
              in advance
              

    [att1.html]
              

  • How to create and use mutable array of UInt8

    Hello!
    If I get it right, UInt8 *buffer, buffer - is a pointer to a start of array?
    Then how to create and use mutable array of UInt8 pointers?
    The main target is a creation of the module that will store some byte array requests and will send all of them at the propriate moment.

    I try
    - (void) scheduleRequest:(UInt8 *)request {
    if (!scheduledRequests) scheduledRequests = [[NSMutableArray array] retain];
    [scheduledRequests addObject:request];
    But get warning:"passing argument 1 of 'addObject:' from incompatible pointer type"

  • How to create and configure proxies in ADF mobile using OWSM client agent?

    Hi
    Can anyone please tell me how to create and configure proxies in ADF mobile application using Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent. I read it in mobile document that,
    For secured web services, the user credentials are dynamically injected using ADF Mobile uses Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent to create and configure proxies, as well as to request services through the proxies. The user credentials are injected into the OWSM enforcement context when proxies are configured.
    I am new with this OWSM, can anyone please give me some hints like how to proceed further for implementing authentication using OWSM lite mobile ADF Application Agent??
    Thanks in advance
    Raj

    Hi Juan
    The demo is very useful, and in that Shay describes about the remote login using a regular ADF webapplication as a secured one and deploying it into the server. But I would like to know how to create a local login using OWSM client agent? .
    Without creating a regular ADF webapplication, how can i call secured webservices(i.e., by using OWSM client agent how to create and configure proxies to call secured webservice, where the user credentials are injected into webservice request by OWSM client as mentioned in ADF mobile document)??
    Regards
    Raj

  • How to create and execute a function whose return value is  a table

    hi folks ,
    i would like know how to create and execute a function whose return value is a table ,
    am new to pl/sql ,
    my statement for the function is
    SELECT ct.credential_code, c.expiration_date
    FROM certifications c, credential_types ct
    WHERE ct.crdnt_id = c.crdnt_id
    AND c.person_id = person_id;
    i would like to have the result of the above query as return value for the function.
    Thanks in advance ,
    Ashok.c

    hi Ps ,
    Can you please do small sample ,
    that would help me in clear understanding
    thanks in advance
    ashok.c

  • What are message tables and their role?How to create and access them ?

    hi,
    Can any body clarify me about What are messaging tables and their role(use) in DataBase?How to create and access them ?
    Thanks in advance
    Gopi

    If you have doubt that's you have an idea. So, explain your idea please, because I don't see what are "messaging tables".
    Did you say about Oracle database ? Apps ?...
    Nicolas.

  • What is authorization object and how to create it for a table

    Hi All,
    What is authorization object and how to create it for a table?
    Thanks

    Hi
    Authorization
    For authorization checks, there are many ways of linking authorization objects with user actions in an SAP system. The following discusses three possibilities in the context of ABAP programming.
    Authorization Check for Transactions
    You can directly link authorization objects with transaction codes. You can enter values for the fields of an authorization object in the transaction maintenance. Before the transaction is executed, the system compares these values with the values in the user master record and only starts the transaction if the appropriate authorization exists.
    Authorization Check for ABAP Programs
    For ABAP programs, the two objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance) exist. They contains a field P_GROUP that is connected with the program attribute authorization group. Thus, you can assign users program-specific authorizations for individual ABAP programs.
    Authorization Check in ABAP Programs
    A more sophisticated, user-programmed authorization check is possible using the Authority-Check statement. It allows you to check the entries in the user master record for specific authorization objects against any other values. Therefore, if a transaction or program is not sufficiently protected or not every user that is authorized to use the program can also execute all the actions, this statement must be used.
    AUTHORITY-CHECK OBJECT object
                            ID name1 FIELD f1
                            ID name2 FIELD f2
                            ID namen FIELD fn.
    object is the name of an authorization object. With name1, name2 ... , and so on, you must list all fields of the authorization object object. With  f1, f2 ... , and so on, you must specify the values that the system is to check against the entries in the relevant authorization of the user master record. The AUTHORITY-CHECK statement searches for the specified object in the user profile and checks the useru2019s authorizations for all values of f1, f2 ... . You can avoid checking a field name1, name2 ... by replacing FIELD f1  FIELD f2 with DUMMY.
    After the FIELD addition, you can only specify an elementary field, not a selection table. However, there are function modules available that execute the AUTHORITY-CHECK statement for all values of selection tables. The AUTHORITY-CHECK statement is supported by a statement pattern.
    Only if the user has all authorizations, is the return value sy-subrc of the AUTHORITY-CHECK statement set to 0. The most important return values are:
    ·        0: The user has an authorization for all specified values.
    ·        4: The user does not have the authorization.
    ·        8: The number of specified fields is incorrect.
    ·        12: The specified authorization object does not exist.
    A list of all possible return values is available in the ABAP keyword documentation. The content of sy-subrc has to be closely examined to ascertain the result of the authorization check and react accordingly.
    REPORT demo_authorithy_check.
    PARAMETERS pa_carr LIKE sflight-carrid.
    DATA wa_flights LIKE demo_focc.
    AT SELECTION-SCREEN.
      AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    START-OF-SELECTION.
      SELECT  carrid connid fldate seatsmax seatsocc
        FROM  sflight
        INTO  CORRESPONDING FIELDS OF wa_flights
        WHERE carrid = pa_carr.
        WRITE: / wa_flights-carrid,
                 wa_flights-connid,
                 wa_flights-fldate,
                 wa_flights-seatsmax,
                 wa_flights-seatsocc.
      ENDSELECT.
    Regards
    Hitesh

  • How to create and add table type to a DDIC Structure in sap 3.1H

    How to create and add table type to a DDIC Structure in sap 3.1H

    How to create and add table type to a DDIC Structure in sap 3.1H

  • How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit between both.

    How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit and exchange between both types of operating systems.

    Your Windows system will not open any Pages, Numbers or Keynote documents. No applications exist for Windows that can open those formats. You will need to export your documents in Word, Excel and PowerPoint formats, respectively, before you'll be able to view and edit the documents on your Windows system. The iWork documents can natively open Word, Excel and PP documents, though there are limitations on what can be imported (for instance, Numbers does not support all possible Excel functions). Consult the documentation for the relevant iWork application for details on importing and exporting.
    If you are asking how to get the documents from one system to the other, then there are several ways to do that, including file sharing, using an external drive (hard drive, USB flash drive), or emailing the documents to yourself. Which would be best for your situation I can't say without more details about your usage.
    Regarsd.

Maybe you are looking for

  • I cannot open a new tab in the firefox window

    When I click on the new tab nothing will open. I have also tried right clicking on the tab and selecting open a new tab and doing control + T. None of those will open a new tab though, how do I fix this?

  • When connecting to itools an error appears that please check the asccernity please check the itunes seetings

    when connecting to itools an error appears that please check the asccernity please check the itunes seetings plz tell me to coonect it

  • How to dynamically call a Taskflow

    Hi All, We have a task flow say "CreateA". When the parameters are passed to this task flow, it will create some document. Now, this taskflow can be consumed by many teams i.e., when user clicks on "Add" button in the consumer page, this taskflow sho

  • Get rid of the "P" when to close to mic

    I am nto sure how else to explain this but you know when someone holds their mouth too close to the mic and when they pronounce anyting with a "P" in it, the sound spikes and mkaes a loud POP? How do you get rid of that? I have tried "remove pop's an

  • Why can't I save my GIF in Photoshop CS5?

    When I click 'Save for Web and Devices' the window pops up and it starts to load. But then the image goes red. If I click save it says I don't have enough memory to save the image or Photoshop just forces closed. Please help me fix this! What is goin