Hi Gianni, Not sure that I can follow you completely here. One way to search a Struct is by using a recursive loop. There's an example in the Uniface Library: > Programming in Uniface > Proc Language > Structs > Example: Looping Over Structs Please note that the params and variables block of the entry PRINT_STRUCT are missing. The sample is correct here: > Programming in Uniface > Proc Language > Structs > Struct Code Examples
params<br /> struct pStruct: in ; A reference can refer one or more structs <br /> string pMargin: in ; Initial margin + indenting for deeper levels <br /> endparams <br /> variables <br /> numeric i, N <br /> endvariables <br />
I'm using this loop usually as a starting point when I want to manipulate or process a Struct. In your case you just have to add a parameter for the element name you are looking for. You then can search for the element on each level. And once you've found the element you can process or manipulate it. But your idea with the Uniface list will not really work. And I don't really understand what you would like to achieve with this. Sorry. As said, I would use a recursive loop to search and access a member with (e.g.) a specific name. Hope this helps. Daniel
Author: diseli (
daniel.iseli@uniface.com)