Well, just guessing...
Try to change order of two last lines. ORDER BY first, then INTO CURSOR.
> AND DTOC(Client.Cl_Dob) = tcCl_Dob ;
> INTO CURSOR recClientList;
> ORDER BY 1,2
(...)
AND DTOC(Client.Cl_Dob) = tcCl_Dob ;
ORDER BY 1,2 ;
INTO CURSOR recClientList
Maybe it'll help...
Best,
Janusz Czudek
WORD Software
http://www.wordsoft.com.pl