Book a Demo

Author Topic: Wrap contents of memo fields in search results  (Read 4790 times)

Jacob Vos

  • EA User
  • **
  • Posts: 108
  • Karma: +0/-0
    • View Profile
Wrap contents of memo fields in search results
« on: April 02, 2020, 01:51:15 am »
I defined a search with some memo fields as output. Is there a way to wrap the contents of those fields in the search results?

If not: which are the possiblities to get elsewhere in Sparx EA a table-like view of constraints, preferably the result of a query search (in order to have some columns in the table that contain contents of tagged values)?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Wrap contents of memo fields in search results
« Reply #1 on: April 03, 2020, 02:45:41 am »
Jacob,

Have you tried model-views?
I don't think you can do text wrapping in them either, but these show up as a table on diagrams, which can be useful from time to time.

Geert

Jacob Vos

  • EA User
  • **
  • Posts: 108
  • Karma: +0/-0
    • View Profile
Re: Wrap contents of memo fields in search results
« Reply #2 on: April 03, 2020, 09:19:54 pm »
Alas Geert, no wrapping of long text there neither. But thank you for pointing me to placing Model Views on diagrams. (Bad point: SQL there 'lives' apart from the SQL in 'My Searches'...)

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Wrap contents of memo fields in search results
« Reply #3 on: April 04, 2020, 09:09:28 am »
If you have long text that you want wrapping for, return it with 'as Note' and enable display of full not text in the search window.

Jacob Vos

  • EA User
  • **
  • Posts: 108
  • Karma: +0/-0
    • View Profile
Re: Wrap contents of memo fields in search results
« Reply #4 on: April 06, 2020, 04:39:25 pm »
@Eve: It looks like this is a limited solution, because only one field can have 'as Note', and also the name of the notes field cannot be specified (e.g. the Dutch word 'Opmerkingen'). And because the query joins some elements, how to tell which element's notes are shown of no specific label can be provided?



Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Wrap contents of memo fields in search results
« Reply #5 on: April 06, 2020, 04:49:40 pm »
That's true. You would need to explicitly concatenate multiple fields together to display multiple fields in that way (optionally with text that provides a label)