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.
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