FM9 Save CMYK As PDF again: different results for instances of one character

Hi,
  A customer sent me an FM9 document that uses the Symbol font. When he saves the document as PDF, without converting CMYK to RGB, one instance of a character in this font appears in the PDF as a different character in the same font. Other instances of the same character in the same document are fine. Saving as PDF changing CMYK to RGB produces correct results.
  Does this sound like the usual don't-use-CMYK-and-Save-as-PDF-with-FM9 type of problem? Or should we look for something else?
  Minor variations of the document cause the problem to go away:
1. Deleting some earlier instances of characters in this font cause the problematic one to appear as expected.
2. Some characters in this font occur in tables. Converting those tables to paragraphs "fixes" the problem.
3. Saving as PDF under Win 7 from FM10 and FM 11 produces expected results.
  We have only seen the problem on a Win 7 system. On Vista and XP, we get correct results. Editing the document on Vista and saving it as PDF on Win 7, however, fails. A MIF wash does not fix it. Deleting and reinserting the problematic character or the table row in which it occurs does not fix it. While the original document was structured, removing structure did not fix it. Nor did changing master pages.
  We started with a longer document and repeatedly deleted content until we had a much shorter document that fails. Somewhere along the line, the erroneous character changed
  We can change the documents for this project to convert CMYK. I just don't know if doing so simply masks one particular instance of a general problem, or if CMYK is the real problem.
  Thoughts?
     --Lynne

Lynne,
The FM9 and first versions of FM10 (fixed with the 10.0.2 patch) had very buggy behaviours if the SaveAsPDF to CMYK option was used. Many fonts (notably OTF Pro and WGL-TT fonts) would drop characters or even entire blocks of text. The RGB option worked properly. The underlying cause was in part to due to using the old Unix Level1 PS header code for the postscript headers in the CMYK mode.
If the client still has to use FM9 and needs proper CMYK, then I would highly recommend that they use Jacob Schäffer's PubliPDF (now on a GPL license, i.e. a freebie). This maps the postscript RGB output colours to CMYK via user specified settings before invoking Distiller.
It can be downloaded from here: http://design.grafikhuset.dk/index.php/kontakt/downloads/grafikhuset-publi-pdf
For more details and documentation, see: http://www.grafikhuset.net/PubliPDF/

Similar Messages

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • When I download a PDF, a user manual for instance, the page is black and the font is green, how do I change this to a white page and black script?

    When I download a PDF, a user manual for instance, the page is black and the font is green, how do I change this to a white page and black script?

    Try opening it with Adobe Acrobat Reader. 
    Note: Appleworks is the Apple office like application that stopped being able to run with Mac OS X 10.6.8.  If you have a question particular to 10.9, I would ask in the 10.9 (OS X Mavericks) forum.

  • PreparedStatement & regular Statement - different results for same select

    I was wondering if someone could either
    i) try this out for me to confirm my results or
    ii) let me know what I am doing wrong
    I'm one of the developers on a product and am currently investigating localization for the Thai language...just checking to see that Java and Swing have no problems with it. The only bewildering thing which has happened is noticing that some values which are fetched from the database display in Thai perfectly and other values display as a garble. Sometimes the exact same column is displayed correctly in one part of the program but is not OK in another part. I think I've figured out what it going on and suspect a bug in Oracle's JDBC:
    Some selects were configured as PreparedStatements and those return the Thai properly. The more common case however was for programmers to use a simple Statement object for their select and it is in those that the multi-byte strings don't get returned properly.
    The following code shows the problem that I am experiencing. I am basically executing the exact same select in 2 different ways and they are both giving different results as long as the column being queried contains a Thai character. If someone could grab and check it out and let me know if they see the same thing, I'd appreciate it. Just change the column/table name and the username/password/databaseIP to get it to run.
    <code>
    import java.sql.*;
    public class SelectTest {
    public static void main(String[] args) {
    try {
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@10.4.31.168:1524:ora8",
    "dms_girouard",
    "girouard");
    String sqlCommand = "select C0620_Title from T0620_SwSheet";
    Statement statement = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_READ_ONLY);
    ResultSet resultSet1 = statement.executeQuery(sqlCommand);
    while (resultSet1.next()) {
    if (resultSet1.getString("C0620_Title") != null) {
    System.out.println("resultSet1 Title = " + resultSet1.getString("C0620_Title"));
    PreparedStatement preparedStatement = conn.prepareStatement(sqlCommand);
    ResultSet resultSet2 = preparedStatement.executeQuery();
    while (resultSet2.next()) {
    if (resultSet2.getString("C0620_Title") != null) {
    System.out.println("resultSet2 Title = " + resultSet2.getString("C0620_Title"));
    catch (Exception e) {
    System.out.println(e.getMessage());
    </code>

    Hi Peter,
    Are you using NCHAR column for Thai , or is your database character set set for Thai.
    If you are using a NCHAR column for holding Thai data, then you have to use the
    OraclePreparedStatement.setFormOfUse(...) before executing the select.
    Regards
    Elango. Hi Elangovan,
    Thank you for answering.
    The datatype on the column is VARCHAR2.
    I did my initial tests without doing anything special to make sure the database is localized for Thai, and I was happy to find that almost everything still worked fine - I was able to save and retrieve Thai strings to the database almost perfectly.
    The only problem I discovered was the difference between Statement and PreparedStatement selects on a column containing Thai. Colleagues of mine have said they see the same thing when testing on a Oracle database which has been configured specifically for the Thai customer.
    I read somewhere that the current JDBC drivers are using an older version of the Unicode standard than the most current version of the Java SDK and that it was causing some problems with Korean. I'm wondering if maybe it's the same problem with Thai.

  • P/L A/c for a single day gives different results for different users

    Hi!
         We have SAP B1 8.81 (PL 09) in our office. P/L Account for a particular date gives different value for a single account (Other Income Account) for one user and a consistent value for all other users. The user in question is a super user and does not seem to pick a specific entry posted in the Other Income Account for that day thus giving erroneous result. I have checked the Trial Balance for that day and it gives proper result. Only the P/L account gives erroneous data. Could anyone help with the reason for this.
    Thanks
    Sreekumar

    Hi Jitin,
              Thanks for your reply.
              I tried the way you mentioned. However, the result is the same.
              The entry that I'm talking about is an automatic journal entry posted through the Outgoing Payment option.
              To make it more clear, an outgoing payment to a vendor was posted on 05/19/11 for 1,42,178.32. The check was drawn only for 71,089.16 which was the correct amount and the remaining amount (71,089.16) got posted in the Other Income account. The P/L account for this date is not picking the amount of 71,089.16 in the Other Income Account.
    Thanks & Regards
    Sreekumar
    Edited by: Sreekumar on Jan 31, 2012 5:58 PM

  • Different results for same query on different servers

    1. database being converted from 7.3.4 to 9.2
    2. query is executed on both servers
    3. different results!
    The tables and data are the same, and indexes are setup on new server. EXPLAIN PLAN was run on both but with (predictably) widely different results.
    I know, not much detail here, but has anyone ever ran into anything like this?
    Thanks,
    Pat

    Folks,
    Here is the relevant information for this problem. The attributes have been changed for confidentiality. If you need any other information let me know.
    Thanks,
    Pat
    Query:
    SELECT
    one,two,three,four,a.five,six,seven,
    a.eight,a.nine,
    to_char(ten,'99999.99'),to_char(eleven,'99999.99'),
    to_char(twelve,'99999.99'),to_char(thirteen,'99999.99'),
    fourteen,fifteen,sixteen,seventeen,eighteen,
    nineteen,twenty,twentyone
    FROM
    table1 a,
    table2 b
    WHERE
    a.five = b.five
    AND one = 'X'
    AND six = ' '
    AND three != 12345
    AND three IN
    (SELECT DISTINCT
    three
    FROM table3
    WHERE
    one = 'X'
    AND twentytwo = 'XYZ'
    AND twentythree != 0
    AND twentyfour != 0
    AND twentyfive = 'Y'
    AND (a.five IN
    (SELECT DISTINCT
    five
    FROM table1
    WHERE
    one = 'X'
    AND three IN (12345)
    Table1:
    one          varchar2(1)     not null     PK
    two          varchar2(20)     not null     PK
    three          number(5)     not null     PK
    four          number(2)     not null     PK
    five          number(6)     not null     PK
    six          varchar2(4)     not null     PK
    seven          number(4)     not null
    eight          varchar2(8)     not null
    nine          date          not null
    ten          number(7,2)
    eleven     number(7,2)
    twelve     number(7,2)
    thirteen     number(7,2)
    Table2:
    five          number(6)     not null     PK
    fourteen     varchar2(5)     not null
    fifteen     varchar2(5)     not null
    sixteen     varchar2(2)     not null
    seventeen     varchar2(35)     not null
    eighteen     varchar2(4)     not null
    nineteen     varchar2(2)
    twenty     varchar2(1)
    twentyone     number(6)
    Table3:
    one          varchar2(1)     not null     PK
    twentytwo     varchar2(12)     not null     PK
    two          varchar2(20)     not null     PK
    three          number(5)     not null     PK
    four          number(2)     not null     PK
    twentysix     number(2)     not null     PK
    twentyfive     varchar2(1)     not null
    nine          date          not null
    twentythree     number(13,8)     not null
    twentyfour     number(12,8)     not null
    twentyseven     varchar2(1)     not null
    eight          varchar2(8)     not null
    Explain - Oracle9i (default, with CBO):
    SELECT STATEMENT
    RECURSIVE EXECUTION SYS_LE_3_0
    RECURSIVE EXECUTION SYS_LE_3_1
    TEMP TABLE TRANSFORMATION
    HASH JOIN
    HASH JOIN
    HASH JOIN
    TABLE ACCESS FULL SYS_TEMP_0FD9D6603_AB874A
    TABLE ACCESS BY INDEX ROWID TABLE1
    BITMAP CONVERSION TO ROWIDS
    BITMAP AND
    BITMAP MERGE
    BITMAP KEY ITERATION
    TABLE ACCESS FULL SYS_TEMP_0FD9D6603_AB874A
    BITMAP CONVERSION FROM ROWIDS
    INDEX RANGE SCAN TABLE1INDEX03
    BITMAP MERGE
    BITMAP KEY ITERATION
    TABLE ACCESS FULL SYS_TEMP_0FD9D6602_AB874A
    BITMAP CONVERSION FROM ROWIDS
    INDEX RANGE SCAN TABLE1INDEX04
    TABLE ACCESS FULL SYS_TEMP_0FD9D6602_AB874A
    TABLE ACCESS FULL TABLE2
    Query results - Oracle9i (with CBO):
    X|A | 1| 0| 22| | 1|08-MAR-02|XYZ | | 24.00| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|B | 2| 1| 22| | 7|04-DEC-01|XYZ | | 3.25| 8.00| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|C | 3| 1| 22| | 1|14-AUG-02|XYZ | | 10.35| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|D | 4| 1| 22| | 6|11-JUL-02|XYZ | | .00| 13.90| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    (approximately 4550 rows returned)
    Explain - Oracle9i (ALTER SESSION SET OPTIMIZER_METHOD=RULE;):
    SELECT STATEMENT
    MERGE JOIN
    SORT JOIN
    NESTED LOOPS
    NESTED LOOPS
    VIEW VW_NSO_1
    SORT UNIQUE
    TABLE ACCESS BY INDEX ROWID TABLE3
    INDEX RANGE SCAN TABLE3INDEXPK
    TABLE ACCESS BY INDEX ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    TABLE ACCESS BY INDEX ROWID TABLE2
    INDEX UNIQUE SCAN TABLE2INDEXPK
    SORT JOIN
    VIEW VW_NSO_2
    SORT UNIQUE
    TABLE ACCESS BY INDEX ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    Explain - Oracle 7.3.4:
    SELECT STATEMENT
    MERGE JOIN
    SORT JOIN
    NESTED LOOPS
    NESTED LOOPS
    VIEW
    SORT UNIQUE
    TABLE ACCESS BY ROWID TABLE3
    INDEX RANGE SCAN TABLE3INDEX03
    TABLE ACCESS BY ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    TABLE ACCESS BY ROWID TABLE2
    INDEX UNIQUE SCAN TABLE2INDEXPK
    SORT JOIN
    VIEW
    SORT UNIQUE
    TABLE ACCESS BY ROWID TABLE1
    INDEX RANGE SCAN TABLE1INDEX03
    Query results - Oracle 7.3.4:
    X|A | 1| 0| 22| | 1|08-MAR-02|XYZ | | 24.00| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|B | 2| 1| 22| | 7|04-DEC-01|XYZ | | 3.25| 8.00| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|C | 3| 1| 22| | 1|14-AUG-02|XYZ | | 10.35| | |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|D | 4| 1| 22| | 6|11-JUL-02|XYZ | | .00| 13.90| |ABCDE|FGHIJ|AB|ABCDEFG |ABC | | | |
    X|E | 5| 5| 23| | 1|22-FEB-01|XYZ | | 211.80| | |ABCDE|EFGHI|AB|HIJKLMN |DEF | | | |
    (approximately 1150 rows returned)
    Indexes (used):
    TABLE1INDEX03     (three)
    TABLE1INDEX04     (five)
    TABLE2INDEXPK     (five)
    TABLE3INDEXPK     (one,twentytwo,two,three,four,twentysix)
    Discussion:
    Notice the repeating result for X,E,5,5,23,.... in the Oracle9i retrieval using CBO.
    The execution of this query returned approximately four times the number of rows as
    Oracle 7.3.4 using RBO. This is a function of how many "fours" there are in table3
    that have matching "threes and fours" in table1. If you put a DISTINCT clause at the
    very front of the query (SELECT DISTINCT one,two,three ....) then the result is
    accurate and the same as Oracle 7.3.4. In one execution of this query, 27,000 rows
    are expected to be returned, but the server returned over 1 million rows!
    When RBO was used on Oracle9i, the results were identical to the ones on Oracle 7.3.4.

  • List of deployed applications. Different results for different MBean hierarchies

    Hello there,
    When I list the deployed applications, I am getting different results depending what MBean hierarchy I am querying:
    serverConfig():
    wls:/MY_WEBLOGIC_DOMAIN/serverConfig> listApplications() APPLICATION_1APPLICATION_2
    domainRuntime():
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls()
    -r--   ApplicationIds                               java.lang.String[APPLICATION_1, APPLICATION_2, APPLICATION_3]
    Any idea why is APPLICATION_3 in the list?
    Thanks in advance,
    Luis
    ps: if I ask directly to the managed server:
    wls:/MY_WEBLOGIC_DOMAIN/domainRuntime/ServerRuntimes/prodGAD_1> ls('ApplicationRuntimes')
    dr--   bea_wls9_async_response
    dr--   bea_wls_cluster_internal
    dr--   bea_wls_deployment_internal
    dr--   bea_wls_diagnostics
    dr--   bea_wls_internal
    dr--   APPLICATION_1
    dr--   APPLICATION_2

    Hello Vijaya,
    Thanks for your answer, yes you are right, in my config.xml I can see that application:
      <app-deployment>
        <name>APPLICATION_3</name>
        <target>...</target>
        <module-type>ear</module-type>
        <source-path>...ear</source-path>
        <security-dd-model>DDOnly</security-dd-model>
      </app-deployment>
    But at the moment that I read your response I had already restarted the AdminServer. This re-start has solved the issue.
    Thanks,
    Luis

  • Date function giving different results for different connections

    Hi there,
    I am relatively new to BusinessObjects universe design, so please forgive me if this turns out to be a UTS (user-too-stupid) error.
    I have created two universes. They are identical apart from the fact that they connect to different data marts (a live one and a testing one).
    Within both universes there is an object with the following SQL:
    CAST(CAST(( DispatchDateCalendar.yearNumber ) AS VARCHAR) + '/' + CAST(( DispatchDateCalendar.monthNumber ) AS VARCHAR) + '/01 00:00:00' AS DATETIME)
    When  I use the universe using WEBI connected to one data mart, I correctly get a set of dates and a corresponding set of dates with the day set to 1 (e.g. 23 Mar 2005 and 1 Mar 2005), but I change the WEBI query to point to the other universe, it incorrectly sets the month to 1 and leaves the day alone (i.e. the above to 23 Jan 2005).
    When I run this using MS SQL Server Management Studio as part of a query against either data mart, I get the same results for both data marts:
    SELECT
      DispatchDateCalendar.date,
      CAST(CAST(( DispatchDateCalendar.yearNumber ) AS VARCHAR) + '/' + CAST(( DispatchDateCalendar.monthNumber ) AS VARCHAR) + '/01 00:00:00' AS DATETIME)
    FROM
      DIMVolume INNER JOIN DIMIssue ON (DIMVolume.volumeKey=DIMIssue.volumeKey)
       INNER JOIN DIMCalendar  DispatchDateCalendar ON (DIMIssue.issuePublicationDate=DispatchDateCalendar.date)
    WHERE
      DIMVolume.volumePublicationYear  =  2008
    Has anyone got any advise on how I go about finding the cause of this problem and correcting it?
    I asked our DBA who said he wouldn't know where to start looking.
    Thanks in advance,
    Paul

    Don't have any links (oracle documentation search?). Currently the databases I work with are mostly NLS_CHARACTERSET WE8MSWIN1252 and I need to ensure that '£' and other characters are displayed correctly so a few years ago (after a little googling about the difference between windows and command line tools) I put host chcp 1252 in my glogin.sql.

  • Inspection results for more than one lot

    How do i see inspection results for different lots of the same material together in a single screen. Is there any standard report or query available in SAP?
    Prahlad

    Dear Prahlad
    You can see it in ways
    1) Go to QS28. Input the plant and the mic and execute. You will get MIC details. Choose the MIC and click on Result history. A pop will appear Result history Limit Selection. In the Time Tab you can see inspection lot selection date From and To. Execute you will get the entire list of lots
    3) Go to QA33 > result> Select the Mic> go Result historyhistory >In the Time Tab you can see inspection lot selection date From and To. Execute you will get the entire list of lots with all values and charts
    4) standard reports such MCXD,QGP1 can be used
    Hope this helps
    Regards
    gajesh

  • Is it possible to create a PDF with different colors for screen and printing?

    I'm working on a document that features light colored text on a dark background. I'll be sending this document as a PDF to someone who will likely want to print it. Is it possible to set up the document such that it will display this way when viewed on screen, but will print as black text on a white background, without requiring any special action on the part of the recipient?
    Printing a color separation of just the text color produces exactly the results I'm after, but I can't ask the recipient to do that. I need it to happen automatically any time it's printed.
    I've tried setting up a duplicate text layer in black and placing it under the background layer, then setting the background layer and colored text to 'never print'. This works within Acrobat Pro, but not when I print the same document from Preview.
    Is there an acrobat equivalent of a CSS print stylesheet?
    Thanks.

    Create the document in layers with the background on a seperate layer than the text. Export the PDF with"Create Acrobat Layers" selected (it will need to be at least version 1.5).
    Open the PDF in Acrobat, choose the background layer then Options>Properties>Initial State and under "print" choose "Never prints".

  • Different Result for SQL and PL/SQL query..need a bit of help

    If i just run:
    SELECT COUNT(*) from DB where (CLOSE_TIME-OPEN_TIME<5) and (CLOSE_TIME-OPEN_TIME>=1) and OPEN_TIME>'1/1/2011';
    It works great.
    If I run
    BEGIN
    SELECT COUNT(*) from DB where (CLOSE_TIME-OPEN_TIME<5) and (CLOSE_TIME-OPEN_TIME>=1) and OPEN_TIME>'1/1/2011';
    END
    I get the following error.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 3
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-488: invalid variable declaration: object 'NUMBER' must be a type or subtype
    ORA-02063: preceding 2 lines from SMGLINK

    Hi,
    Whenever you have a problem, post a complete test script that people can run to re-create the problem and test their ideas. Include CREATE TABLE and INSERT statements for any or your own tables needed.
    Post the results you want from that sample data.
    Always say which version of Oracle you're using.
    bostonmacosx wrote:
    If i just run:
    SELECT COUNT(*) from DB where (CLOSE_TIME-OPEN_TIME<5) and (CLOSE_TIME-OPEN_TIME>=1) and OPEN_TIME>'1/1/2011';If OPEN_TIME is a DATE, then don't try to compare it to a string, such as '1/1/2011'. (This is not related to the present problem, only a future one.)
    It works great.
    If I run
    BEGIN
    SELECT COUNT(*) from DB where (CLOSE_TIME-OPEN_TIME<5) and (CLOSE_TIME-OPEN_TIME>=1) and OPEN_TIME>'1/1/2011';
    END
    I get the following error.
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 3
    ORA-06552: PL/SQL: Compilation unit analysis terminated
    ORA-06553: PLS-488: invalid variable declaration: object 'NUMBER' must be a type or subtype
    ORA-02063: preceding 2 lines from SMGLINKI would expect a different error "PLS_00428: an INTO clause is expected".

  • Different results for table and dimension operator

    hi
    I am new to Oracle and specially Data Warehousing.
    I created a mapping with a target operator Dimension, it does not give the desired result. Then I changed the target operator to a table, which gives the expected result. All others are the same like the join condition etc.
    I think there is some problem with the dimension, please, help me finding the problem of the dimension.
    Details of the dimension: there are two levels in the dimension. the surrogate key for both the levels is the same (ID) but business keys are different. The business key of the level 1 appears in level 2 and is properly mapped to the same attribute. the surrogate key of both the levels in not mapped to any attributes.
    regards
    Arif
    P.S: I tried to include a screen dump of the mapping here, but not possible.

    I used @section and <?fo:page-number?> of <?fo:page-number-citation:xdofo:lastpage-joinseq?> but I still get wrong numbering by group
    Group1:- 1 of 6
    Group1:- 2 of 6
    Group2:- 1 of 6
    Group3:- 1 of 6
    Group4:- 1 of 6
    Group4:- 2 of 6
    the syntax <?fo:page-number-citation:xdofo:lastpage-joinseq?> is getting total document pages instead of group pages. Desired output is
    Group1:- 1 of 2
    Group1:- 2 of 2
    Group2:- 1 of 1
    Group3:- 1 of 1
    Group4:- 1 of 2
    Group4:- 2 of 2
    Below is my syntax
    In Header section <?for-each@section:G_VENDOR?>
    <?fo:page-number?> of <?fo:page-number-citation:{generate-id()}?>
    In Body
    <?start:body?>
    <?end body?>
    <?split-by-page-break:?>
    <?end for-each?><fo:block id="{generate-id()}"/> --this is in form field
    Please help.
    Thanks,
    Venkat

  • Different results for one query

    Hi,
    Today i got a very surprising issue with SQL 2008, my one team member inform that a single query is resulting two different data set from two diff-diff SSMS's query windows.
    Query is like this,
    Select * from table1 where trandate between '2014-08-02 00:00:00.000' and '2014-08-03 23:59:59.999' and status='S'
    in one query window its showing 295 records while on same desktop in second query window its showing 602 records.
    Please let me know where is problem. [:)] 
    Thanking you.
    Virendra Yaduvanshi
    Principal DBA, 
    MCTS, MCITP
    http://wikidba.wordpress.com
    Virendra Yaduvanshi http://wikidba.wordpress.com/

    Are updates occurring that are modifying the data or do you get the same results in each window multiple times?
    One thing to do is look at the actual execution plans and see if they are identical.
    If parallelism is involved, try disabling it and see if the results change (I've seen some twitchy things happen with it)
    If all of that checks out it may be some implicit conversion is happing to the date or there is  a case sensitivity issue with the 'S'

  • Different results for the semantically the same queries

    Hi,
    I'm encountering a very odd problem. Before providing an XQuery code, I will ask on the abstract level. I have an XQuery module with my own functions defined. Then in my main query I import that module and execute one function from there. I get let's say 5 results. However if I copy that module into the body of the main query and execute the same function, I get 53 results. Can anybody tell me please, what might be wrong? Any pitfalls?
    Vyacheslav

    I narrowed down the query and the module code.
    module:
    module namespace mmt = "http://omdoc.org/ns";
    declare namespace abox = "http://omdoc.org/abox";
    declare function mmt:importsaux($graph as element()*, $tovisit as xs:string*, $visited as xs:string*) as xs:string* {
      if (empty($tovisit))
      then $visited
      else let $to   := $tovisit[1],
                $from := $graph[@subject = $to]/@object[not(.=$visited)] 
            return mmt:importsaux($graph, ($from, $tovisit[not(.=($to,$from))]), ($visited, $to))
    };The main query:
    import module namespace mmt = 'http://omdoc.org/ns' at 'http://alpha.tntbase.mathweb.org/repos/cds/db/mmt.xq';
    declare namespace abox = "http://omdoc.org/abox";
    declare function mmt:importsaux2($graph as element()*, $tovisit as xs:string*, $visited as xs:string*) as xs:string* {
      if (empty($tovisit))
      then $visited
      else let $to   := $tovisit[1],
                $from := $graph[@subject = $to]/@object[not(.=$visited)] 
            return mmt:importsaux2($graph, ($from, $tovisit[not(.=($to,$from))]), ($visited, $to))
    (: change this to importsaux2 in order to change number of results :)
    mmt:importsaux(collection('xml_content.dbxml')[dbxml:metadata('tnt:type')='mmt']/abox:mmtabox/
                                 abox:relation[@predicate='HasOccurrenceOfInImport'],
                                "http://cds.omdoc.org/logics/first-order/model_theory/fol.omdoc?FOLMOD",
    )So if I execute the query as it is, then I get 5 results. If I change the function name from the main query from importsaux to importsaux2, then I get 53 results. Those two functions are identical, but is in the module and another is in the query body. Don't know why the results are different.
    Vyacheslav

  • How can I see different results for alternate hierarchy?

    I have an outline with an accounts dimension with the following members (amongst others):
    Total Expenses
    Exp1 +
    Exp2 +
    Exp3 +
    Exp31 + (child of Exp3)
    Exp32 + (child of Exp3)
    Exp33 + (child of Exp3)
    I also have another dimension, let's call it DIM, with the following primary and alternate hierarchies (shares upper levels with primary):
    Primary
    A
    A1 +
    A2 +
    A3 +
    B
    B1 +
    B2 +
    B3 +
    Alternate
    A + (shared member)
    B + (shared member)
    I want to be able to do the following:
    When I select something from the primary hieararchy, I want to see the original values in Exp31, Exp32 and Exp33. When I select a member from the alternate hierarchy, I want to see these 3 expenses zeroed out. Is this possible? I can't find a way to do this since the values for shared members are taken from primary members. Is there another way to do this?
    Thanks for your help.
    Bela

    I did think of creating an alternate hierarchy in the accounts dimension which excludes the expenses I do not want to include in the total, but I have 3 different categories of expenses I want to exclude depending on the members I'm viewing, so I'll have to create that many alternate hierarchies in accounts, each excluding a specific category of expenses.
    If you have a brainwave, please let me know!
    Bela

Maybe you are looking for

  • .jar files

    Hi everybody, I am pretty new to programming Java and to programming. I understand how to compile .java files to convert them to a .class file and finally running the application. I also understand how applets work, but there's one thing I don't know

  • IPhoto quits on launch.

    iPhoto 09 opens, shows the App window with no photos displayed for a few seconds and then disappears with an 'unexpectedly quit' notification. I have trashed the .plist file and reinstalled iPhoto following the instructions in other similar threads h

  • Has anyone any issue loggin in to new HTML based MOS?

    I gasped when I saw the new HTML option in Metalink login page. As if Larry has finally answered my prayers! But no... I can't get passed the page that sets your timezone and accessibility settings. All I can feel is despair.. Has anyone else come to

  • When I enter Time Machine nothing is there

    I need to restore something but when I pick my date the files are all black.  As if nothing is there. Is it possible? Somebody cleaned my HD and transferred all to external drive. When he reinstalled, a bunch of  Apple apps were missing inc iPhoto, G

  • Itunes issue pleaseeee help!

    I have an ipod nano that holds 500 songs and I only have 475. There is nothing on my ipod right now because I deleted some stuff from my itunes so now I want to put all 475 songs on but it keeps saying that theres not enough room and it will only put