how to assign a script to a column of a table

how to assign a script to a column of a table

am 02.04.2008 18:49:16 von unknown

Post removed (X-No-Archive: yes)

Re: how to assign a script to a column of a table

am 03.04.2008 23:26:32 von jrijnb

Pierre 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

am 04.04.2008 20:27:54 von Bill Steele

In article <1ieub7f.t8rtpebfddbpN%jrijnb@xs4all.nl>,
jrijnb@xs4all.nl (Hans Rijnbout) wrote:

> Pierre 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.