Results 1 to 4 of 4

Thread: Set psReportName

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Location
    Colombia
    Posts
    2,509

    Default Set psReportName

    Hi all

    I want to make a single view to report several reports whose content is very similar. I create a combo with the different reports that are changed by pressing the PRINT button. The vDATA are loaded fine, but when building the report some columns are unknown, apparently it does not refresh the structure of the new report.

    Code:
             Procedure OnFill
                    Forward Send OnFill
                    Send AddComboItem "EjPacOrigin.DR"  "Pac Inicial"
                    Send AddComboItem "EjecutaPac.DR"  "Pac ejecucion"
                    Send AddComboItem "EjecucionC.dr"  "Pac Saldos"
                End_Procedure
    Code:
     Procedure GenerarPptoEjeecucion_A
                      String sModelo sReportId    
                      WebGet psValue     of oWebModelo to sModelo   
                      Set psReportName   of oRepoPptoEjeecucion_A to sModelo 
                      Send GenerateReport of oRepoPptoEjeecucion_A     
                      Get OpenReport of oRepoPptoEjeecucion_A to sReportId
                       If (sReportId <> '') Begin
                              Send CloseReport of oRepoPptoEjeecucion_A sReportId  
                              Send RemoveAllFilters of oRepoPptoEjeecucion_A sReportId
                       End
          End_Procedure
    Edgar
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	parte1.png 
Views:	61 
Size:	8.1 KB 
ID:	15669   Click image for larger version. 

Name:	parte2.png 
Views:	66 
Size:	60.6 KB 
ID:	15670  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •