I need to split an indexed table up into a variable number of parts. That is - to produced the same report for n number of items at a time to get around the creation of an enormous MSWord document.
I have a routine using a filter and record numbers.
I now remember that the indexed table has record numbers in any order based on the filter key so I get the records out of the expected index order.
Can anyone suggest a way to create a filter for say 25 records at a time irrespective of any filter that may be applied?
Thanks
Bryan
I have a routine using a filter and record numbers.
Code:
SET FILTER TO (recno() >= mywordsplitstart AND recno() < (mywordsplitamount+mywordsplitstart))
I now remember that the indexed table has record numbers in any order based on the filter key so I get the records out of the expected index order.
Can anyone suggest a way to create a filter for say 25 records at a time irrespective of any filter that may be applied?
Thanks
Bryan