Any time. :)
>Thanks Sergey for the link.
>
>In the mean time I had managed to get the things to work.
>
>Thanks again you have been very helpful to me in the past, I have lot of your replies to me saved in my read folder.
>
>>Take a look at
Re: Recursive loop and SCAN Thread #
683191.
>>
>>>Dear all
>>>
>>>Following is the code I have written (in FPD25) to generate a SQL Cursor for a given UniqueID. The selection process is working well but the hierarchy is not maintained as it should.
>>>
>>< snip >
--sb--