How can I insert a line return in a Semarchy form?
F
Fathia Jama
started a topic
over 2 years ago
How can I insert a line return in a Semarchy form?
Best Answer
F
Fathia Jama
said
over 2 years ago
Scenario: In a form with a lookup SemQL expression, the business need is to have each returned Product displayed on a separate line. Currently, Products are separated by a comma and share a single line.
Solution: Between single quotes, add 2 spaces and the Enter/Return key.
Example:
Original SemQL, using comma as separator.
LOOKUP
string_agg FDN_Product
separated by ', '
from PersonProducts
order by FDN_Product
END
Original Result
1 Comment
F
Fathia Jama
said
over 2 years ago
Answer
Scenario: In a form with a lookup SemQL expression, the business need is to have each returned Product displayed on a separate line. Currently, Products are separated by a comma and share a single line.
Solution: Between single quotes, add 2 spaces and the Enter/Return key.
Example:
Original SemQL, using comma as separator.
LOOKUP
string_agg FDN_Product
separated by ', '
from PersonProducts
order by FDN_Product
END
Original Result
Image 1: Illustration depicts products on a single line separated by comma.
Modified SemQL using 2 empty spaces + Return/Enter for a line return.
LOOKUP
string_agg FDN_Product
separated by '
'
from PersonProducts
order by FDN_Product
END
Updated Result
Image 2: Illustration depicts products on separate lines.
Fathia Jama
How can I insert a line return in a Semarchy form?
Scenario: In a form with a lookup SemQL expression, the business need is to have each returned Product displayed on a separate line. Currently, Products are separated by a comma and share a single line.
Solution: Between single quotes, add 2 spaces and the Enter/Return key.
Example:
Original SemQL, using comma as separator.
Original Result
Fathia Jama
Scenario: In a form with a lookup SemQL expression, the business need is to have each returned Product displayed on a separate line. Currently, Products are separated by a comma and share a single line.
Solution: Between single quotes, add 2 spaces and the Enter/Return key.
Example:
Original SemQL, using comma as separator.
Original Result
Modified SemQL using 2 empty spaces + Return/Enter for a line return.
Updated Result
References:
https: //markdown-guide.readthedocs.io/en/latest/basics.html#line-return
https://stackoverflow.com/questions/31039189/add-line-breaks-to-nested-lists-in-markdown
-
Extend a model with new entities or attributes
-
Data types in xDM
-
Effective date on entities
-
Search using wild cards
-
Export a model from production and import on a development environment
-
"Allow Delete" vs "Allow Removal" privileges
-
LOV label in Named Query
-
Select location on a map and save coordinates
-
Is there a way to set up a master-detail relationship on browse mode?
-
Choose Either a Stepper or A Workflow Based on The User Privileges
See all 276 topics