>Great examples Fabio. Thanks for sharing.
Tracy,
A couple of notes.
Many other languages differentiate between those modules that accomplish a task (sometimes called a procedure, or in VB, a Sub) and those that return a value, a function.
While I'm sure that Fabio was simply copying and pasting from the View Code option, it is something to keep in mind. Especially in view of the maintenance implications.
The other thing that is more significant that a meaningless value (RETURN 99) is returned. Fabio has, in the past, complained that some sound practices are not as fast as they could be. In this case, returning a meaningless value slows things down.
George
Ubi caritas et amor, deus ibi est