Setting a flag in a table

Discussion forum about all things Gupta, OpenText and the community.
Headcold
United States of America
Posts: 34
Joined: 05 Mar 2018, 16:01
Location: USA

Setting a flag in a table

Post by Headcold » 05 Sep 2018, 17:01

I am curious if it is possible to turn a row flag on a in a table when the user clicks the row? If so can someone possibly explain or help me or give me an example. Thanks you

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1473
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: Setting a flag in a table

Post by Igor Ivanovic » 06 Sep 2018, 08:44

Try the following in the table message actions.

Code: Select all

On SAM_Click
    ! Find the current cell
    Call SalTblQueryFocus ( hWndForm, nRow, hWndColumn )
    ! Set the edit flag
    Call SalTblSetRowFlags( hWndForm, nRow, ROW_Edited, TRUE )
Igor Ivanovic
Image

Headcold
United States of America
Posts: 34
Joined: 05 Mar 2018, 16:01
Location: USA

Re: Setting a flag in a table

Post by Headcold » 06 Sep 2018, 10:24

Perfect thank you. I am new to Team Developer si I really appreciate it.

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 4 guests