Show / Hide Table of Contents

    GetFieldCaption Procedure

    Codeunit RecRef Functions

    Gets the caption of a field, including dynamic captions as global dimension captions.

    An empty string is returned if the field is not found or obsolete.

    Overloads

    Name Description
    GetFieldCaption(Integer; Integer): Text Gets the caption of a field, including dynamic captions as global dimension captions.
    GetFieldCaption(Integer; Integer; Text): Text Gets the caption of a field, including dynamic captions as global dimension captions.
    GetFieldCaption(Record Field): Text Gets the caption of a field, including dynamic captions as global dimension captions.

    GetFieldCaption(Integer; Integer) Procedure

    Gets the caption of a field, including dynamic captions as global dimension captions.

    An empty string is returned if the field is not found or obsolete.

    Signature

    GetFieldCaption(TableNo: Integer; FieldNo: Integer) : Text
    

    Parameters

    TableNo Integer

    The number of the table that contains the field.

    FieldNo Integer

    The number of the field that you want to get the caption of.

    Returns

    Text

    The caption of the field.

    GetFieldCaption(Integer; Integer; Text) Procedure

    Gets the caption of a field, including dynamic captions as global dimension captions.

    The FallbackCaption is returned if the field is not found or obsolete.

    Signature

    GetFieldCaption(TableNo: Integer; FieldNo: Integer; FallbackCaption: Text) : Text
    

    Parameters

    TableNo Integer

    The number of the table that contains the field.

    FieldNo Integer

    The number of the field that you want to get the caption of.

    FallbackCaption Text

    The caption to return if the field is not found or obsolete.

    Returns

    Text

    The caption of the field.

    GetFieldCaption(Record Field) Procedure

    Gets the caption of a field, including dynamic captions as global dimension captions.

    The Field Caption is returned if the field is not found or obsolete.

    Signature

    GetFieldCaption(Field: Record Field) : Text
    

    Parameters

    Field Record Field

    The field that you want to get the caption of.

    Returns

    Text

    The caption of the field.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX