Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table
Message
De
26/03/2004 11:00:24
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/03/2004 10:30:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Re: Table
Divers
Thread ID:
00889969
Message ID:
00889984
Vues:
22
>Hello all
> i have a table ,i want to delete a limited number of records after i make
>filter .e.i if have team_no=4 ,when i make filter to this team_no i got 100 records ,i want to delete 25 record or 40 etc....
>
>i write set filter to team_no=4 how i can make filter to 25 frm 100 etc....

I think you mean how to set filter not delete.
thisform.addproperty('aFiltered[1]',0)
select top 25 ;
   recno() as rcno ;
   from myTable ;
   where team_no = 4 ;
   order by 1 ;
   into array thisform.aFiltered
set filter to ascan(thisform.aFiltered, recno()) > 0
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform