Skip to main content
August 5, 2024
Solved

Querying record and display result in read only grid

  • August 5, 2024
  • 4 replies
  • 0 views

I am querying one record and aggregating two fields name and hobbies.I want to display all the hobbies in a single cell for a name ,in a single row in the read only grid.For Example

Name Hobbies
Ram

Playing

dancing

cooking

Please help with this,how to achieve this example

    Best answer by stefanhelzle0001

    Can you share the data structure you get?

    4 replies

    stefanhelzle0001
    Brainy
    August 5, 2024

    Can you share the data structure you get?

    August 5, 2024

    Hi [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] ,Currently I am getting data like this

    but I want to display only one row,which will have jurisdiction as 44 and all the three line of business in a single cell of column Line of Business

    August 5, 2024

    I am querying a record for getting these two field jurisdiction and line of business

    venkatrea696188
    August 5, 2024

    Is jurisdiction and Line of business are coming from same record or do you have relationships? If both are coming from same table you need to group it before/after querying (Important part of your requirement). For showing it on screen you can simply use looping and line spacing ,it's not big of deal .