11-15-2007 5:19 AM
Hi Guruu's,
im using interface arcitecture... in that im having 5 forms. i hv to code every thing inside form only(except declaration section)... im generating inter company vendor payment bill...My requirement is , if the vendor number exceeds some pre defined value i should stop generating the bill and come out of the pgm...how can i do it... if i use exit it is comming out from that form only...
11-15-2007 5:26 AM
Hi..
USE STOP instead of EXIT..
EXIT will come out only from the Perfrom where it found
whereas STOP will go to the END-OF-SELECTION no matter in which Perform it occured .
Hope this Helps .
Praveen
11-15-2007 5:21 AM
11-15-2007 5:21 AM
YOu can use the STOP ...
like
if vendor_amt > 100000.
STOP.
ENDIF.
Because of the STOP, control goes directly to END-of-SELECTION.. and if you don't have end-of-selection, program comes out to selection screen.
Regards,
Naimesh Patel
11-15-2007 5:26 AM
Hi..
USE STOP instead of EXIT..
EXIT will come out only from the Perfrom where it found
whereas STOP will go to the END-OF-SELECTION no matter in which Perform it occured .
Hope this Helps .
Praveen