Crystal report duplicate row problem

Hi expert,
Need help about crystal report for my customer, want to make report about outgoing payment(OVPM) but it become duplicate row for detail because 1 payment include lot cheque(VPM1) more than 1,i just want to know if there got other method to avoid duplicate row.I also try put formula for detail area "{VPM1.CheckAct} = Next({VPM1.CheckAct})" or "{VPM1.CheckAct} = previous({VPM1.CheckAct})"..it useful for 1 row only,if i put more row,it will eliminate other row,just show 1 row.
Here is my query take from crystal report.
SELECT 
"OVPM"."DocTotal", "OVPM"."DocNum", "OVPM"."DocDate",
"NNM1"."SeriesName", "OVPM"."Address", "OVPM"."DocCurr", "VPM1"."CheckNum",
"VPM4"."AcctCode", "OVPM"."CheckAcct", "OACT_1"."AcctName", "OACT_2"."AcctName",
  "VPM4"."Descrip", "OVPM"."Comments", "OVPM"."NoDocSum", "OVPM"."DocType", "VPM2"."DocEntry",
   "VPM2"."SumApplied", "OPCH"."DocDate", "VPM2"."InvType", "OCRD"."Phone1", "OCRD"."Fax",
    "OCRD"."CntctPrsn", "VPM2"."DocNum", "VPM1"."BankCode", "OVPM"."CardName", "OVPM"."CardCode",
     "VPM1"."CheckAct", "OACT_3"."AcctName", "VPM1"."CheckSum", "VPM1"."LineID", "VPM4"."OcrCode",
      "OVPM"."CounterRef", "OVPM"."TrsfrAcct", "OACT_4"."AcctName", "OVPM"."TrsfrSum",
       "OVPM"."PayToCode", "OVPM"."JrnlMemo", "VPM4"."SumApplied", "OVPM"."CashAcct", "VPM1"."U_Ref"
FROM  
"OVPM" "OVPM"
LEFT OUTER JOIN "VPM2" "VPM2" ON "OVPM"."DocNum"="VPM2"."DocNum"
LEFT OUTER JOIN "NNM1" "NNM1" ON "OVPM"."Series"="NNM1"."Series"
LEFT outer JOIN "VPM1" "VPM1" ON "OVPM"."Docentry"="VPM1"."DocNum"
LEFT OUTER JOIN "VPM4" "VPM4" ON "OVPM"."DocNum"="VPM4"."DocNum"
LEFT OUTER JOIN "OACT" "OACT_2" ON "OVPM"."CheckAcct"="OACT_2"."AcctCode"
LEFT OUTER JOIN "OCRD" "OCRD" ON "OVPM"."CardCode"="OCRD"."CardCode"
LEFT OUTER JOIN "OACT" "OACT_4" ON "OVPM"."TrsfrAcct"="OACT_4"."AcctCode"
LEFT OUTER JOIN "OACT" "OACT_3" ON "VPM1"."CheckAct"="OACT_3"."AcctCode"
LEFT OUTER JOIN "OACT" "OACT_1" ON "VPM4"."AcctCode"="OACT_1"."AcctCode"
LEFT OUTER JOIN "OPCH" "OPCH" ON "VPM2"."DocEntry"="OPCH"."DocEntry"
WHERE  "OVPM"."DocNum"=9005070
ORDER BY "OVPM"."DocNum", "VPM1"."LineID"

Hi,
Change LEFT outer JOIN "VPM1" "VPM1" ON "OVPM"."Docentry"="VPM1"."DocNum"
to: LEFT JOIN "VPM1" "VPM1" ON "OVPM"."DoceNum"="VPM1"."DocNum"
Remove: LEFT OUTER JOIN "OACT" "OACT_3" ON "VPM1"."CheckAct"="OACT_3"."AcctCode"
Thanks,
Gordon

Similar Messages

  • SAP NetWeaver Portal Crystal Reports PDF Export Problem

    Hallo all,
    We are working with BO Edge XI 3.1 with integration on SAP Netweaver Portal. The problem is that integrated in SAP Portal CR reports cannot be exported to PDF or printed out.
    I am using an URL iview with the parameter sOutputFormat=P to run the report.
    When I want to print out the report I get the warning message from Internet Explorer "The download of files from this page is for security reasons blocked. Click here..." --> Download the file. By clicking on the u201CDownload this fileu201D the report starts to run again. PDF export doesnu2019t happen.
    Did somebody have the same problem?
    Thanks a lot in advance!

    Hello Ingo,
    thanks a lot for Your help. I have already talked to my IT department and they are looking for the solution of this problem, too.
    Is there a documentation  about necessary settings in the browser to work with SAP NetWeaver Portal and Crystal reports?
    The problem is that on some clients the PDF export is working and on another clients not. The settings of IE seem to be equal.
    Regards,
    Katharina

  • Crystal Reports PDF Export problem

    Hi I'm using Crystal 8.5 for my reports in VB 6.0. We have intrepret as RTF in the report. Now when we export this report to PDF the nested bullets loose formatting. All bullets show up at the same level. Any idea how to fix this?
    Thanks
    Sudha

    Hello Ingo,
    thanks a lot for Your help. I have already talked to my IT department and they are looking for the solution of this problem, too.
    Is there a documentation  about necessary settings in the browser to work with SAP NetWeaver Portal and Crystal reports?
    The problem is that on some clients the PDF export is working and on another clients not. The settings of IE seem to be equal.
    Regards,
    Katharina

  • Crystal Report Nested Grouping Problem, Duplicate record

    Post Author: paltapas4
    CA Forum: General
    Hi,
    I am facing problem while creating 2 individual groups in Crystal report 10.0 .
    My first group is Quarter & 2nd one is Department. When I created  2nd group it comes automatically under 1st group i.e Quarter, that why departments are duplicating under  quarter. But I want to create 2 individual group.
    Present Report output 
    1st Group u2013 2008 Quarter1
      2nd Group u2013 Test1 department
      2nd Group u2013 Test2 department
      2nd Group u2013 Test3 department
      2nd Group u2013 Test4 department
    1st Group u2013 2008 Quarter2
      2nd Group u2013 Test1 department
      2nd Group u2013 Test2 department
      2nd Group u2013 Test3 department
      2nd Group u2013 Test4 department
    1st Group u2013 2008 Quarter3
      2nd Group u2013   Test1 department
      2nd Group u2013 Test2 department
      2nd Group u2013 Test3 department
      2nd Group u2013 Test4 department
    1st Group u2013 2008 Quarter4
      2nd Group u2013   Test1 department
      2nd Group u2013 Test2 department
      2nd Group u2013 Test3 department
      2nd Group u2013 Test4 department
    Report output  expected
    1st Group u2013 2008 Quarter1
    1st Group u2013 2008 Quarter2
    1st Group u2013 2008 Quarter3
    1st Group u2013 2008 Quarter4
    2nd Group u2013   Test1 department
    2nd Group u2013 Test2 department
    2nd Group u2013 Test3 department
    2nd Group u2013 Test4 department
    Please help me out. Thanks in advance.
    Regards,
    Tapas

    Post Author: sharonmtowler
    CA Forum: General
    you created 1 group for the qtr, and then you created a group for department. if you place the department in the group header it should only return the 1st value it hits, and supress the duplication. is that what you did?

  • Crystal Reports hides rows from source BW query

    Hi Experts,
    I currently have a BW query with two structures: 1) key figure structure in the columns and 2) another characteristics structure in the rows.
    Here are additional details:
    1.  I have the MDX connectivity transports installed
    2.  I have successfully linked a crystal report to this source BW query.
    My only problem is that if a certain row in the source BW report is blank (meaning it does not have any values), Crystal Reports automatically suppresses it and does not show my full row structure in the output.  I would like the report to show all rows regardless of any data values or lack of.  I do not have zero suppression in BW or Crystal Reports.
    Thanks

    Hi,
    I would recommend to extract the MDX query out of your CR report ( Database->Show SQL statement) and use the MDX transaction to test it directly against your BW server. This way you make sure if the suppression takes place already on the BW side or in the CR itself.
    Regards,
    Stratos

  • Crystal Report Oracle Logon Problem

    Hi,
    We are using Webforms for launching the reports.  When we tried to launch the reports system is prompting for logon information.  It states "The report you requested requires further information." followed by text box having Server Name,  Database Name, User Name, Password and use integrated security(checkbox). 
    We are using Oracle backend for connecting the database.  Crystal Report RPT is designed using the OLEDB ADO (Database Type) and the provider is u201CMSDAORAu201D. 
    The same report is working fine when the Internet service manager identity is set as u201CLocal Systemu201D reported problem occurs when the identity is set as u201CNetwork Serviceu201D.  How to over come this issue.
    Crystal Version : Crystal Reports 2008 is installed
    Operating System : Windows server 2003 standard edition
    Oracle Version : Oracle 11g
    Please Note : Report is fetching data from the crystal report designer in the preview.  There is no problem in oracle connectivity.
    Code is available below
    rpt.Load(@"D:\report\totaldetails_sub_sp_oracle.rpt");
    CrystalDecisions.CrystalReports.Engine.Database crDb;
    CrystalDecisions.CrystalReports.Engine.Tables crTables;
    CrystalDecisions.CrystalReports.Engine.Table crTable;
    TableLogOnInfo crTableLogOnInfo;
    ConnectionInfo crConnInfo;
    crDb = rpt.Database;
    crTables = crDb.Tables;
    crConnInfo = new CrystalDecisions.Shared.ConnectionInfo();
    crConnInfo.ServerName = "< Oracle Service Name>";
    crConnInfo.DatabaseName = "";
    crConnInfo.UserID = "<Oralce User Name>";
    crConnInfo.Password = "<Oracle Password>";
    for (int i = 0; i < crTables.Count; i++)
             crTable = crTables<i>;
    crTableLogOnInfo = crTable.LogOnInfo;
    crTableLogOnInfo.ConnectionInfo = crConnInfo;
    crTable.ApplyLogOnInfo(crTableLogOnInfo);
    CrViewer.ReportSource = rpt;

    Thanks a lot for replies ...
    To use oracle client 32 bit on the x64 server may be a problem for the next times. And my project leader don't want to change oracle client version (x64). So I try to change my reports connections to ODBC type.
    Now, I want to ask another question:
    Firstly, I will test these changes on 32 bit. Later, I test it on 64 bit.
    My report are created on Crystal reports 10, 32 bit. I change the connection type by using "Set Datasource Location" menu. I test this ODBC connection with my report on 32 bit platform. I can see the records on the Crystal Reports when I refresh my report. This is OKEY. ODBC connection is success on 32 bit.
    But, in my project (this is an web application, and it is working 32 bit and 64 bit successfully), I can't see the records. I debuggged my project on 32 bit with Visual Studio. For this, I put some breakpoints on to the specific places. I watch that two records are taken from database. Everything is good. But when "reports.aspx" file opens, these records don't appear. Before changing connection type , this records were listed in my project on 32 bit.
    For this, have you any ideas ?
    Thanks ...

  • Crystal Reports print preview problem

    Hello
    The problem is that print preview of a report using crystal Report dotnet Print Preview is  making u201Cblank signsu201D inside words. The blank signs occurs near Swedish special signs like u201Cåu201D, u201Cäu201D and u201Cöu201D. Also near u201C.u201D (dot). Maybe there are more signs making this problem.
    The problem occurs for those who have .NetRuntime, or a full installation of Crystal Reports
    The problem started when we installed Crystal Reports 12. In earlier versions we had no problem with this.
    It feels like Crystal Report have some bug in the u201Ctext rendering engineu201D. This is obviously a problem when a customer previews a text before printing it. This preview should look like the printout. Even if the room between two letters not is  a space, there still is a room that is interpreted as a space by a human.
    However, if we zoom to larger % (200%) the preivew is matching the report.
    Regards
    Kamlesh

    Make sure you have SP 2:
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    with FP 2.5 on top:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975192010E/cr2008fp25.exe
    If the issue persists, since it is in the CR designer, post to the CR design forum:
    SAP Crystal Reports
    You need to resolve this in the designer, before trying to resolve it in a .NET application.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Report Caching(?) Problem

    Post Author: cfernald
    CA Forum: General
    We have a web app that launches Crystal Reports (version 10) in the crystal reports viewer that plugs into IE (version 6.0). The whole thing is managed by Crystal Enterprise Server. 
    The problem: You launch a report and let's say it shows you 10 lines of data on the report. You perform some activity in the application that updates the database such that an 11 lines should appear on the report. However, when you run the report again (after closing the IE session from the first viewing) you only see 10 lines (while expecting 11).
    There's a little "dance" I do to "clear cache":  I hit the "Refresh Report" icon (the "lightening bolt" icon), close the browser and then relaunch the report.  This seems to tell the report to re-read the database rather than use the data that was previously retrieved. 
    Clearly the results are being cached somewhere - can someone point to where I might look to control that behavior?
    \cbf

    Post Author: cfernald
    CA Forum: General
    Ok, I did some additional research and learned all about how CR has a CacheServer that can be controlled through the Crystal Management Console. Specifically there is a setting for the CacheServer named: "Oldest on-demand data given to a client" which is expressed as a number of minutes. From the manual:
    This value controls how long report pages and prompt pages can stay in the cache. Once an object has been in the cache for the given number of minutes, it is aged out of the cache and there will be no further cache hits for this object. The default setting is 0 u2013 which means that no prompt pages or report pages will be server from cache. For optimal prompting performance, we recommend setting this value to the largest possible value without impacting data currency. For example, if the data that your reports access changes only once a day, then you can probably set this value to be 8 hours (or 480 minutes). If the data that your reports access changes every 5 seconds, and your report consumers need to see current data, then this value should be set to 0.
    Based on the last sentence above, I want this value set to zero to meet our reporting needs.  However, after setting it to zero and restarting everything, I still see cache entries in the CacheServer directory and Crystal is still caching report data.
    What am I missing?

  • Crystal Report 2008 V12 and  Crystal Report in VS2008 problem

    I have made Crystal report Application using VS2008
    Since it has Crystal Report V 10.5 it is raising error as For SAP CR2008 V12
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
       at Test.FrmPurchaseDetail.button1_Click(Object sender, EventArgs e)
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    Test
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Default%20Company%20Name/Setup1/Test.exe
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    BLL
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Default%20Company%20Name/Setup1/BLL.DLL
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_64/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    How to Solve this Problem
    How to use Crystal Report Viewer Version 12 instead of Crystal Report Version10 in Vs2008

    see this post:
    Can CR2008 be used with VB6 ?
    COM is a deprecated technology. Became deprecated along with Vb 6 not being supported by MS.
    Thus .NET or Java are your solutions at this time.
    Ludek

  • Crystal Reports 2008 Some problems

    I'm facing few problems with Crystal Reports 2008 :
    1. When you desing a reports that have its page height greater than its width the reports force you to use a Landscape even if you select portrait. this cause problem on most dotmatrix printers as they prints Landscape pages Veritically.
    2. When you design a reports with paper sise A4 and set it to Landscape you cannot drow a box or line that can be longer than the page width or even move it to the right edge or the report.
    3. When you double click on a report to open it with Crystal reports 2008 it bacame busy and you have to Switch to Crystal reports 2 or 3 times before it open the report.
    Thanks

    Hi
    This is with reference to your first query:
    Printing issues usually depend on the printer drivers; so would suggest you to update the driver to the latest version; For more information related to the Printer.
    http://help.sap.com/businessobject/product_guides/cr2008/en/xir3_cr_usergde_en.pdf.
    The issue occurs when width(Horizontal) is greater than height(Vertical).
    then it takes the page orientation as Landscape automatically however with Crystal Report Base version it gives the desired output.
    Hope this informationis helful to you.
    Regards
    Asha.

  • Crystal Reports and Authorization Problems

    I am having an issue with Crystal Reports and User Authorizations.
    I was build a Crystal Report and import into SAP Business  One (SBO 8.8 PL18 HF). After that i give full authorizations for this report in some users. Then if the user login in SBO and choose to see the report his has the following error
    You are not permitted to perform this action - "The name of the Report " [Message 200-30]
    or
    You are not permitted to perform this action - "The name of another Crystal Report " [Message 200-30]
    This happen also if I edit a crystal report and re import the new version.
    If i change the user to Super User  then there is no Problem but i don't want something like this. Is something going wrong with Import Crystal Report and SBO menu items?
    Any Idea?
    Thanks In advance
    Edited by: Apostolis Andrikos on Feb 17, 2011 1:25 PM

    Hi Balakumar,
    I had tried also with the way that you suggested...
    Only if I give full authorizations for all the modules itu2019s possible for the user to open the crystalu2026
    And I said possible because sometimes with full Authorizations everything it is ok and sometimes not.
    The most strange thing is that if I choose to open a Crystal Report  the display error as i said before is
    for another Crystal Report in SBO menu.
    e.x I choose to run a Daily Cash Report from the User
    and the ERROR Said
    "You are not permitted to perform this action - Outgoing Payments Message 200-30"
    Thanks for your Response

  • Identifying and reporting Duplicate rows from table

    I want to fetch all the duplicate row from the table and need to report all of it.
    I am trying to run the below query but and not getting the expected output. Please help me.
    Query
    SELECT * FROM ADDT_RPT_REQ A WHERE
    TRIM(A.EMAIL_ADDR) IN
    (SELECT TRIM(EMAIL_ADDR) FROM ADDT_RPT_REQ B
    WHERE TRIM(B.EMAIL_ADDR) = TRIM(A.EMAIL_ADDR)
    AND A.ph_num IN
    (SELECT PH_NUM FROM ADDT_RPT_REQ B
    WHERE TRIM(A.PH_NUM ) = TRIM(B.PH_NUM)
    There are in all 7 columns in the table where id is Unique Id.
    The expected output is something like.
    FST_NAME     LAST_NAME     EMAIL_ADDR     WORK_PH_NUM     ROW_ID     LAST_UPD     BU_ID
    VALERIE     HALL     [email protected]     7819370177     2-21N-4312     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4327     29-JAN-04     0-R9NH
    VALERIE     HALL     [email protected]     6034272034     2-21N-4309     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4317     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     8563748820     2-21N-4329     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4319     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4326     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4324     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     8604237395     2-21N-4330     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819373731     2-21N-4314     31-AUG-04     0-R9NH
    VALERIE     HALLORAN     [email protected]     6194771101     2-21N-4331     31-OCT-05     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4316     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4321     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     7-1W4N-293     15-MAY-04     0-R9NH
    VALERIE     HALL     [email protected]     2032341604     2-21N-4307     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4325     04-APR-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     2-21N-4315     29-JAN-03     0-R9NH
    VALERIE     HALL     [email protected]     7819373737     7-1W4N-291     15-MAY-04     0-R9NH
    VALERIE     HALLORAN     [email protected]     6194771101     2-21N-4332     31-OCT-05     0-R9NH
    VALERIE     HALL     [email protected]     6038885349     2-21N-4310     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819373737324     2-21N-4328     31-AUG-04     0-R9NH
    VALERIE     HALL     [email protected]     7819370177324     2-21N-4313     31-AUG-04     0-R9NH

    Hi again!
    Try that:
    SELECT rowid, fst_name, last_name, email_addr, work_ph_num, row_id, last_upd, bu_id
    FROM ADDT_RPT_REQ A
    WHERE rowid > (SELECT MIN(rowid)
                   FROM ADDT_RPT_REQ B
                   WHERE B.fst_name = A.fst_name
                     AND B.last_name = A.last_name
                     AND B.email_addr = A.email_addr
                     AND B.work_ph_num = A.work_ph_num
                     AND B.row_id = A.row_id
                     AND B.last_upd = A.last_upd
                     AND B.bu_id = A.bu_id);This query should show you all duplicate rows. Use the rowid and DELETE to get rid of these rows.
    DELETE FROM addt_rpt_req A
    WHERE rowid IN (SELECT rowid
                    FROM   (SELECT rowid, row_number() OVER (PARTITION BY fst_name, last_name, email_addr, work_ph_num, row_id, last_upd, bu_id
                                                             ORDER BY row_id) dup
                            FROM addt_rpt_req)
                            WHERE dup > 1);Yours sincerely
    Florian W.
    Edited by: Florian W. on 17.06.2009 14:17

  • Crystal report XI deployment problem

    hi,
    i have create windows application on my pc with crystal report XI in it.
    I have create msi of this project through vs2005 by including "CrystalReportsRedist2005_x86.msm" merge module.
    now i have install this msi on my development pc ,here it is working perfectly fine.
    After that i have installed this msi on my client computer and it gets install perfectly fine.
    application on my client computer is working perfectly fine.But as soon as i open one form in application which contain my crystal report component.
    it give me following error.and close my application.
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
              o
                    +
                                      o
                                            +
                                                              o
                                                                    +
                                                                                    o Exception Text **************
    System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.Windows.Forms, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    at School.report.InitializeComponent()
    at School.report..ctor()
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value HKLM\Software\Microsoft\Fusion!EnableLog.
    --- End of inner exception stack trace ---
    at School.My.MyProject.MyForms.Create__Instance__[T](T Instance)
    at School.My.MyProject.MyForms.get_report()
    at School.new_receipt.Button1_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.PerformClick()
    at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
    at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
    at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
    at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
                                                                                    o Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    School
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/School/Receipt%20System/School.exe
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///D:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
                                                                                    o JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    As i am not expert with this.
    can anyone solve this???
    and let me know what to do?what is cause of this?

    hi sir,
    me bhavin again.
    i am making this thread active again coz i got one problem regarding crystal report.
    after we solved our last problem, i was successfully able to deploy crystal report application on client computer. and it was running perfectly fine.
    But last week i added new feature to my application and these new feature does not include any crystal report. what i mean to say i didnt edit or add new crystal report in application . it was same as before. i just added few windows controls that's it.
    i  have created new msi setup for deployment to client pc with my latest updated code  . i install old version from client computer and install this new version on its computer but i am getting following error when i try to access form which contain crystal report.
    System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.  The
    error is: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral,
    PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0,
    Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    File name: 'CrystalDecisions.Windows.Forms, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
    i don't know why this happening. the merge module is just same as before. nothing has been change in deployment project, though i am getting this error.
    i am able to install and use application totally fine on my development computer but getting above error on client computer.
    i also wanna tell you that last month i have installed VS2008 on my same computer. But my this application is sitll in vs2005 and i am using VS2005 for that application . i am not using VS2008 with this application.
    so can you let me know what should i do to get out of this. i search web whole one week but didn't solved it ,thats y i though to take your help.
    let me know whats your reply.
    waiting eagerly.
    Edited by: bhavin pithawala on Aug 7, 2009 9:31 AM

  • Crystal reports show rows of a field in detail section in number of columns while exporting in ms excel

    Hi,
    I have a crystal report and a field called source.
    The source field can contain more than one records.
    When I export it to ms excel then source field is shown in three rows in excel.
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    But now I want to export to excel in the following format
    Name
    Source
    Batch No
    ABC
    A0001
    K1
    K2
    K3
    The Name and Batch No field are in Group Header and Source in detail section.
    Also the Source field can vary in number i.e. there can be any number of Source.
    And I only want this type of output when exporting to MS Excel.
    Is there any way to do this?
    Please reply.
    Thanks.

    Try this:
    1) Create a formula with this code and place it on the Details Section:
    whileprintingrecords;
    numbervar x := x + 1;
    stringvar col1;
    stringvar col2;
    stringvar col3;
    if x = 1 then col1 = {Source}
    else if x = 2 then col2 = {Source}
    else if x = 3 then col3 = {Source};
    2) Create another formula and place this on the Group Header:
    whileprintingrecords;
    numbervar x := 0;
    stringvar col1 := "";
    stringvar col2 := "";
    stringvar col3 := "";
    3) Create three separate formulae - one each for the three Source columns and place these on the Group Footer:
    E.g. for first Source column:
    whileprintingrecords;
    stringvar col1;
    E.g. for second Source column:
    whileprintingrecords;
    stringvar col2;
    Drag and drop these formulae beside each other on the GF.
    4) Move the 'Name' and 'Batch No.' fields from the Group Header to the Group Footer
    5) Suppress Group Header and the Details Section.
    -Abhilash

  • Crystal Reports version message problem

    Hi,
    I am getting following message while opening the reports in CR XI.
    "This report was created with a version of Crystal Reports which is later than the version you are running. Some features used in the report may not be supported. "
    These reports were created in CR2008.
    When such reports are being opened by a VB6 executable which has reference to CR XI design library, it given above message. Is there anyway to get rid of this message? e.g. by setting any special property to false so that this message won't appear.
    Please advise.
    Thanks in advance.
    -Bhoopendra Singh

    No option to disable warning messages. In your app have the users export to RPT format or use the SaveAs option in code so they use a local copy of the report.
    You may be able to capture the message event and close the window though. I don't have any code to show how to. Possibly someone else may have and example.
    The app will save the report in the version is uses.
    Thank you
    Don

Maybe you are looking for

  • Install Oracle 9i Hangs on Linux SMP Redhat 7.1

    I posted this message to the General forum but without any reply. So I repost it here. Motherboard: Asus A7M266-D CPU: Two AMD Duron 1.2GHz Memory: 512MB PC2100 Vedio: Gforce 4 MX440 hard disk: MAXTOR 6L080L4 O/S: Redhat 7.1 Kernel: 2.4.2-2up and 2.4

  • SapScript output spool to a POST script file

    We generate  billing invoice output using custom program/Sap script. Subsequently we release the invoice print out from the print spool to create a post script file from the print spool by configuring command set "G" in transaction u201CSPADu201D. Th

  • F4 help for MAX hits

    Hi friends, when hitting a f4 help on a field. SAP is restricting to first 5000 hits  and i would like to get the max no. of hits. and i'm using a FM for f4 help. thanks , kat

  • Intial setup needed for ABAP Web DYnpro.

    Hi,     I am using ECC 6.0, when I create a view in a component I am getting a system error. I understand there are some Initaial setup need to be done in SICF. Could any help me out here. Thank U 4 Ur time. Cheers, Sam  I am getting the following er

  • All about table control

    Hi, I am using a table control in my application vi for both reading inputs and displaying output. I have a few questions about it: 1. Sometimes I send the data in multiple lines to a cell but at the output, I am only able to see the first line and n