Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Starting with SWAT 20.05 version, you can use regular expressions definitions to specify the format of a character field. The definition is added in the 'extendedFormat' attribute in the designer.

We support static masks, dynamic masks and Regex expressions.

Masking definitions:

  • 9 - numeric
  • a - alphabetical
  • * - alphanumeric

Exampled for the extendedFormat attribute on character fields to specify the format:

  • extendedFormat: aa-9999
  • extendedFormat: aa-9 {4}
  • extendedFormat: regex:[0-9]*
  • No labels