>>Hi Marcia,
>>
>>I seem to have some strange problem with the first record in the grid. It doesn't want to disappear after I deleted it!
>>
>>Any ideas of resolving the problem?
>
>locate rest for not deleted(), maybe?
Ok, I figured this out <g> I looked in the debugger and found, that the record was not deleted. So, finally it dawned on me that this code never selected the main alias.
So, I put
select (thisform.cMainAlias)
locate rest for not deleted()
and it fixed the problem.
Now, I'm wondering, if only selecting main alias would be enough for the original code to work.
If it's not broken, fix it until it is.
My Blog