How to highlight a field in datawindow?

I have a free-form style datawindow that displays only one record.  There are two fields in the datawindow: report and name.  Both fields are retrieved from the database.  These are not text boxes or edit boxes.  Both fields are editable and enabled and have tab values assigned.
How do I highlight the report field (selecting all text inside) using powerscript?
NiemandAsked:
Who is Participating?
 
ptbarnumConnect With a Mentor Commented:
//Make it the current column
dw_1.SetColumn("report")

// Then select the text
dw_1.SelectText(1,N)  // where N is the length of the column
0
 
NiemandAuthor Commented:
It turns out that SelectText is not necessary to highlight the text because just using SetColumn would highlight the entire text.  I suppose SelectText is used so that SelectedText can be applied.
Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.