Retrieval Problem

Author: satheesh.balu.m@gmail.com (Satheesh)

Hello,

I have created a new entity and I used it in the new component. I could able to retrieve the entity.

I am using the below code to get all the fields of the retrieved occurrence.

putlistitems/occ abx_param_occ, "IDS_ABX_GLOBAL_XP_PARAM"

But I could get only the value of two fields.

Example :"Name = XXXXXX; Age=54"

Note : I am trying to define the entity property with Interface : Template. I don't have any template. So, if I keep it as blank, the default property interface : Shorthand : C* is set.

Please let me know how to solve this, so that I can retrieve all the field values.

Thanks

Satheesh.B

2 Comments

  1.  

    Changing the field properties of the entity to "All fields" will help to retreive all the field values.

     

    Thanks

    Satheesh.B


    Author: Satheesh (satheesh.balu.m@gmail.com)
  2. Hi

    Yes in automatic mode, Uniface relies on painted fields and/or referenced fields in proc code. If no reference is made, just like with your putlistitems/occ, fields are not used. Putting all fields is then the best way to ensure proper list initialization.

    Kind regards,
    Richard


    Author: richard.gill (richard.gill@agfa.com)