QTP Questioin Answers :)

John Webster john.webster@clear.net.nz
Tue, 5 Dec 2000 14:22:08 +1300


>   Anyone got any ideas on this one?

Instead of
37     OUTPUT TRANS DELETE ON ERRORS REPORT &
   37.1                VIA ACCOUNT USING ACCOUNT OF HIST2 &
   38                  IF ((POST-DATE >= D-DATE-START) AND &
   39                      (POST-DATE <= D-DATE-END) AND &
   40                      (TRANS-TYPE[2:1] = "1") AND &
   41                      (SERV <> "H-BAL"))

try
37     OUTPUT TRANS DELETE ON ERRORS REPORT &
   37.1                VIA ACCOUNT USING ACCOUNT OF HIST2

   38   SELECT IF ((POST-DATE >= D-DATE-START) AND &
   39                      (POST-DATE <= D-DATE-END) AND &
   40                      (TRANS-TYPE[2:1] = "1") AND &
   41                      (SERV <> "H-BAL"))

The OUTPUT ... DELETE will cause the record to be retrieved in the
initialisation stage of the output phase. From memory the select should
work. Check out the diagrams in the QTP manual.

John W

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.