Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of undeleted records in a table
Message
 
To
28/09/2004 06:59:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00946531
Message ID:
00946653
Views:
19
>hi,
>
>i want to count deleted records,at my code
>
>thanks.
local lcWasDel, lnDeletedRecords
local array laJunk[1]

lcWasDel = set("DELETED")
set deleted OFF

select ;
 count(*) from <Alias> ;
  where DELETED() ; 
   into array laJunk

set deleted &lcWasDel

lnDeletedRecords = iif(_tally > 0, laJunk[1], 0)
 ? There are "+ trans(lnDeletedRecords) +" Records"
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform