This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
RUNTIME_VIEW_STRING
|
RUNTIME_VIEW_STRING ( value ; format ) | ||||||||
Parameter | Type | Description | ||||||
value | Number, Date, Time |
![]() |
Number or date or time to format as string | |||||
format | Number |
![]() |
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:
format number | Format |
1 | ###0 |
2 | #####0 |
3 | ### ##0,00 |
4 | ### ##0,00 € |
5 | ### ### ##0,00 € |
6 | ### ### ##0 |
7 | ##0,00 % |
8 | 0000 |
9 | 00000000 |
10 | 00 00 00 00 |
11 | ### ##0;(### ##0) |
12 | ### ##0,00 €;(### ##0,00) € |
13 | ^^ ^^0,00 |
14 | ^^ ^0,00 € |
15 | ^^^^^^^0 |
16 | ^^ ^^0 |
17 | Positive;Negative;Null |
18 | ##_##_##_## |
format number | Format |
19 | short |
20 | abbreviated |
21 | long |
22 | special |
23 | day, month year |
24 | abbreviated day, month year |
25 | day of the week |
26 | day of the month |
27 | month |
28 | month of year |
29 | year |
30 | long h:mn AM/PM |
31 | abbreviated at h:mn AM/PM |
32 | short at H:MN:SEC |
33 | month, day year at H:MN AM/PM |
34 | special and H:MN:SEC |
format number | Format |
35 | h:mn:sec |
36 | h:mn |
37 | Hour Minute Second |
38 | Hour Minute |
39 | h:mn AM/PM |
Product: 4D
Theme: 4D View Pro Formulas
4D View Pro Reference ( 4D v19)