I have posted all the code but i have made the changes that you said todo with the lstlink
example of output when s = 1
1waiting, 01/06/83; waiting, 01/09/46;
Why is there a 1 at the start is it because of t = t & s
I can attach a copy of the db if that would help