in reply to Re^9: CGI Action call
in thread CGI Action call

Tracked it down for now. I have a variable storing a sort index (0,1 or 2). It is correct after I search a name which is supposed to establish the the order. It does. When I execute the code to get the next record the sort index is 0 while for lastname it was 1 before entering the sub for navigating. The $sortIndex

$sortindex is declared here: use vars qw($dataupdatemessage $dataupdatefilemessage $LoggedOnId $sortindex ); It should persist. Searched all instances and see nothing that would change it.

Replies are listed 'Best First'.
Re^11: CGI Action call
by poj (Abbot) on Mar 28, 2018 at 07:09 UTC
    It should persist.

    Do you mean it should persist between search_Records() and navigate_Records(). How, on the client in javascript ?

    poj