Workbench User Guide > Workbench User Guide > C. Data Format Templates > Format Templates > How You Can Set the Format Template at Runtime
Was this helpful?
How You Can Set the Format Template at Runtime
As an alternative method to using the Property Inspector, you can set the format template at runtime. To do so, set the EntryField's FormatString attribute in your 4GL code, using the following syntax:
's"FormatString"'
Last modified date: 12/20/2023