How to get the value from an execute query statement?

Hello all, How do I get the value form the list I get returned from an oracle query statement? If I add a breakpoint I see that NewNaam [1] has an attribute Naam with the value ‘Els’, but in my ‘show message’, the $NewNaam is invalid. i don’t know how to use it and how to get to value. Any input to get me started? Thanks
1 answers

$NewNaam[1] is a syntax that is not provided by mendix. You can add a list operation action and select “head”. This will return the first object from the list. You can not directly access object x in a list in Mendix.