Missing fields when querying citadel using ADO

Hello everyone.
We are logging 372 data points in citadel.
We have a MS Access application running alongside Lookout that does a lot of processing. We use ADO to query Citadel and pull out the required data across all of the data points.
However, each time the query is run it returns a different number of fields - sometimes 368, 370 other times the full count , 372.
Obviously this is quite a problem.
Any suggestions anyone?
All the best,
Scotty

Hy Scotty,
Obviously you are using ADO ODBC driver that connects to Citadels ODBC driver. I used sometimes the ODBC driver for Citadel but I did not encounter such problems so far.
Do you have maybe a small MS Access example and a database example which would reproduce that behavior? I would be interessed to see how you'll get the different amount of results.
Please, let me know
Roland

Similar Messages

  • Applying functions to database fields when querying for a form field

    Hi,
    how is it possible to apply trim() or another method to the content of a database field when a query is initiated?
    The actual problem is that there are entries in the database which are entailed by a blank and, because the user is not aware of this fact, he cannot be forced to add a blank or % to the form field he is querying.
    Does anyone have an idea how to solve this issue?
    Thank you very much in advance.
    Message was edited by:
    user492074
    null

    The where clause is built that way:
    WHERE (ETN.trim(ETN_PLZ)=:1)
    The error message:
    ORA-00904: "ETN"."TRIM": invalid identifier
    Actually, I guess that the trim statements should surround ETN.ETN_PLZ but that is obviously not the case.
    Apart from that I did not enter 1 as the value to query for.
    Nevertheless, thank you for your help. Forms version is 10.1.2 by the way.

  • Missing field when printing labels with Address Book

    I am would like to print the labels for my clients Christmas Cards, using AddressBook. When doing print > label, I get all their names and addresses on the labal formt that I want but the company name is missing. How do I get AddressBook to include the field "company" into the label ?
    Thanks for help.

    If you need to include the company's and individual's name, here's a work-around:
    1) for each such card, you put the individual's name and leave the Company field empty.
    2) Put the company name in the field for "Street"
    3) Put the street address, including Apt. # in the field for "City"
    4) Now, put the City, State, and Postal Code all in one field: the field for "Country".
    5) save the card.
    When printing labels, proceed as follows:
    1) Print>File>choose your Avery label under "Layout" and then click "Label."
    2) Here, you make sure to check the box so it will "Print country." Don't forget this step, or the whole plan is a failure.
    This works, but it only works if the card is in-putted as described above. It won't work if your cards are already set-up with the "company" field and the "name" field.

  • How to Name Fields when querying database?

    I am trying to query a database and then use "Split Fields" from data manipulation. The table I am querying has 100+ columns which has details about a User. I am able to automate perfectly the way I want.
    The only annoying piece is that when I try to query the published data from split fields, I have to look into the database and find the number and then add it here. Is there a way to name these fields in a friendly way - like Username, phone number, DOB,
    etc etc
    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

    Hi,
    the Integration Pack for SQL form Kelverion is much more comfortable:
    http://www.kelverion.com/integration-packs/ip-sql-server/
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • Query plan changes when query is used in CREATE TABLE AS

    We've puzzled by the fact that EXPLAIN PLAN gives a much different output for a SELECT statement than it does when the same statement is used for CREATE TABLE . . . AS SELECT.
    The bad part is that the CREATE TABLE version performs very badly, and that's what we want the query for.
    Why does this happen? Is there a difference (from the database's point of view) between retrieving a set of rows to display to the user and putting that same set into a new table? Doesn't this make it harder to diagnose and fix query performance problems?
    Here's our query:
    create table query_test AS
    select term, parentTerm, apidb.tab_to_string(cast(collect(trim(to_char(internal)))
                       as apidb.varchartab), ', ') as internal
                 from (
                     select distinct ga.organism as term,
                                     ga.species as parentTerm,
                                     tn.taxon_id as internal
                     from apidb.GeneAttributes ga, SRES.TaxonName tn, sres.Taxon t,
                          dots.AaSequence aas, dots.SecondaryStructure ss
                     where ga.organism = tn.name
               and tn.taxon_id = t.taxon_id
                       and t.taxon_id = aas.taxon_id
       and aas.aa_sequence_id = ss.aa_sequence_id
               and t.rank != 'species'
               union
                     select distinct ga.species as term,
                       '' as parentTerm,
                                     ts.taxon_id as internal
                     from apidb.GeneAttributes ga, SRES.TaxonName tn, apidb.taxonSpecies ts,
                          dots.aasequence aas, dots.SecondaryStructure ss
                     where ga.organism = tn.name
                      and tn.taxon_id = ts.taxon_id
                      and ts.taxon_id = aas.taxon_id
                     and aas.aa_sequence_id = ss.aa_sequence_id
       group by term,parentTerm;Without the CREATE TABLE, the plan looks like this:
    | Id  | Operation                             | Name                      | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | CREATE TABLE STATEMENT                |                           |  2911 |  5986K|       | 18840   (1)| 00:03:47 |
    |   1 |  LOAD AS SELECT                       | QUERY_TEST                |       |       |       |            |          |
    |   2 |   VIEW                                |                           |  2911 |  5986K|       | 18669   (1)| 00:03:45 |
    |   3 |    SORT GROUP BY                      |                           |  2911 |   332K|       | 18660   (1)| 00:03:44 |
    |   4 |     VIEW                              |                           |  2911 |   332K|       | 18659   (1)| 00:03:44 |
    |   5 |      SORT UNIQUE                      |                           |  2911 |   292K|       | 18659   (6)| 00:03:44 |
    |   6 |       UNION-ALL                       |                           |       |       |       |            |          |
    |*  7 |        HASH JOIN                      |                           |  2907 |   292K|  2160K| 17762   (1)| 00:03:34 |
    |   8 |         TABLE ACCESS FULL             | GENEATTRIBUTES10650       | 40957 |  1679K|       |   795   (1)| 00:00:10 |
    |*  9 |         HASH JOIN                     |                           | 53794 |  3204K|  1552K| 16675   (1)| 00:03:21 |
    |* 10 |          HASH JOIN                    |                           | 37802 |  1107K|       | 12326   (1)| 00:02:28 |
    |* 11 |           HASH JOIN                   |                           | 37945 |   629K|       | 10874   (1)| 00:02:11 |
    |  12 |            INDEX FAST FULL SCAN       | SECONDARYSTRUCTURE_REVIX9 | 37945 |   222K|       |    33   (0)| 00:00:01 |
    |  13 |            INDEX FAST FULL SCAN       | AASEQUENCEIMP_REVIX6      |  7886K|    82M|       | 10816   (1)| 00:02:10 |
    |* 14 |           TABLE ACCESS FULL           | TAXON                     |   514K|  6530K|       |  1450   (1)| 00:00:18 |
    |  15 |          TABLE ACCESS FULL            | TAXONNAME                 |   760K|    22M|       |  2721   (1)| 00:00:33 |
    |* 16 |        HASH JOIN                      |                           |     4 |   380 |       |   886   (1)| 00:00:11 |
    |  17 |         NESTED LOOPS                  |                           |   730 | 64970 |       |   852   (1)| 00:00:11 |
    |* 18 |          HASH JOIN                    |                           |     1 |    78 |       |   847   (1)| 00:00:11 |
    |  19 |           NESTED LOOPS                |                           |       |       |       |            |          |
    |  20 |            NESTED LOOPS               |                           |    17 |   612 |       |    51   (0)| 00:00:01 |
    |  21 |             TABLE ACCESS FULL         | TAXONSPECIES10646         |    12 |    60 |       |     3   (0)| 00:00:01 |
    |* 22 |             INDEX RANGE SCAN          | TAXONNAME_IND01           |     1 |       |       |     2   (0)| 00:00:01 |
    |  23 |            TABLE ACCESS BY INDEX ROWID| TAXONNAME                 |     1 |    31 |       |     4   (0)| 00:00:01 |
    |  24 |           TABLE ACCESS FULL           | GENEATTRIBUTES10650       | 40957 |  1679K|       |   795   (1)| 00:00:10 |
    |* 25 |          INDEX RANGE SCAN             | AASEQUENCEIMP_REVIX6      |   768 |  8448 |       |     5   (0)| 00:00:01 |
    |  26 |         INDEX FAST FULL SCAN          | SECONDARYSTRUCTURE_REVIX9 | 37945 |   222K|       |    33   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       7 - access("GA"."ORGANISM"="TN"."NAME")
       9 - access("TN"."TAXON_ID"="T"."TAXON_ID")
      10 - access("T"."TAXON_ID"="TAXON_ID")
      11 - access("AA_SEQUENCE_ID"="SS"."AA_SEQUENCE_ID")
      14 - filter("T"."RANK"<>'species')
      16 - access("AA_SEQUENCE_ID"="SS"."AA_SEQUENCE_ID")
      18 - access("GA"."ORGANISM"="TN"."NAME")
      22 - access("TN"."TAXON_ID"="TS"."TAXON_ID")
      25 - access("TS"."TAXON_ID"="TAXON_ID")
    46 rows selected.With the CREATE TABLE, the plan for the SELECT alone looks like this:
    | Id  | Operation                           | Name                      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                    |                           |     2 |   234 |  1786   (1)| 00:00:22 |
    |   1 |  SORT GROUP BY                      |                           |     2 |   234 |  1786   (1)| 00:00:22 |
    |   2 |   VIEW                              |                           |     2 |   234 |  1785   (1)| 00:00:22 |
    |   3 |    SORT UNIQUE                      |                           |     2 |   198 |  1785  (48)| 00:00:22 |
    |   4 |     UNION-ALL                       |                           |       |       |            |          |
    |*  5 |      HASH JOIN                      |                           |     1 |   103 |   949   (1)| 00:00:12 |
    |   6 |       NESTED LOOPS                  |                           |   199 | 19303 |   915   (1)| 00:00:11 |
    |   7 |        NESTED LOOPS                 |                           |    13 |  1118 |   850   (1)| 00:00:11 |
    |   8 |         NESTED LOOPS                |                           |    13 |   949 |   824   (1)| 00:00:10 |
    |   9 |          VIEW                       | VW_DTP_E387155E           |    13 |   546 |   797   (1)| 00:00:10 |
    |  10 |           HASH UNIQUE               |                           |    13 |   546 |   797   (1)| 00:00:10 |
    |  11 |            TABLE ACCESS FULL        | GENEATTRIBUTES10650       | 40957 |  1679K|   795   (1)| 00:00:10 |
    |  12 |          TABLE ACCESS BY INDEX ROWID| TAXONNAME                 |     1 |    31 |     3   (0)| 00:00:01 |
    |* 13 |           INDEX RANGE SCAN          | TAXONNAME_IND02           |     1 |       |     2   (0)| 00:00:01 |
    |* 14 |         TABLE ACCESS BY INDEX ROWID | TAXON                     |     1 |    13 |     2   (0)| 00:00:01 |
    |* 15 |          INDEX UNIQUE SCAN          | PK_TAXON                  |     1 |       |     1   (0)| 00:00:01 |
    |* 16 |        INDEX RANGE SCAN             | AASEQUENCEIMP_REVIX6      |    15 |   165 |     5   (0)| 00:00:01 |
    |  17 |       INDEX FAST FULL SCAN          | SECONDARYSTRUCTURE_REVIX9 | 37945 |   222K|    33   (0)| 00:00:01 |
    |  18 |      NESTED LOOPS                   |                           |     1 |    95 |   834   (1)| 00:00:11 |
    |  19 |       NESTED LOOPS                  |                           |     1 |    89 |   833   (1)| 00:00:10 |
    |* 20 |        HASH JOIN                    |                           |     1 |    78 |   828   (1)| 00:00:10 |
    |  21 |         NESTED LOOPS                |                           |       |       |            |          |
    |  22 |          NESTED LOOPS               |                           |    13 |   949 |   824   (1)| 00:00:10 |
    |  23 |           VIEW                      | VW_DTP_2AAE9FCE           |    13 |   546 |   797   (1)| 00:00:10 |
    |  24 |            HASH UNIQUE              |                           |    13 |   546 |   797   (1)| 00:00:10 |
    |  25 |             TABLE ACCESS FULL       | GENEATTRIBUTES10650       | 40957 |  1679K|   795   (1)| 00:00:10 |
    |* 26 |           INDEX RANGE SCAN          | TAXONNAME_IND02           |     1 |       |     2   (0)| 00:00:01 |
    |  27 |          TABLE ACCESS BY INDEX ROWID| TAXONNAME                 |     1 |    31 |     3   (0)| 00:00:01 |
    |  28 |         TABLE ACCESS FULL           | TAXONSPECIES10646         |    12 |    60 |     3   (0)| 00:00:01 |
    |* 29 |        INDEX RANGE SCAN             | AASEQUENCEIMP_REVIX6      |   768 |  8448 |     5   (0)| 00:00:01 |
    |* 30 |       INDEX RANGE SCAN              | SECONDARYSTRUCTURE_REVIX9 |     1 |     6 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       5 - access("AA_SEQUENCE_ID"="SS"."AA_SEQUENCE_ID")
      13 - access("ITEM_1"="TN"."NAME")
      14 - filter("T"."RANK"<>'species')
      15 - access("TN"."TAXON_ID"="T"."TAXON_ID")
      16 - access("T"."TAXON_ID"="TAXON_ID")
      20 - access("TN"."TAXON_ID"="TS"."TAXON_ID")
      26 - access("ITEM_1"="TN"."NAME")
      29 - access("TS"."TAXON_ID"="TAXON_ID")
      30 - access("AA_SEQUENCE_ID"="SS"."AA_SEQUENCE_ID")
    50 rows selected.Edited by: JohnI on Jul 18, 2011 2:19 PM
    Edited by: JohnI on Jul 18, 2011 2:28 PM

    Charles Hooper wrote a series of blog entries on a similar topic some time ago: http://hoopercharles.wordpress.com/2010/12/15/select-statement-is-fast-insert-into-using-the-select-statement-is-brutally-slow-1/ (including a lot of useful comments) and two following articles. I have to confess that I did not read the posts again - but I think you will find some good ideas how to analyze the problem.
    Regards
    Martin Preiss

  • Missing keyword when try to use MERGE

    I have COUNT_STATISTICS table that needs to be updated daily.
    MODEL
    NEW_COUNT
    NEW_DATE
    OLD_COUNT
    OLD_DATE
    PRNCT_CHANGE
    XEDHRD
    5206358
    21-AUG-13
    0
    19-AUG-13
    (null)
    XLIMS
    72669230
    21-AUG-13
    72669230
    20-AUG-13
    0
    XEDHRD
    5206358
    22-AUG-13
    5206358
    21-AUG-13
    0
    XLIMS
    72859644
    22-AUG-13
    72669230
    21-AUG-13
    0.262
    so on and so forth...
    Sometimes I have a new MODEL name coming in and I have to account for that and create a row in the table in that case.
    Other times, all I have to do is INSERT new row in the table with new values.
    Simple right?
    Well, I was trying to use MERGE INTO but it is giving me problems...
    This is what I did assuming I manually went in the table and added a new MODEL name and zeros for other columns before I did insertion...
    #!/bin/bash
    MODEL=$1
    sqlplus -S username/password << EOF
    whenever sqlerror exit 1;
    set echo on
    set verify off
    INSERT INTO SEMANTIC.COUNT_STATISTICS(MODEL,NEW_COUNT,NEW_DATE,OLD_COUNT,OLD_DATE)
    SELECT MODEL,
            SELECT COUNT(*)
            FROM TABLE(SEM_MATCH(
                    ?s ?p ?o
             }',SEM_Models('$MODEL'),NULL,
            SEM_ALIASES(SEM_ALIAS('','http://VISION/DataSource/SEMANTIC#')),NULL))
        SYSDATE,
        NEW_COUNT,
        NEW_DATE
    FROM SEMANTIC.COUNT_STATISTICS
    WHERE MODEL = '$MODEL'
    AND NEW_DATE = (
                    select max(NEW_DATE)
                    from SEMANTIC.COUNT_STATISTICS
                    where MODEL = '$MODEL'
    update SEMANTIC.COUNT_STATISTICS
    set prnct_change =
       (NEW_COUNT-OLD_COUNT)/NULLIF(OLD_COUNT,0)*100
    where model = '$MODEL'
    AND NEW_DATE = (
                    select max(NEW_DATE)
                    from SEMANTIC.COUNT_STATISTICS
                    where MODEL = '$MODEL'
    COMMIT;
    exit;
    EOF
    Now I added MERGE in front of INSERT so it checks if the MODEL name doesn't exist-it creates it:
    MERGE INTO SEMANTIC.COUNT_STATISTICS s
    USING (SELECT '${MODEL}' AS MODEL, 0 AS NEW_COUNT, SYSDATE AS NEW_DATE,
      0 AS OLD_COUNT, SYSDATE AS OLD_DATE FROM dual) t
    on (s.MODEL = t.MODEL)
    when not matched then
    INSERT (s.MODEL, s.NEW_COUNT, s.NEW_DATE, s.OLD_COUNT, s.OLD_DATE)
    VALUES (t.MODEL, t.NEW_COUNT, t.NEW_DATE, t.OLD_COUNT, t.OLD_DATE);
    My code combined...
    #!/bin/bash
    MODEL=$1
      sqlplus -S username/password << EOF
      whenever sqlerror exit 1;
      set echo on
      set verify off
      MERGE INTO SEMANTIC.COUNT_STATISTICS s
      USING (SELECT '${MODEL}' AS MODEL, 0 AS NEW_COUNT, SYSDATE AS NEW_DATE, 0 AS OLD_COUNT, SYSDATE AS OLD_DATE FROM dual) t
      on (s.MODEL = t.MODEL)
      when not matched then
      INSERT (s.MODEL, s.NEW_COUNT, s.NEW_DATE, s.OLD_COUNT, s.OLD_DATE)
      VALUES (t.MODEL, t.NEW_COUNT, t.NEW_DATE, t.OLD_COUNT, t.OLD_DATE);
      exit;
    EOF
    model_exists () {
      sqlplus -s username/password <<!
        set heading off
        set feedback off
        set verify off
        set pages 0
        SELECT count(MODEL)
        FROM SEMANTIC.COUNT_STATISTICS
        where MODEL ='$MODEL' AND TO_DATE(NEW_DATE, 'DD-MON-YY') = TO_DATE(SYSDATE, 'DD-MON-YY');
        exit;
    modelcount=$(model_exists $1)
    if [ "${modelcount:-0}" -ne 0 ]; then
        sqlplus -S username/password << EOF
        whenever sqlerror exit 1;
        set echo on
        set verify off
        INSERT INTO SEMANTIC.COUNT_STATISTICS(MODEL,NEW_COUNT,NEW_DATE,OLD_COUNT,OLD_DATE)
        SELECT MODEL,
      SELECT COUNT(*)
      FROM TABLE(SEM_MATCH(
      '{?s ?p ?o }',SEM_Models('$MODEL'),NULL,
      SEM_ALIASES(SEM_ALIAS('','http://VISION/DataSource/SEMANTIC#')),NULL))
        SYSDATE,
        NEW_COUNT,
        NEW_DATE
        FROM SEMANTIC.COUNT_STATISTICS
        WHERE MODEL = '$MODEL'
        AND NEW_DATE = (
      select max(NEW_DATE)
      from SEMANTIC.COUNT_STATISTICS
      where MODEL = '$MODEL'
      COMMIT;
      exit;
    EOF
    else
       sqlplus -S  username/password << EOF
      whenever sqlerror exit 1;
      set echo on
      set verify off
      UPDATE COUNT_STATISTICS
      SET  MODEL = '$MODEL',
      NEW_COUNT = (SELECT COUNT(*) FROM TABLE(SEM_MATCH('{?s ?p ?o}',SEM_Models('$MODEL'),NULL,
      SEM_ALIASES(SEM_ALIAS('','http://VISION/DataSource/SEMANTIC#')),NULL))
      NEW_DATE  = SYSDATE,
      OLD_COUNT = NEW_COUNT,
      OLD_DATE  = NEW_DATE
      WHERE MODEL = '$MODEL'
      AND NEW_DATE = (
      select max(NEW_DATE)
      from SEMANTIC.COUNT_STATISTICS
      where MODEL = '$MODEL'
      COMMIT;
      exit;
    EOF
    fi
    sqlplus -S username/password << EOF
      whenever sqlerror exit 1;
      set echo on
      set verify off
      update COUNT_STATISTICS
      set prnct_change =
        (NEW_COUNT-OLD_COUNT)/NULLIF(OLD_COUNT,0)*100
      where model = '$MODEL'
      AND NEW_DATE = (
      select max(NEW_DATE)
      from SEMANTIC.COUNT_STATISTICS
      where MODEL = '$MODEL'
      COMMIT;
      exit;
    EOF
    But this is creating two rows if it is a new MODEL, ie:
    ./load_myScript.sh  MODELNAME
    MODEL
    NEW_COUNT
    NEW_DATE
    OLD_COUNT
    OLD_DATE
    PRNCT_CHANGE
    MODELNAME
    72669230
    22-AUG-13
    0
    22-AUG-13
    (null)
    MODELNAME
    0
    22-AUG-13
    0
    22-AUG-13
    (null)
    This is not what I want. I want to create a new row if it doesn't exist and then update that same one for that day. But tomorrow it should INSERT a new one for that same MODEL name.
    Does anyone see what I am doing wrong?

    Hi,
    MODEL is an Oracle keyword, so it causes confusion to have a column named MODEL.  Errors like "Missing Keyword" can occur when  Oracle thinks you're talking about the MODEL clause, rather than the column.
    The best solution is not to use Oracle keywords (as found in v$reserverd words) for you own column names, or other identifiers.  MODEL_NAME and MODEL_ID are good names for columns
    If you really must use that column name, qualify it with the table name, and/or put the column name in double-quotes (case-sensitive), e.g.
    count_statistics."MODEL"

  • Workflow Notification missing field that was retrieved using RFC

    Hi,
    We create a dispute case from out r3 system in transaction FBL5N. 
    This create a dispute case in the FSCM System and an event is created which initiates a workflow.  This workflow sends a notification mail to the person responsible informing them of this dispute case.
    Customer name field (kna1-name1) is not available in the FSCM System. 
    In order to get this we do a RFC in the business object BUS2022001 to get the customer name from R3.
    This RFC works ok when you goto test the business object.
    However when the dispute case is created and notification mail send, the customer name is missing.  If I goto the workflow log in FSCM the customer name will be there.
    It appears as if the rfc to read the customer name into the business object in the fscm system fails to pick up the customer name initially but it will afterwards ( when you goto view the log).  How can I delay the send notification step to ensure that customer name is populated in the business object before the mail is send.
    Thanks
    Ann

    Hi,
    I read your threat and saw that your WF is working for Dispute Cases,
    I am trying to set this up and have some problems with it.
    MAybe you can be a help here.
    Did you had to change the standard workflow from SAP to make this work (add triggering events for example) or do further settings apart from the standard customisation in Dispute SPRO and general WF customisation?
    In the case modeler, did you add a node with an entry for WF with ANCHOR and attribute WFATT?
    Thanks a lot
    Hein

  • PDF form created from excel is missing fields when copied into word ... sometimes but not others...

    Hello,
    As part of my dissertation project I have created countless tables in excel.  Using the Save as PDF feature on Mac Office Word 2011 I created that tables as PDF's which I dropped into my word document and Cropped them down to size.
    For some reason, when I open the word document on the PC, some of the info in the tables is randomly gone.  Also, when we send the word file (with embeded PDF's) to a journal for publication they try to combine all the files as a PDF and the tables again lose data.
    1) Why is this happening?
    2) I also noticed that in Mac Word 2011 I had an option to "Save as Adobe PDF". when I select this option I am given several other options (see below) for the type of PDF that will be created.  Which of these options would be ideal to overcome the problem listed above.
    high quality print
    oversized pages
    PDF/A-1b:2005 (CMYK)
    PDF/A-1b:2005 (RBG)
    PDF/X-1a:2001
    PDF/X-3:2002
    Smallest File Size
    Standard
    Thanks,
    Paul

    Hmm -- one of my customers is a turkish building company
    (Kusadasi BTW), and when *they* add some contents to the DB,
    they´ll be entering turkish chars. It´s in particular the
    turkish "I" which is pretty different, and this is when a search
    for keywords containing a western "I" will fail.
    Could that be the problem in your case ?

  • Missed calls when using Safari

    I've noticed that sometimes I miss calls when I'm using Safari. Has anyone else seen this?
    Thanks,
    Sam

    Is there a reason that EDGE can't carry an alert signal while downloading?
    Good Q. EDGE can do exactly that, if the network is set to Network Operation Mode One (NOM-1).
    In that case, the paging signal is copied over the data download side of things. Then a phone that knows how, can notice it and alert the user to make a choice.
    NOM-1 is rare in the U.S., though.

  • Selecting first N characters when querying the CMS

    I am trying to retrieve only the first 6 characters of the SI_KEYWORDS field when querying the CMS from within the SDK.  When testing within QueryBuilder the following in bold does not work, although LEFT is a command for achieving this in SQL.  Can someone help me to know if this is possible within QueryBuilder SQL and if so how to achieve it?
    Select LEFT(SI_KEYWORD,6) as keyword, SI_NAME From CI_INFOOBJECTS, CI_SYSTEMOBJECTS, CI_APPOBJECTS WHere SI_KIND='webi'
    and SI_KEYWORD != '' and SI_KEYWORD != 'Hidden' and SI_KEYWORD != 'Auditor'
    ORDER BY keyword, SI_NAME
    Thanks,
    Dave

    Hi Ted,
    Thanks for your reply.  I understand the querying of the CMS better after reading it. 
    We are utilizing the keywords field and the description field to obtain some metadata about our reports that I need to access from java code.  Unfortunately, we have 4 different pieces of metadata we want to store and only the 2 fields in which to store them, so we are using delimiters in the keywords field to separate the values.  For example, we have "value1value2" as the keyword field in one report, but in another report if value2 is blank we simply have "value1".  This works well as we just parse the delimiters in java and we can store the 2 different values in the one keyword field.  The part that is not working well with this approach, though, is ordering the results.  We want to order the reports by value1 and then by SI_NAME.  Because some of the reports have value1value2 and others just have value1 it throws this ordering off if I use "ORDER BY SI_KEYWORD, SI_NAME". 
    I've been looking for ways to get around this without doing a re-sort in Java and this is all I could think of:
    1. Are there some additional user-defined fields that we could expose in the report properties in the CMC, and then retrieve via Query Builder / SDK?  Something like SI_UDF1, SI_UDF2, etc.  All we could find were keywords and description.
    2. Using a SUBSTR or LEFT-like function on the keywords field so that it only gets value1 for sorting purposes only, but still retrieve the entire keywords field in the SELECT.  I understand now based on your explanation that this will not work as (if I understand correctly) it would modify the report object in the CMS to set the keyword to the truncated value.
    Any advice you could offer would be greatly appreciated.  I know I can always bite the bullet and do the sorting java-side once I get the resultset back, but I was hoping to avoid the performance hit of doing that.
    Thanks,
    Dave

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Meaning only field does not work when querying

    Hi
    I am working with Designer 6i R4.11
    In my generated forms I have columns/fields based on "domains/lovs". The domain property "dynamic list" is set to yes and I have all my values in a cg_ref_codes table.
    Now when I am doing a query in my form and I use the lov-button of the "domain-field", the query will work fine. When I just type in the value in the field without using the lov, the query will always return all values.
    There is no trigger or code generated to fill in the database-column value in query-mode, so form a form builder point of view it makes sense.
    I have the impression this used to work years ago. Is there a property I didn't set or am I missing something?
    Thanks in advance for your help.
    Karine

    Seems to me that you need to set the display width to be wide enough for all possible meanings in the LOV, rather than wide enough for the field itself. But I may have misunderstood the question. or misremembered the answer - it has been a while.

  • Missing Field error when modifying user Master Record

    We are using our corporate LDAP to authenticate our portal users and do not have (nor do we want) write permission to the LDAP. We are using additional attributes (ume.admin.addattrs) to hold information pertinent to the portal. We are running into a problem though when required information is missing from the LDAP user master record. For example, if the users email address is missing, when we attempt to save a user's record with the additional attributes we need, the system responds with a "Missing Field" error message and will not save the additional attribute until the LDAP record is complete. Currently the only work around to this problem is to notify the LDAP administrators and have them update the record (not a high priority for them).
    Is there a way to have the portal ignore incomplete records and just save what it has?
    Thanks
    Ken Burd

    We are using our corporate LDAP to authenticate our portal users and do not have (nor do we want) write permission to the LDAP. We are using additional attributes (ume.admin.addattrs) to hold information pertinent to the portal. We are running into a problem though when required information is missing from the LDAP user master record. For example, if the users email address is missing, when we attempt to save a user's record with the additional attributes we need, the system responds with a "Missing Field" error message and will not save the additional attribute until the LDAP record is complete. Currently the only work around to this problem is to notify the LDAP administrators and have them update the record (not a high priority for them).
    Is there a way to have the portal ignore incomplete records and just save what it has?
    Thanks
    Ken Burd

  • ORA-0907 error when querying XMLDB Table using XMLExists

    Hi All,
    Get ORA-00907 error when trying to use XMLExists:
    SELECT *
    FROM tnmab_agreement_xml_binary A
    WHERE
    ( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]')
    passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
    OR
    ( XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/NamedCustomerGroups/NamedCustomer/SAP_IDs/StringWrappers[Value="$ARG"]')
    passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")
    ORA-00907: missing right parenthesis
    *00907. 00000 - "missing right parenthesis"*
    **Cause:*
    **Action:*
    Error at Line: 6 Column: 176
    Any help is appreciated
    Thanks
    Auro

    XMLExists('declare default element namespace "http://com.oocl.schema.tnm.agreementbuilder"; $XML/Agreement/ShippingPartyGroups/ShippingParties/CustomerHolder[SAP_ID="$ARG"]'
    passing agreements.AGREEMENT_XML as "XML", '5000003001' as "ARG")no ')' after the closing quote

  • Missing Text when using CONVERT to PDF

    I am using Acrobat Pro 9 in Wnidows 7 and Microsoft Publisher 2003.
    When I use the CONVERT command to create a PDF - it is missing all of the text on the master page.
    If I create the PDF with the PRINT command - everything is OK.
    PS: The same Publisher File on another computer using Acrobat Pro 8 works fine - CONVERT or PRINT and no missing text
    I prefer to use convert because sometimes the PRINT command drops some of the hyperlinks.
    [edited by forum host - email removed]

    Hi,
    Could you mail be the file with which you are seeing the issue. I will investigate at my end to see what the issue is. You can mail me at [email protected]
    Thanks,
    Love Bisht

Maybe you are looking for