This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
RUNTIME_VIEW_STRING

RUNTIME_VIEW_STRING 


 

RUNTIME_VIEW_STRING ( value ; format ) 
Parameter Type   Description
value  Number, Date, Time in Number or date or time to format as string
format  Number in Format number

Compatibility Note: This function is intended to be used when converting 4D View documents to 4D View Pro documents. It other contexts, it is useless.

The RUNTIME_VIEW_STRING function returns value as a string formatted according to format. It provides the same feature as the 4D View String function.  

Here are the values for the format parameter:

  • For numbers:

    format numberFormat
    1###0
    2#####0
    3### ##0,00
    4### ##0,00 €
    5### ### ##0,00 €
    6### ### ##0
    7##0,00 %
    80000
    900000000
    1000 00 00 00
    11### ##0;(### ##0)
    12### ##0,00 €;(### ##0,00) €
    13^^ ^^0,00
    14^^ ^0,00 €
    15^^^^^^^0
    16^^ ^^0
    17Positive;Negative;Null
    18##_##_##_##



  • For dates:

    format numberFormat
    19short
    20abbreviated
    21long
    22special
    23day, month year
    24abbreviated day, month year
    25day of the week
    26day of the month
    27month
    28month of year
    29year
    30long h:mn AM/PM
    31abbreviated at h:mn AM/PM
    32short at H:MN:SEC
    33month, day year at H:MN AM/PM
    34special and H:MN:SEC



  • For times:

    format numberFormat
    35h:mn:sec
    36h:mn
    37Hour Minute Second
    38Hour Minute
    39h:mn AM/PM

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Formulas

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)