>return ; > dodefault() and ; > THISFORM.pgf.Page1.txtIno.CheckForBadNextNo() and ; > ... >Sorry I had not mentioned it but there are if conditions with code afterwards so I guess this method is out. But in short cases, yes.
>if !dodefault()
> return .f.
>endif
>if !...
> return .f.
>endif
I was always told that multiple returns were bad (I was a heavy user of multiple returns reminiscent of old GWBasic days :)) Any practical pitfalls, or is it just theory that mutiple returns are bad?Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________