Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select 1000 numbers that meet ...
Message
From
28/07/2003 08:22:40
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
27/07/2003 18:27:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00813951
Message ID:
00814035
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform