Adds additional valid script code to the report's scripting context. Using AddCode allows complete functions to be added to a report's script at run time. The added functions can be called from the report events in script.
[Visual Basic]
Public Sub AddCode( _
ByVal script As String _
)
[C#]
public void AddCode(
string script
);
This method is typically used when executing stand-alone reports that are not compiled into the application. Injected code allows the report to access features such as custom calculation functions and data access modules in the calling application.
[C#]
public string addThisCode() |
[Visual Basic]
Public Function addThisCode() As String |
ActiveReport Class | ActiveReport Members | ScriptLanguage | AddNamedItem
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.