Hi Pat,

"WP Get elements" returns a collection. So the first row is element 0.

https://doc.4d.com/4Dv17R3/4D/17-R3/WP-Get-elements.301-3920772.en.html 
<https://doc.4d.com/4Dv17R3/4D/17-R3/WP-Get-elements.301-3920772.en.html>

- Jeremy

> On Mar 17, 2019, at 9:36 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> *Problem no. 1: Attributes are applied to the wrong row*
> 
> $rows:=*WP Get elements*(wptable;wk type table row)
> $row:=$rows[1]
> 
> *WP SET ATTRIBUTES*($row;wk font bold;*True*)
> *WP SET ATTRIBUTES*($row;wk font size;"16pt")
> 
> These attributes are applied, but to Row 2 instead of Row 1!



**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to