<Wendy wrote> It only ever lists one line. The record count for PERSON is wrong (but the dictionary count is correct. (Yes, really.) ) </Wendy wrote>
Looking at the code I would expect that. The active select list is exhausted when you hit the first count. Since none of the items in the person file are in the select list no items are counted. ( 0 Items ) The second call to the dictionary items does not have an active select list, so there is no problem. Yet when the query looks for the next item to display, there is no more items in the select list, so it stops. ( While the following is not a good work around it is a work around ) SUBROUTINE S.A51.COUNT.RECORDS( RESULT, FILENAME, DICT, X1, X2 ) HUSH ON EXECUTE "SAVE.LIST MIKE" EXECUTE "COUNT ":DICT:" ":FILENAME RESULT = @SYSTEM.RETURN.CODE EXECUTE "GET.LIST MIKE" HUSH OFF RETURN <note> You do not need to use the variable name MIKE ;) </note> ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
