Products Downloads


French version


 


RDC

.NET

X

X


This function indicates the name and location of the report to be opened the next time a Crystal Reports report is implicitly or explicitly opened.


Important:

    • The replacement report must evidently be compatible with the initial report associated with the host program.
    • ACRPE print mode: any relative or absolute path is automatically removed from the substitution name. The latter must therefore be different from the original name.



Parameters

ALPHA

ReportName (I)

Name and location of the report to be opened.

NUM_BIN_2

RetCode

Return code:

0: *NORMAL

BOOL

Multilingual (I)

Indicates whether or not the report is to be translated for a program managing the opening of a multilingual report.


Note: In Adelia Cloud context, the reports are deployed on a print server. The location to specify must therefore be linked to the print server context.


Example

* Defines report 'c:\MyReports\ModInvoice2.rpt' as the next Crystal Reports report to be opened. The report must not be translated, even if opened from a program generated in multilingual mode.

CALL_DLL 'VaCrysRt' 'VaSetNextRPTFileToOpen' 'c:\MyReports\ModFacture2.rpt' *FALSE retcode


* Defines report 'ModInvoice2.rpt' as the next Crystal Reports report to be opened. If the report is opened from a program generated in multilingual mode, it will be translated.

CALL_DLL 'VaCrysRt' 'VaSetNextRPTFileToOpen' 'ModInvoice2.rpt' *TRUE retcode



↑ Top of page

  • Aucune étiquette