P
Patrick Tingen
Guest
You are doing a conditional WAIT-FOR and that is asking for trouble. Try to use only one WAIT-FOR in your program. Second - minor point - is that you do not need to use IF .. THEN. for a SESSION:SET-WAIT-STATE. They can appear without any surrounding code on a single line, like: SESSION:SET-WAIT-STATE('general'). I assume that in your real program there is some code between the two session:set-wait-state statements that you left out, otherwise this does not make much sense. For your code I think it is easier to create a separate .w to display the ttVoucher records. That way you keep the code simple.
Continue reading...
Continue reading...