Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select 1000 numbers that meet ...
Message
De
28/07/2003 08:22:40
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
27/07/2003 18:27:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00813951
Message ID:
00814035
Vues:
13
>I have a range of some id numbers from 100001 to 200000 and I want to select from mutable more the 1000 records in row that meet a certain condition

Hi Bill,

I'm a little unclear but it sounds like you want to find a record that meets your condition and copy either the next 1000 sequential records or the next 1000 sequential records that meet your condition. If you set an order in your table and set a filter that meets your condition you can use COPY TO... NEXT 1000. You can't use COPY TO ... NEXT 1000 FOR ... because the FOR clause is evaluated against the next 1000 records and you'll get whatever meets your FOR condition in the next 1000 records, not the next 1000 that meet the condition.

If this isn't what you want, post some sample data and describe the results you want.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform