Mathieu,

I did this on a form of mine.  I included a field in the form for sort
order.  I included this field as a hidden column in the table field.  I
associated active links to the up/down buttons that threw an arrow image
on.  The workflow performs a push fields that resets the sort order
field of the record being displayed and the other associated record.  In
other works if the up button/arrow is pushed work flow decreases the
sort order value by one and increases the sort order value of the record
above it.  The active link then refreshes the table field.

You need to check for a special condition if the record is the first or
last record in the table and the direction of the change but the
functions are the same.

Dave

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Mathieu Pitre
Sent: Friday, February 16, 2007 7:34 AM
To: [email protected]
Subject: Move table rows with up/down arrow botton

Hi all,

ARS 6.0

I would like to do move the rows in a table with a up/down bottons. Let
me 
explain you the details :

I have a table in which some activities resides. Those activities need
to 
be put in a specific order. However, I do not want to users to specify
the 
order in a field manually. In fact, I would like to populate the new
value 
in the order field(the table is sorted by the order field) of each entry
in 
the table by clicking on a up or down arrow button. In other words,
instead 
of specifying the order of each entry, they would select the entry(row)
in 
the table and then click on the up or down botton to move the selected 
row , ..., and all the others obviously. 

Do you know how I should develop this?

Mathieu Pitre

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where
the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to