combit List & Label 29 - .NET Help
combit.Reporting Namespace / LlCore Class / LlDefineVariable Method

name of the variable

contents of the variable



In This Topic
    LlDefineVariable Method
    In This Topic

    Defines a variable of the type LL_TEXT and its contents.

    You should avoid using this function directly - the Variables property offers you a much more powerful way to add data.

    Syntax
    'Declaration
     
    
    Public Sub LlDefineVariable( _
       ByVal name As String, _
       ByVal value As String _
    ) 
    public void LlDefineVariable( 
       string name,
       string value
    )
    public:
    void LlDefineVariable( 
       String^ name,
       String^ value
    ) 

    Parameters

    name

    name of the variable

    value

    contents of the variable

    Remarks

    List & Label predefines the following variables:

     

    Variable Meaning

    LL.CountDataThisPage

    Numerical, footer field, defined data record per page

    LL.CountData

    Numerical, footer field, defined data records total

    LL.CountPrintedDataThisPage

    Numerical, footer field, printed data records per page

    LL.CountPrintedData

    Numerical, footer field, printed data records total

    LL.SortStrategy

    String, sort expression

    LL.FilterExpression

    String, filter expression

    The difference between .defined. and .printed. data records is that the user can apply a filter condition to the data records so that with every data record sent from the program the "defined" numbers increase, but not necessarily the "printed" ones (the latter values are only increased if the data record has been printed, that is, matches the filter condition).

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also