how to assign a script to a column of a table
Post removed (X-No-Archive: yes)
Re: how to assign a script to a column of a table
Pierre <traul [at] freespam.fr> wrote:
> I'm a beginner, and I would like how to assign a script to one of the
> table column ?
I guess you mean a list view where each line is a record and the fields
are arranged in vertical columns.
Assigning a script to such a column (by attaching it to a button in this
column) isn't very useful in general, since the script wouldn't know in
which column the button is, unless you specify that in the script.
You might get more help if you tell us what it is you want to
accomplish.
--
Hans Rijnbout
Utrecht, Netherlands
Re: how to assign a script to a column of a table
In article <1ieub7f.t8rtpebfddbpN%jrijnb [at] xs4all.nl>,
jrijnb [at] xs4all.nl (Hans Rijnbout) wrote:
> Pierre <traul [at] freespam.fr> wrote:
>
> > I'm a beginner, and I would like how to assign a script to one of the
> > table column ?
>
> I guess you mean a list view where each line is a record and the fields
> are arranged in vertical columns.
> Assigning a script to such a column (by attaching it to a button in this
> column) isn't very useful in general, since the script wouldn't know in
> which column the button is, unless you specify that in the script.
> You might get more help if you tell us what it is you want to
> accomplish.
Simple example:
Go to layout[where you are already]
Sort records [Restore, no dialog] --specify the column.
In the layout, create a row of text fields that head each column.
Make the heading of the column a button that calls the script. Then
users can sort the column by clicking on the name.