I am using the 'REPORT FOR' command to send the output to a file. I want it to print only the first 19 record on the first page and the rest on the second page. Following is the coding that I am using:
ON PAGE AT LINE 20 EJECT
REPORT FORM ABC.FRX FOR nName NEXT 19 TO ....FILE
Now, if i say
REPORT FOR ABC1.FRX FOR nName REST TO....FILE, it prints all the records. for some reason it is moving the record pointer to the top. I tried GOTO RECORD 20 IN tableused, between the 2 reports, but it still prints all record for the name specified.
ON PAGE AT LINE 20 EJECT
REPORT FORM ABC.FRX FOR nName NEXT 19 TO ....FILE
Now, if i say
REPORT FOR ABC1.FRX FOR nName REST TO....FILE, it prints all the records. for some reason it is moving the record pointer to the top. I tried GOTO RECORD 20 IN tableused, between the 2 reports, but it still prints all record for the name specified.