Sort
James Rea
jim at provue.com
Fri May 16 19:30:15 PDT 2008
> You think could do this with a variable...triggered by a button?
> local sortDirection
I think you'd want to use a permanent variable instead of a local -- and
you might want to have multiple variables for multiple fields.
However, I think I might take another tack entirely:
local topcell,bottomcell
noshow
lastrecord
bottomcell=«»
firstrecord
topcell=«»
if topcell>bottomcell
sortup
else
sortdown
endif
showpage
endnoshow
I haven't tested this but this should get you most of the way there.
Jim Rea
President, ProVUE Development
---------------------------------------------------------------------
--- Celebrating 30 years of software excellence (1978-2008) ---
---------------------------------------------------------------------
ProVUE Development (714) 841-7779
18685-A Main Street PMB356 http://www.provue.com/
Huntington Beach, CA 92648 Panorama: Turn information into knowledge
---------------------------------------------------------------------
More information about the Qna
mailing list