Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Total of records after delete
Message
De
10/12/2009 11:21:00
 
 
À
10/12/2009 10:59:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01438395
Message ID:
01438406
Vues:
46
Thanks Tore!
I forgot to say that I want to avoid to save the work area and then restore it
like you suggested.
Sergey provided a tricky way to do that.
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!
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform