Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Error report Post Reply Post New Topic
Author Message
kasanova80
Newbie
Newbie


Joined: 18 Dec 2008
Online Status: Offline
Posts: 2
Quote kasanova80 Replybullet Topic: Error report
    Posted: 12 Jan 2009 at 8:59am
Hello
gives me this error when I run this query.
someone help me?
 
 
no set of rows was returned to the table, query, or procedure
 
query report is :
 
SELECT
    DO30_DOCCORPO."DO30_CODART_MG66",
    DO30_DOCCORPO."DO30_DESCART",
    DO30_DOCCORPO."DO30_COLLI",
    DO11_DOCTESTATA."DO11_NUMDOC",
    DO11_DOCTESTATA."DO11_DATADOC",
    CG16_ANAGGEN."CG16_RAGSOANAG",
     (   select  top 1 IE29_TRASCODIFVAL.IE29_VALESTERNO from IE29_TRASCODIFVAL
where IE29_TRASCODIFVAL.IE29_CODTRASC_IE28 = 'VBS_MG66_001'
and IE29_TRASCODIFVAL.IE29_VALINTERNO = isnull(
    (select
        isnull(MG66_ANAGRART.MG66_GPH_CASSA,0) from MG66_ANAGRART
    where MG66_ANAGRART.MG66_CODART = DO30_DOCCORPO."DO30_CODART_MG66"), 0)
)
FROM
    ((dbo.DO30_DOCCORPO DO30_DOCCORPO INNER JOIN dbo.DO11_DOCTESTATA DO11_DOCTESTATA ON
        DO30_DOCCORPO."DO30_DITTA_CG18" = DO11_DOCTESTATA."DO11_DITTA_CG18" AND
        DO30_DOCCORPO."DO30_NUMREG_CO99" = DO11_DOCTESTATA."DO11_NUMREG_CO99")
    INNER JOIN dbo.CG44_CLIFOR CG44_CLIFOR ON
        DO11_DOCTESTATA."DO11_DITTA_CG18" = CG44_CLIFOR."CG44_DITTA_CG18" AND
        DO11_DOCTESTATA."DO11_TIPOCF_CG44" = CG44_CLIFOR."CG44_TIPOCF" AND
        DO11_DOCTESTATA."DO11_CLIFOR_CG44" = CG44_CLIFOR."CG44_CLIFOR")
    INNER JOIN dbo.CG16_ANAGGEN CG16_ANAGGEN ON
        CG44_CLIFOR."CG44_CODICE_CG16" = CG16_ANAGGEN."CG16_CODICE"
WHERE
    DO11_DOCTESTATA."DO11_DATADOC" = {d '2009-01-10'}
ORDER BY
     (   select  top 1 IE29_TRASCODIFVAL.IE29_VALESTERNO from IE29_TRASCODIFVAL
where IE29_TRASCODIFVAL.IE29_CODTRASC_IE28 = 'VBS_MG66_001'
and IE29_TRASCODIFVAL.IE29_VALINTERNO = isnull(
    (select
        isnull(MG66_ANAGRART.MG66_GPH_CASSA,0) from MG66_ANAGRART
    where MG66_ANAGRART.MG66_CODART = DO30_DOCCORPO."DO30_CODART_MG66"), 0)
) ASC
 
 
grazie
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 13 Jan 2009 at 6:28am
does it work in sql?  All my reports run off of stored procedures, which among other things allows me to be sure that the data is there.  That appears to be an awfully complex select statement...I would check it and play with it in the query section of your database to make sure it runs.
 
Hope this helps
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.018 seconds.