lcAlias=select()
Select yourcursor
count for !deleted() to lndeleted
select (lcAlias)
>Hi.
>I have a cursor created in the following way:
>
>AFIELDS(oEstru2, 'louvores')
>CREATE CURSOR NovaLouvores FROM ARRAY oEstru2
>
>
>After DELETED some records I need to know the quantity of records not deleted.
>SET DELETE is ON.
>I can't use RECCOUNT because if returns deleted+undeleted. So I'm using
>
>count for !deleted()
>
>
>The problem is that COUNT operates only in the current work area. Can't point to an 'Alias'.
>Is it possible to do that in other way?
>Thanks!