Applies a range to the dataset.
When a range is in effect, only those records that fall within the range are available to the application for navigating, viewing and editing. After a call to ApplyRange, the cursor is left on the first record in the range.
ADQuery1.IndexFieldNames := 'CUST_NO'; ADQuery1.SetRangeStart; ADQuery1['CUST_NO'] := '100'; ADQuery1.SetRangeEnd; ADQuery1['CUST_NO'] := '200'; ADQuery1.ApplyRange;
What do you think about this topic? Send feedback!