Hi itc1,
Well, I can't say that by the code you gave, as I don't have insight into the report and it's data environment. I don't know how the tag should be named and which fields or expression is needed for the index definition.
SELECT Rpttable.id1, Rpttable.fname, Rpttable.lname, Rpttable.company,;
Rpttable.expiredate, Rpttable.idz, Rpttable.pubname, Rpttable.effgroup;
FROM rpttable;
INTO CURSOR cursor1 READWRITE
would be a beginning. Now you should tell me by the needs of the report, what INDEX ON ... TAG ... you need on cursor1.
Have you edited the report (MODIFY REPORT rpttable) and taken a look at it's data environment?
Bye, Olaf.