# Path tables and screen attributes

**URL:** <https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [August 11, 2010, 4:40pm UTC](https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339 "2010-08-11T16:40:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikeP](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MikeP](https://techcommunity.softwareag.com/u/MikeP)\
**Post date:** [August 11, 2010, 4:40pm UTC](https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339/1 "2010-08-11T16:40:41Z")

</div>

I have a situation where I need to add the screen attribute to a table that is built from a path so I can display it correctly when displaying the table on a combined screen.

I have added the field to the table (Table\_Attribute) but I have been unable to correctly load the field attribute (foreground color) to the table field.

I’ve tried using expressions and mapping it to the new table field but I either am not loading it or am not pulling the value from the table correctly on the final display.

Any help would be appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![Tanya](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@Tanya](https://techcommunity.softwareag.com/u/Tanya)\
**Post date:** [August 15, 2010, 6:48pm UTC](https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339/2 "2010-08-15T18:48:07Z")

</div>

Mike,

assuming you are using APX5.2.5 and spoke to Sandu will copy his answer here for the future reference:

> [@Sandu](#):
>
> After looking at it more deeply ,you cannot do this with a path bases table but here are some options :
> 
> 1. 
> 
> ```
> Create a path that returns String arrays , for each column on screen an array + 1 array for the color attribute. Than in .Net code you run the path and use the arrays outputs to create a gx_table manually, and set the colors in your table according to color array.
> 
> ```
> 
> 2. 
> 
> ```
> Do the whole operation from base object and not from path
> 
> ```
> 
> 3. 
> 
> ```
> Use the current Path based table , and then from the .Net go once again through the screens and collect the colors from the base object
> 
> ```
> 
> 4. 
> 
> ```
> Do some change on the As-400 add a hidden field that contains the color or attribute about the row ( I never tested this in a path, I know that from base object it is possible to test hidden fields, I am not sure if they can be used in a table) 
> 
> ```

---

<div class="post-metadata">

**Author:** ![Sandu](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/sandu/32/290_2.png) [@Sandu](https://techcommunity.softwareag.com/u/Sandu)\
**Post date:** [August 15, 2010, 7:32pm UTC](https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339/3 "2010-08-15T19:32:47Z")

</div>

And as I wrote in the mail. In Version 8.1.2 it is easier to implement this issue

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:58pm UTC](https://techcommunity.softwareag.com/t/path-tables-and-screen-attributes/94339/4 "2021-04-02T14:58:53Z")

</div>


