Truncating values in column

Our application (using CR 9.x) gets installed and when I run a report the values in the far right column are fine. I install another application (not ours) which uses CR 8.5 and now my first application doesn't print the far right column correctly. Every value is off by a multiple of 10. If a value was suppose to be $240,560 it now displays $24,056. It's been divided by 10. The whole column does this. I was hoping if I reinstalled our application it would fix the problem but it didn't. Why is it dividing ALL of my numbers on the CR report by 10?
Brian

Hello Brian,
First, I moved this thread to the Legacy Application Development SDKs forum because it does not appear that you're using the Enterprise SDKs.
Crystal Reports 8.5 is pretty old, and never supported side by side installations.  Most of the runtime files were dropped into the System32 folder, or a Crystal folder under System32.  Crystal Reports 9 is the first version to support side by side installation and can usually be made to work with the older version.
Since the behavior is changing after installing CR8.5 it's probably an issue with a DLL version.  This may be an installation issue related to install order.  Is the CR9 application being installed first?  Have you tried installing the CR8.5 application first?
You can download the [Modules utility|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] to help track down which DLLs are loading.  This may show that an v8.5 DLL is loading incorrectly.  There's a read me file in the download.  Run it on the machine when the formatting is correct.  When the report loads run Modules and save the results.  Next run it on the machine when the formatting is incorrect.  Again, when the report loads run Modules and save the results.  You can then open both .MDL files in Modules and do a File > Differences comparison for the EXE.  You can then work to address any differences.
Sincerely,
Dan Kelleher

Similar Messages

  • JCo getting truncated value from SAP when field data type is RAW

    We are trying to fetch data from a SAP-AII table by using JCo using the RFC RFC_READ_TABLE.
    We are getting incomplete data when the data type of the column is RAW in a particular table.A typical case is:
    Table Name: /AIN/DM_DEVCTR
    Field : CLIENT                Type: CLNT    Length:3      Value: 100                                                            (SAP Generated)
    Field:  DEVCTR_GUID    Type:RAW      Length:16    Value: 306F50F53805ED488DE9797AC86B5728     (SAP Generated)
    Filed:  DEVCTR_ID         Type:CHAR    Length:128   Value: KDEVICECONTROLLER                             (User input)
    For the fields CLIENT and DEVCTR_ID we get the entire value (including blank spaces) but for DEVCTR_GUID we get only 16 characters whereas SAP-AII stores a value that is 32 characters in length. How do we fetch the actual value instead of the truncated value?
    Sample code is attached.
              try {
                   mConnection = JCO.createClient("100", // SAP client
                             "User", // userid
                             "Password", // password
                             "EN", // language
                             "SAP", // host name
                             "00"); // system number
                   mConnection.connect();
                   if (mConnection == null) {
                        System.out.println("Connection to SAP Server failed.");
                   mRepository = new JCO.Repository("User", mConnection);
                   ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
              JCO.Function function = ftemplate.getFunction();
              JCO.ParameterList importParamList = function.getImportParameterList();
              importParamList.setValue("/AIN/DM_DEVCTR", "QUERY_TABLE");
              importParamList.setValue(";", "DELIMITER");
              JCO.Table tableData = function.getTableParameterList().getTable("DATA");
              JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
              mConnection.execute(function);
              if (tableData.getNumRows() > 0) {
                   do {
                        for (JCO.FieldIterator e = tableData.fields(); e
                                  .hasMoreElements();) {
                             JCO.Field field = e.nextField();
                             String str = field.getString();
                             String[] values = str.split(";");
                             for(int i = 0; i < values.length; i++){
                                  System.out.println(values<i>);
                   } while (tableData.nextRow());
              } else {
                   System.out.println("No results found");
              mConnection.disconnect();

    Hi Kaanu,
       You have to modify your java code.
    String val = new String( field.getByteArray());
    PS: Please reward points for helpful answer or problem resolved.

  • [Forum FAQ] SharePoint 2013: Extracting values from a multi-value enabled lookup column and merge values to a multi-value enabled column

    For some business requirements, users want to extract values from a multi-value enabled lookup column
    and add items to another list based on each separate value. In contrast, others want to find duplicate values in the list and merge associated values to a multi-value enabled column and then
    add items to another list based on the merged value. All of these can be achieved using SharePoint Designer 2013 Workflow.
    How to extract values from a multi-value enabled lookup column and add items to another list based
    on each separate value using SharePoint Designer 2013.
    Important actions: Loop Shape; Utility Actions
    Three scenarios
    Things to note
    Steps to create Workflow
    How to merge values to a multi-value enabled column and add item to another list based on the
    merged value using SharePoint Designer 2013.
    Important actions: Call HTTP Web Service; Build Dictionary
    Things to note
    Steps to create Workflow
    How to
    extract values from a multi-value enabled lookup column and
    add items to another list based on each separate value using SharePoint Designer 2013.
    For example, they have three lists as below. They want to
    extract values from the Destinations column
    in Lookup2 and add items to Lookup3 based on each country and set Title to current item: ID.
    Lookup1:
    Title (Single line of text)
    Lookup2:
    Title (Single line of text), Destinations (Lookup; Get information from: Lookup1 in Title column).\
    Lookup3:
    Title (Single line of text), Country (Single line of text).
    Important action
    1. Loop Shape: SharePoint Designer 2013 support two types of loops: loop n times and loop with condition.
    Loops must also conform to the following rules:
    Loops must be within a stage, and stages cannot be within a loop.
    Steps may be within a loop.
    Loops may have only one entry and one exit point.
    2. Utility Actions: It contains many actions, such as ‘Extract Substring from Index of String’ and ‘Find substring in String’.
    Three scenarios
    We need to loop through the string returned from the look up column and look for commas. There are three
    scenarios:
    1.  No comma but string is non-empty so there is only one country.
    2.  At least one comma so there is at least two or more countries to loop.
    3.  In the loop we have consumed all the commas so we have found the last country. 
    Things to note
    There are two things to note:
    1. "Find string in string (output to Variable:index)"  will return -1 if doesn't find
    the searched for string.
    2. In the opening statement "Set Variable: Countries to Current Item:Destinations" set the return
    field as  "Lookup Values, Comma Delimited".
    Steps to create Workflow
    Create a custom list named Lookup1.
    Create a custom list named Lookup2, add column: Destinations (Lookup; Get information from: Lookup1 in Title column).
    Create a custom list named Lookup3, add column: Country (Single line of text).
    Create a workflow associated to Lookup2.
    Add conditions and actions:
    Start the workflow automatically when an item is created.
    Add item to Lookup2, then workflow will be started automatically and create multiple items to lookup3.
    See the below in workflow History List:
    How to merge values to a multi-value enabled column and add item to another list based on the
    merged value using SharePoint Designer 2013
    For example, they have three lists as below. They want to find duplicate values in the Title column in
    Lookup3 and merge country column to a multi-value enabled column and then add item to lookup2 and set the Title to Current Item: Title.
    Lookup1:
    Title (Single line of text)
    Lookup3:
    Title (Single line of text), Country (Single line of text).
    Lookup2:
    Title (Single line of text), Test (Single line of text).
    Important actions
    "Call HTTP Web Service"
    action: In SharePoint 2013 workflows, we can call a web service using a new action introduced in SharePoint 2013 named Call HTTP Web Service. This action
    is flexible and allows you to make simple calls to a web service easily, or, if needed, you can create more complex calls using HTTP verbs as well as allowing you to add HTTP headers.
    “Build Dictionary"
    action:
    The Dictionary variable type is a new variable type in the SharePoint 2013 Workflow.
    The following are the three actions specifically designed for the Dictionary variable type: Build Dictionary, Count Items in a Dictionary and Get an Item from a Dictionary.
    The "Call HTTP Web Service" workflow action would be useless without the new "Dictionary" workflow action.
    Things to note
    The
    HTTP URI is set to https://sitename/_api/web/lists/GetByTitle('listname')/items?$orderby=Id%20desc and the HTTP method is set to “GET”. Then the list will be sort by Id in descending order.
    Use Get
    d/results(0)/Id form
    Variable: ResponseContent (Output to
    Variable: maxid) to get the Max ID.
    Use Set
    Variable: minid to Current List:ID to get the Min ID.
    Use Copy from
    Variable: destianation , starting at
    1 (Output to
    Variable: destianation) to remove the space.
    Steps to create Workflow
    Create a custom list named Lookup1.
    Create a custom list named Lookup2, add column: Test (Single line of text).
    Create a custom list named Lookup3, add column: Country (Single line of text).
    Create a workflow associated to Lookup3.
    Add a new "Build Dictionary" action
    to define the http request header:
    Add a Call HTTP Web Serviceaction, click on
    this and paste your http request.
    To associate the
    RequestHeader variable, select the Call action property,
    set the
    RequestHeaders property to
    RequestHeader:
    In the Call action, click on
    response and associate the response to a new
    variable: ResponseContent (of type Dictionary).
    After the Call action add Get item from Dictionary action to get the Max ID.
    Add Set Workflow Variable action to get the Min ID.
    Add Loop Shape (Loop with Condition) to get all the duplicate titles and integrate them to a string.
    Create item in Lookup2.
    The final Stage should look like this:
    Start the workflow automatically when an item is created.
    Add item to Lookup3, then workflow will be started automatically and create item to lookup2.
    See the below in workflow History List:
    References
    SharePoint Designer 2013 - Extracting values from a multi-value enabled lookup column into a dictionary as separate items:
    http://social.technet.microsoft.com/Forums/en-US/97d34468-1b53-4741-88b0-958472f8ca9a/sharepoint-designer-2013-extracting-values-from-a-multivalue-enabled-lookup-column-into-a
    Workflow actions quick reference (SharePoint 2013 Workflow platform):
    http://msdn.microsoft.com/en-us/library/jj164026.aspx
    Understanding Dictionary actions in SharePoint Designer 2013:
    http://msdn.microsoft.com/en-us/library/office/jj554504.aspx
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013:
    http://msdn.microsoft.com/en-us/library/office/dn567558.aspx
    Calling the SharePoint 2013 Rest API from a SharePoint Designer Workflow:
    http://sergeluca.wordpress.com/2013/04/09/calling-the-sharepoint-2013-rest-api-from-a-sharepoint-designer-workflow/

    GREAT info, but it may be helpful to note that when replacing a portion of the variable "Countries" with a whitespace character, you may cause the workflow to fail in a few specific cases (certain lookup fields will not accept this and will automatically
    cancel).  I only found this out when recreating your workflow on a similar, but much more complex list set.  
    To resolve this issue, I used another utility action (Extract Substring from Index of List) to clear out the whitespace.  I configured it as "Copy from
    Variable: Countries, starting at
    1 (Output to Variable: Countries), which takes care of this issue in those few cases.
    Otherwise, WOW!  AWESOME JOB!  Thanks!  :)

  • Values from columns of datatable...

    Hi guys,
    i'm working with my jsf application to create a datatable.
    It works well,but now i've added a commandlink button to dynamically adding a new column(i use this datatable for input data,each row is an experiment).
    It works fine,column is correctly added.
    At the end of each row of my datatable i've a submit button to send values of the row into db.
    My question is:
    My datatable has 5 fixed fields and other dinamic fields that user can add with button. My 5 fixed values have to go into a table(and it works) and i want that dynamic values(that use has added) go into another table,each one as a different row.
    Example
    usa italy french england japan rome tokyo
    i want usa italy french englan japan go into a table(as a row) and rome tokio goes into another table
    rome
    tokio(different rows).
    How can i do it?
    My problem is i'm not able to binding the dynamic input fields to bean....can you help me?
    Here is my class
    public class BiosamplesTable {
         private List biosamples= new ArrayList();
         private HtmlDataTable biosampleDataTable;
    private int autokey2;
         private Biosample biosampleItem;
         private int nrows;
         private DataModel mColumns;
         private int load=0;
         private String columnLabel;
         public HtmlDataTable getBiosampleDataTable()  {
              return biosampleDataTable;
         public void setBiosampleDataTable(HtmlDataTable biosampleDataTable) {
              this.biosampleDataTable = biosampleDataTable;
         public Biosample getBiosampleItem() {
              return biosampleItem;
         public void setBiosampleItem(Biosample biosampleItem) {
              this.biosampleItem = biosampleItem;
         public List getBiosamples() throws Exception {
              loadBiosamples();
              // Reload after every request.
              return biosamples;
         public void setBiosamples(List biosamples) {
              this.biosamples = biosamples;
         public void loadBiosamples() throws Exception {
              if (load==0){
              for (int i = 0; i < nrows; i++) {
                   Biosample biosample = new Biosample();
                   biosamples.add(biosample);
                   setBiosamples(biosamples);
                   load=1;
              else
                   setBiosamples(biosamples);
         public int getNrows() {
              return nrows;
         public void setNrows(int nrows) {
              this.nrows = nrows;
         public DataModel getColumnDataModel()
             if (mColumns == null)
               String[] result = new String[]{};//sono le colonne di partenza,in questo caso 1!!!
               mColumns = new ListDataModel(new ArrayList(Arrays.asList(result)));
             return mColumns;
         public void addColumn(ActionEvent e)
             if(columnLabel!=null);//metter l'if
               List columns = (List) getColumnDataModel().getWrappedData();
               columns.add(columnLabel);
         public String getColumnLabel(){
              return columnLabel;
         public void setColumnLabel(String columnLabel){
              this.columnLabel=columnLabel;
    }and this is my jsp page
    <t:dataTable
        value="#{biosamplesTable.biosamples}"
        var="biosampleItem"
         binding="#{biosamplesTable.biosampleDataTable}" border="3" bgcolor="pink" >
        <h:column >
            <f:facet name="header">
                <h:outputText value="Organism"/>
            </f:facet>
           <h:selectOneMenu value="#{biosampleItem.organism}">
                <f:selectItems value="#{biosample.selectOrganism}"/>
           </h:selectOneMenu>
        </h:column>
        <h:column>
            <f:facet name="header">
                <h:outputText value="Treatment Protocol" />
            </f:facet>
            <h:inputText value="#{biosampleItem.treatmentProtocol}" />
        </h:column>
        <h:column >
            <f:facet name="header">
                <h:outputText value="Extraction Method" />
            </f:facet>
            <h:inputText value="#{biosampleItem.extractionMethod}" />
        </h:column>
        <h:column >
            <f:facet name="header">
                <h:outputText value="Label"/>
                </f:facet>
            <h:inputText value="#{biosampleItem.label}" />
        </h:column>
        <h:column>
            <f:facet name="header">
                <h:outputText value="Hybridation" /></f:facet>
            <h:inputText value="#{biosampleItem.hybridation}" />
        </h:column>
        <h:column>
            <f:facet name="header">
                <h:outputText value="Amplification" /></f:facet>
            <h:inputText value="#{biosampleItem.amplification}" />
        </h:column>
        <t:columns value="#{biosamplesTable.columnDataModel}" var="column"  >
         <f:facet name="header">
        <h:panelGroup>
        <h:outputText value="#{column}" />
        <h:commandLink actionListener="#{biosamplesTable.removeColumn}">
        <h:outputText value="Elimina"/>
        </h:commandLink>
        </h:panelGroup>
        </f:facet>
             <h:inputText value="#{biosampleProperties.value}" />
        </t:columns>
        <h:column>
            <f:facet name="header">
                <h:outputText value="Actions" />
            </f:facet>
            <h:commandLink
            value="Invia dati biosample" actionListener="#{biosamplesTable.editBiosample}" id="editBiosample">
            </h:commandLink>
        </h:column>
        </t:dataTable>     i want the values of each added column goes as different row into a biosampleProperties table....
    Thanks..

    u can't achieve this with DataTable u need tu use JSTL ...exactly the
    C-Tag
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

  • CE function to get distinct values from Column table

    Hi All,
    Could you please let me know the appropriate CE function to get the distinct values from column table.
    IT_WORK = SELECT DISTINCT AUFNR FROM :IT_WO_DETAILS;
    Thank you.

    Hi,
    If you have 10g, you can use Model( with model performance is better than connect by )
    Solution
    ========================================================================
    WITH t AS
    (SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 1234.567432, 1234.567432, 0989.726332'
    txt
    FROM DUAL)
    SELECT DISTINCT TRIM(CHAINE)
    FROM T
    MODEL
    RETURN UPDATED ROWS
    DIMENSION BY (0 POSITION)
    MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
    RULES
    (CHAINE[FOR POSITION FROM  1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
    CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
    =========================================================================
    Demo
    =======================================================================
    SQL> WITH t AS
    2 (SELECT '0989.726332, 1234.567432, 3453.736379, 3453.736379, 0989.726332, 3453.736379, 123
    4.567432, 1234.567432, 0989.726332'
    3 txt
    4 FROM DUAL)
    5 SELECT DISTINCT TRIM(CHAINE)
    6 FROM T
    7 MODEL
    8 RETURN UPDATED ROWS
    9 DIMENSION BY (0 POSITION)
    10 MEASURES (CAST( ' ' AS VARCHAR2(50)) AS CHAINE ,txt ,LENGTH(REGEXP_REPLACE(txt,'[^,]+',''))+1 NB_MOT)
    11 RULES
    12 (CHAINE[FOR POSITION FROM  1 TO NVL(NB_MOT[0],1) INCREMENT 1] =
    13 CASE WHEN NB_MOT[0] IS NULL THEN TXT[0] ELSE REGEXP_SUBSTR(txt[0],'[^,]+',1,CV(POSITION)) END );
    TRIM(CHAINE)
    3453.736379
    1234.567432
    0989.726332
    SQL>
    ========================================================================

  • REP-1425 report formula DO_SQL error putting value into column

    Hi all
    I have opened a report 2.5 in Oracle9i Reports Developer and, it converted ok. However, when I run the report (paper layout), the message
    rep-1425 report formula DO_SQL error putting value
    into column. Column may not be referenced by parameter
    triggers
    appears. There are several report level formula columns and corresponding placeholder columns that are the cause of this error. The formula has the following :
    SRW.DO_SQL('SELECT RPAD(''DAILY TABLE AUDIT REPORT'',60,''.'')||TO_CHAR(SYSDATE,''DD-MON-YYYY'') INTO :REPORT_TIT FROM DUAL');
    COMMIT;
    RETURN('');
    I can't work out what this error message really means as the column, report_tit is a placeholder column and, the formula column is not a parameter trigger!! The report_tit placeholder is used as a source for a layout field. I noticed that the layout field is defined as a placeholder column in the converted report but in the reports 2.5 version, it is defined as a layout field.
    I can do a work around by replacing the SRW.DO_SQL statement with a normal PL/SQL SELECT statement. However, I wonder if anyone else has had the same problem and, if anyone can help provide an answer as to what this error really means and, also, how I can retain the SRW.DO_SQL statement and/or an alternative work around to the one that I have described.
    Thanks.
    Therese Hughes
    Forest Products Commision

    Hi again
    The firewall proved to be the problem after all! The firewall set in Reports config-files is not used for WebServices, it has to be set within the stub:
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","yourProxyServer");
    prop.put("http.proxyPort","youProxyServerPort");
    I inserted this in my java-code and after some problems (see below), restarting Report Builder turned the trick, the report works now.
    Cheers
    Tino
    Here there mail I set up before I found that restarting Report Builder helped:
    Thanks for your answer, putting in the proxy-settings actually helped some - the same error message is
    popping up, but instantly and not after 10 seconds like before:
    My proxy lines look like this, I also tried "http://proxy.ch.oracle.com", but "proxy.ch.oracle.com" proved to
    be the correct syntax:
    public Float getRate(String country1, String country2) throws Exception
    Float returnVal = null;
    Properties prop = System.getProperties();
    prop.put("http.proxyHost","proxy.ch.oracle.com");
    prop.put("http.proxyPort","8080");
    URL endpointURL = new URL(endpoint);
    Call call = new Call();
    I tested the new proxy-entries by disabling the proxy preference in JDeveloper, so I could verify the added
    proxy-lines in the code work - they do. If I change the proxy to some incorrect value like
    "proxyy.ch.oracle.com", they fail.
    After unsuccessfully trying recompile and re-import of Java classes, I rebuild the report from scratch and
    stumbled over the same problem. Now the question is, whether I'm still doing something wrong with the
    proxy or whether there is another problem after passing the firewall....
    -------------------------------------------------------------------------------------------------------------

  • Default values of columns not transferred in SSIS Transfer Objects Task

    I am working on a project that is creating a new application, my area of the project being the migration of data from the old application database, transforming it, and populating the new database.
    The transformations to the old data are done in a staging database.
    At the end of the process, the staging database ends up with a lot of new applications tables, populated with the migrated legacy data.
    We need to move these tables from the staging database to (initially) our test databases, but ultimately what will be the live database.
    We have tried using the "Transfer SQL Server Objects Task" in SSIS, but have ran into a problem that a lot of the database tables have default values for columns.
    These default values are not brought over.
    Example. Tables contain a "GUID" field, which has a default of value of newid()
    Right clicking and the table generating the CREATE script generates 
    [GUID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_tbCRM_Client_GUID] DEFAULT (newid()),
    However, the Transfer objects task does not create this default of newid()
    Examining the SQL generated by the Import / Export Wizard when investigating this shows that the wizard generates this column as
    [GUID] uniqueidentifier NOT NULL
    and the column default value is lost.
    Is there something i should be setting somewhere to force SSIS to bring these column definitions over correctly?

     Kaarthik Sivashanmugam wrote:
    This behavior is by design to maintain backward compatibility with the Copy SQL Server Objects task in SQL Server 2000. Only two constraints (Primary key and foreign key constraints) are expected to be copied by Transfer Objects task.
    thank you for you response Sivashanmugam.
    How can I move these tables (of which there are over a hundred) from my staging database into the application database - and keep the table definitions correct?
    I cannot use the transfer objects task, as this will not define the tables correctly.
    I cannot use the import and export wizard, as this will also not define the tables correctly.
    This means I will manually have to code the drop, create and inserts for over a hundred tables?

  • Default cell values for column not properly saved in uir file in labwindows 2009 (9.1.0 427)?

    I've run into a strange problem with the table control.  Basically, even though I set default cell values for a particular column as numeric, when I try to add items to the list it tries to add them as strings, and returns an error message that it is expecting *char instead of int.  Furthermore, when I open the uir file that contains the table in question in 2010, it appears as if the default cell values for that column are still set as strings, even though in 2009 when I open the uir file it shows as numbers.  I tried converting the uir to C code, and sure enough the C code indicated that the column still is a string type.
    I've gone ahead and made a small project to show the issue.  If you open this project in labwindows 2009 and click on the table in the table_bug.uir, and edit default cell values for column 1, you will see that the cell settings have type as numeric and data type as int.  When you run the project, however, it will fail with an error message saying that it is looking for a *char.  When this same project is loaded into labwindows 2010, clicking on the table in table_bug.uir and edit default cell values (column 1) shows the type as string.  When I change this to numeric (and change numeric attribute to int), this runs fine in 2010.  I tried simply changing the uir in 2010, and then using it in 2009, but 2009 complains that the uir is from a newer version (understandable).  If there is any workaround that would let me continue to use 2009 for the time that would be great.
    Any help would be greatly appreciated.
    thanks,
    Alex Corwin
    Solved!
    Go to Solution.
    Attachments:
    table_bug.zip ‏324 KB

    I opened the UIR in 2009 (but I have 2009 SP1) and it still showed that the default value for the first column was a string. I didn't have any problems changing it to a numeric int, and then building and running the project without error.
    Here are a few things you can try:
    1) Change the default value to a string. OK out of the dialog, re-enter the dialog, and change it back to Numeric int. Resave and see if the problem has gone away.
    2) You said you get a ".UIR is from a newer version" error when opening the 2010 UIR in 2009. Does the UIR still open if you click okay? Often times this will work just fine. Assuming you don't have any problems with this, make a minor change to the UIR in 2009, such as moving the table to the left, and then back to the right and then re-save. See if your program works now.
    Kevin B.
    National Instruments

  • ORA-23460: missing value for column column name in resolution method

    Hi All,
    We have implemented bi-directional replication via oracle streams..Oracle 10g 10.2.0.4
    We are getting following error in conflict resolution .ORA-23460: missing value for column "ASSIGNED_APPL_USER_ID" in resolution method "<method>" for
    "TMADMIN"."PATIENT_VISITS"."REP_UPDATE" ORA-01403: no data found .
    Above column ASSIGNED_APPL_USER_ID is NULL column ,We are using MAXIMUM resolution method for update conflict handler .We tried many times on toad the same scenarios and working fine.
    We have set supplemental logging on primay and unique columns.
    I found many docs on internet and they all said add supplemental logging on all columns.
    We did set up like this ...:
    DECLARE
    COLS DBMS_UTILITY.NAME_ARRAY;
    BEGIN
    cols(1) := 'STUDY_ID';
    cols(2) := 'KENDLE_STUDY_SUB_ID';
    cols(3) := 'SITE_ID';
    cols(4) := 'PATIENT_ID';
    cols(5) := 'VISIT_NUMBER';
    cols(6) := 'VISIT_TYPE';
    cols(7) := 'VISIT_DATE';
    cols(8) := 'CRF_COLLECTION_DATE';
    cols(9) := 'DT_CREATED';
    cols(10) := 'DT_MODIFIED';
    cols(11) := 'MODIFIED_BY';
    cols(12) := 'MONITOR_VISIT_DATE';
    cols(13) := 'UNSCHEDULED_VISIT_REASON';
    cols(14) := 'LAST_SCHEDULED_VISIT_NUMBER';
    cols(15) := 'VISIT_DATE_IN_TRIALBASE';
    cols(16) := 'PROJECTED_VISIT_DATE';
    cols(17) := 'SEND_CERTIFIED_LETTER_YN';
    cols(18) := 'ASSIGNED_APPL_USER_ID';
    cols(19) := 'DATE_CERTIFIED_LETTER_SENT';
    cols(20) := 'DURATION_OF_CALL_IN_MINUTES';
    cols(21) := 'COMPLETED_APPL_USER_ID';
    cols(22) := 'CALL_STATUS';
    cols(23) := 'VISIT_HYPERLINK';
    cols(24) := 'NEXT_CALL_DATE';
    cols(25) := 'DT_PMNT_REQUESTED_TO_SPONSOR';
    cols(26) := 'VISIT_DATE_NAP_YN';
    cols(27) := 'MONITOR_VISIT_DATE_NAP_YN';
    cols(28) := 'CRF_COLLECTION_DATE_NAP_YN';
    cols(29) := 'IMPORTED_SUBJECT_VISIT_DATE';
    cols(30) := 'REMINDER_SENT_DATE';
    DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(
    OBJECT_NAME =>'TMADMIN.PATIENT_VISITS',
    METHOD_NAME =>'MAXIMUM',
    RESOLUTION_COLUMN =>'DT_MODIFIED',
    COLUMN_LIST =>cols);
    END;
    DT_MODIFIED is our resolution columns......
    Any help would be appreciate...
    Thanks in advance.
    Thanks,
    Nick.

    You should post this question the Oracle Server forums.
    Good luck!
    Warm regards.
    ashok

  • Reporting counts on multi-value lookup columns

    Hi,
    I have a list containing 2 columns - student, and subjects. Subjects is a multi-value lookup column. Students may study multiple subjects. What I'm trying to achieve is a simple pie chart (I don't care if it's done using SharePoint Web Part, Excel or
    SSRS) that displays a breakdown of how many students are studying each subject.
    So if I have 2 list entries:
    Person 1, Science, Maths
    Person 2 , Maths
    Person 3 , Science
    The report/chart would report  2 Science and 3 Maths. What I'm struggling with is that because the data is stored in an un-normalized fashion ('#;') separated it's not possible to do straight charts without coding (C# or VBS). I
    would have assumed that this issue would be widely spread but I've had no luck looking through forums. Does anyone have any experience/;ideas on how to handle this??
    Thanks.
    MDB

    Hi
    From your description, my understanding is that you want to get counted values of a Multi-Value lookup column.
    You can get counted values of a Multi-Value lookup column
    in DVWP using XSLT.
    Refer to the following post:
    https://social.msdn.microsoft.com/Forums/en-US/f9d4cf16-4460-48a7-9514-dee19503b9fc/getting-counted-values-of-a-multivalue-lookup-column-in-dvwp-using-xslt?forum=sharepointdevelopmentprevious
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Setting default value to columns on tabular form is not working.

    Hi,
    I created a tabular form and i want to set some default values to columns based on the values in page items.
    so i set the page item to column value in tabular form attributes by selecting the Default type as PLSQL Expression & Function DEFAULT value &P24_ISSUE_ID. it worked fine but
    in the similar way i tried for the another column by selecting the default type as pl/sql expression & function and default value &P24_CASE_NAME.
    but it throwing an error for this like failed to parse SQL query:    ORA-00904: "C254DB": invalid identifier
    i don't understand where i gone wrong even i checked for the data types of the columns, everything is fine.
    so please help me out of this problem.

    Tulasi 1243 wrote:
    for the first column
    i selected
    DEFAULT TYPE as PL/SQL Expression & FUNCTION
    Default as *&P24_ISSUE_ID.* This is a number data type column
    2nd column
    Default Type as PL/SQL Expression & Function
    Default as *&P24_CASE_NAME.* This is Varchar2 data type column.The appropriate options for a default value from a page item are Item (application or page item name) for Default Type and the item name ( P24_ISSUE_ID, P24_CASE_NAME etc) for Default.
    *&P24_ISSUE_ID.* is not a "PL/SQL Expression or Function".
    but it throwing an error for this like failed to parse SQL query: ORA-00904: "C254DB": invalid identifierWhat you are doing results in the APEX engine substituting the P24_CASE_NAME value "C254DB" into the default value and then trying to evaluate this string as a piece of PL/SQL. Outside of a block in which it is defined as a variable, constant or function "C254DB" is not a valid PL/SQL expression.

  • Checkbox and ORA-20507: Invalid numeric value #:# for column

    Hi All,
    I'm facing problems Checkboxes in a form.
    I created a form and report on a table. one of the fields on the form is a checkbox and when ever I want to create a new record or update with more than one value for the checkkbox I obtain the following error:
    ORA-20507: Invalid numeric value #:# for column COLUMN_NAME Where by #:# is numbers
    I think the error occurs at the processes of get_pk and process_row_of_......
    how should I change the processes to accommodate the checkbox values.
    Kind regards
    Mel

    Hi Roel,
    Colunm = number
    LOV Definition
    select product display, prod_num return from product_category_vw
    where prod_num not in (select p.prod_num from product_user_tb p, user_tb u
    where p.user_num = u.user_number
    and u.user_name = :APP_USER)
    ORDER BY 1column = number
    LOV Definition
    select school d, sch_id r from school_tbRegards
    Mel

  • Computing default value for column MRU. error.

    hi
    we moved from apex 3.x to 4.2
    AN apex application was working fine..After upgrade it gave error while trying to insert using apex front end
    Error computing default value for column Apply MRU.
    ORA-06550: line 3, column 46: PL/SQL: ORA-00972: identifier is too long
    The PK of the relevant table is based in a sequence.Can i relplace old seq. using new seq...will it help?
    When we insert using regular insert statement in sql developer, its fine though.
    thanks
    kp
    Edited by: user8612301 on Mar 15, 2013 7:09 AM

    Hi,
    Remember the error says "default value". What is your code to set the default value?
    I've seen this error before where it was simply a statement like
        column = "text123456789012345678901234567890";where the identifier error was given because it should have been
       column = 'text123456789012345678901234567890';Since the string doesn't begin with an apostrophe, the parse thinks it's a LONG identifier. Hence, error!
    Howard

  • How to select the larger value of column?

    I would like a cell value (here E8) to be for example: (max $E$1:E7) + B8. Where all previous E column values were find the same calculation except for E1 that is a simple number and not a calculation? It does not work. It give the result for E1 + B8. The larger value should be E7. So the correct result should be E7 + B8 but if there is no value in E7 I want it to choose the larger number of the E column so far. Does some one can help me?

    Hi Frederic,
    If I understand "Where all previous E column values were find the same calculation except for E1", you want each cell, starting at E2 to contain this formula.
    E2: =MAX($E$1:E1)+B2          E8: =MAX($E$1:E7)+B8
    If that's the case, then "there is no value in E7" would never occur, and, unless the value of Bn were negative, the maximum value in column E would always be the one immediately above the formula.
    In that case, this simpler formula would produce the same result:
    E2: =E1 + B2                        E8: =E7 + B8
    Regards,
    Barry

  • Regarding alv function of summing up the values of  columns.

    hi friends:
       could you please tell me how to sum up the values of  columns.
    for example, there are columns of room rent, expense of cell phone call,
    expense of taxi fee.
    thank you very much

    hi For calculating one more coloum . try this logic
    write this piece of code in wddoinit
    data : lt_column type salv_wd_t_column_ref,
             ls_column type salv_wd_s_column_ref,
             lo_aggr_rule TYPE REF TO cl_salv_wd_aggr_rule.
    * display columns in correct order
      lr_column_settings ?= wd_this->lr_config.
      lt_column = lr_column_settings->get_columns( ).
    loop at lt_column into ls_column.
        case ls_column-id.
          when 'ROOM_RENT'.
    * aggregate field
            call method lr_config->if_salv_wd_field_settings~get_field
              exporting
                fieldname = 'ROOM_RENT'
              receiving
                value     = lr_room_rent_total.
    * create aggregate rule as total
            call method lr_field_amnt->if_salv_wd_aggr~create_aggr_rule
              exporting
                aggregation_type = if_salv_wd_c_aggregation=>aggrtype_total
              receiving
                value            = lv_aggr_rule.
          when 'CALL'.
    * aggregate field
            call method lr_config->if_salv_wd_field_settings~get_field
              exporting
                fieldname = 'CALL'
              receiving
                value     = lr_call_AVG.
    * create aggregate rule as total
            call method lr_field_amnt->if_salv_wd_aggr~create_aggr_rule
              exporting
                aggregation_type = if_salv_wd_c_aggregation=>AGGRTYPE_AVERAGE
              receiving
                value            = lv_aggr_rule.
        endcase.
    endloop.
    Regards
    Chinnaiya

Maybe you are looking for

  • Quality drop of film in idvd disc image or DVD

    I've made some films in FCE HD exported them to QT and used a idvd (6.0.3) theme to write a dvd, all I I should and have done many many times before. All the films exported to QT are in good quality when you watch them in QT, even if you play them in

  • How to get the one attribute value in another attribute getter method

    Hi, I have a requirement to get one attribute's value in the another attribute getter or setter method. Help needed ASAP. Thanks, sreenivas.

  • Conversion of PFD to DOC

    I can't export a pfd to a doc without Title letters, like for chapters or introductions to chapters or inside a chapter being opposite size from the original. Can this be fixed? "Does" being doES or "around" being AroUnd

  • I pod color

    Why does my computer say ipod manager interal error when I plug in my usb cable?

  • Poor service again.......

    I'm hoping that I'll get more help here than I can get from so called "customer services". I'm seriously disabled with osteo arthritis and an incurable kidney disease. I take nearly 100 assorted tablets everyday and have to drink 8 litres of fluid. I