hi folks

why after the command "count all to xxx" the
command "delete" does not works ?

Re: count all by Rick

Rick
Tue Sep 16 15:15:40 CDT 2003

Sonia,
The command:
Count All to xxx
will place the current record pointer at the table's EOF (End-of-File), =
and since there is no record there, you can't DELETE it. If you want to =
qualify the DELETE then the DELETE will work. e.g.
DELETE ALL
or=20
DELETE ALL for mykey=3D"AAA"
or if you try something like this:
GO TOP
DELETE && will just delete the first record.

Rick

"sonia" <sonia@tecnoplanet.com.br> wrote in message =
news:036901c37c87$543fea90$a301280a@phx.gbl...
> hi folks
>=20
> why after the command "count all to xxx" the=20
> command "delete" does not works ?

count all by pushpak

pushpak
Tue Nov 04 00:01:50 CST 2003


>-----Original Message-----
>hi folks
>
>why after the command "count all to xxx" the
>command "delete" does not works ?
>.
>
Hi Sonia,
Whenever you executes the cmd 'count all to xxx',
record pointer goes to end of file. And thats why
you cant delete any records.