This function lets you retrieve the name (including the directory) of the last Adelia report spool file opened.
Context
Windows client,
Adelia Cloud client,
Event Adelia client.
Parameters
ALPHA(n) |
SpoolFileName |
Variable in which the full name of the most recently-opened Adelia report spool file will be placed. |
NUM_BIN_4 |
SpoolFileNameLength |
Size of the 'SpoolFileName' variable (input parameter). |
Note:
To open explicitly, call the function after the OPEN instruction.
To open implicitly, call the function at the start of the program.
Example
ALPHA(255) FileSpl
OPEN Report
CALL_DLL 'Vatoolbx.dll' 'VaToolBxGetLastOpenedSpoolFileName' FILESPL 255
=> FILESPL = 'C:\temp\REPORT01.SPO'
List of the VaToolBx functions by topic