<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>3 Aug 2015 22:31:00 Z</lastBuildDate><pubDate>3 Aug 2015 22:13:00 Z</pubDate><description>EDIT 2: Got it. Select the correct row first, then call SetFocus on the column:&#13;
TableSelectPlus(TABLE_Item,TABLE_LabItem..Occurrence) SetFocus(COL_Amount)&#13;
&#13;
Does anyone know how to SetFocus() to a table column at a certain row?&#13;
&#13;
SetFocus(COL_Amount) always sets the focus to the first row of the column.&#13;
&#13;
All of these error out:&#13;
SetFocus(COL_Amount[1]) SetFocus(COL_Amount[Table_Item..Occurrence]) SetFocus(Table_Item[1].COL_Amount)&#13;
&#13;
EDIT 1: I also tried doing the following as it's a small table and I always want to focus in COL_Amount of the last row. The code still only selects the column in the first row.&#13;
&#13;
FOR EACH ROW OF Table_Item SetFocus(COL_Amount) END</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved/read.awp</link><title>[WD20] SetFocus() on a Column in Specified Row [SOLVED]</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved-53383/read.awp</comments><pubDate>3 Aug 2015 22:31:00 Z</pubDate><description>You are correct. Thanks.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved-53383/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved-53383/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved/read.awp">[WD20] SetFocus() on a Column in Specified Row [SOLVED]</source><title>Re: [WD20] SetFocus() on a Column in Specified Row [SOLVED]</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-53382/read.awp</comments><pubDate>3 Aug 2015 22:27:00 Z</pubDate><description>Hi Curtis,&#13;
&#13;
from the top of my head, I would do:&#13;
tableselectplus(Table_Item,DesiredLine)&#13;
returntocapture(table_Item.Col_Amou…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-53382/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-53382/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53380-wd20-setfocus-column-specified-row-solved/read.awp">[WD20] SetFocus() on a Column in Specified Row [SOLVED]</source><title>Re: [WD20] SetFocus() on a Column in Specified Row</title></item></channel></rss>
