Crystal Report - Problema con subreportes

 
Vista:

Problema con subreportes

Publicado por Ulises (1 intervención) el 17/12/2008 17:32:37
Buenos dias es mi primer post en este foro y espero encontrar ayuda, resulta que tengo un reporte, el cual tiene dos subreportes lo cuales se enlazan por el campo ClienteId, el problema es que las tablas que llenan los subreportes no siempre traen valores y al momento de querer relacionar el subreporte con el reporte principal me marca un error en la formula de selección el cual lo comprendo ya que desea comparar ClienteId = Subreporte.ClienteId siendo que el campo de Subreporte.ClienteId no trae ningún valor, a mi parecer no me debería de marcar ningún error y trabajar perfectamente ya que cuando los subreportes traen valores entonces todo trabaja perfectamente sin problema, y ya he intentado todo no se que me puede estar fallando, bueno espero haber sido claro con mi situación
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Problema con subreportes

Publicado por monica (4 intervenciones) el 04/11/2010 16:59:58
Hola, que tal, a ver si alguien me puede ayudar;
Estoy haciendo una aplicacion en VB2005, sql server 2000 y crystal report 10.2 y tengo un reporte con un subreporte que hasta ayer funcionaba lo mas bien pero de golpe empezo a fallar cuando lo quiero abrir.

Tira el sgte error :

Error 2 Custom tool error: "Code generator 'ReportCodeGenerator' failed. Exception stack = System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001FD): Invalid field name. at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at CrystalDecisions.VSDesigner.CodeGen.ReportClassWriter..ctor(String filePath) at CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator.GenerateCode(String inputFileName, String inputFileContent)" C:\PlanesDePagos\informeDeDeuda.rpt 1 1 PlanesDePagos

Muchas Gracias, Mónica
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar