>>>I have a situation when user may create a query/filter criteria that will make SQL Select to select up to 200,000 records (or even more). The problem with this is that 1) it takes too much time and I don't know how to "allow" user to cancel the selection. 2) I really would prefer to "stop" or not allow user to select that many records. I wish there were a way to set some criteria in SQL Select that would stop selecting once the number of selected records has reached a certain number.
>>>
>>>Any suggestion to deal with this situation?
>>
>>Dmitry,
>>This may sound odd but an alternative is to connect to local data through parameterized SPT and use fetching.
>
>Cetin,
>I am not familiar with what you refer to as "fetching". By the way, the data is in VFP database, not SQL Server. Is "fetching" something related to SQL Server?
>
>Thank you.
No. See section "Speeding Up Data Retrieval" in help.
Cetin