Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes all ranges that are associated with the data source.
Syntax
public void clearRanges()
Run On
Called
Examples
The following example adds ranges and then removes them from a data source.
Query Q = new Query();
QueryBuildDataSource ds = q.addDataSource(TableNum(CustTable));
QueryBuildRange r = ds.addRange(FieldNum(CustTable, recId));
print ds.rangeCount();
ds.clearRanges();
print ds.rangeCount();
pause;