>George....
>
>...........I prefer using this technique over using a numeric for a couple of reasons. Chiefly because I can simply assign the return value in the function based on a logical expression. For example, if the control needs to accept a date field and the date field needs to be a date in the future: llresult = (This.Value > DATE()) acheives the desire effect.
>
>Is this to fulfill the old function axiom.... one entrance and one exit?
Tom,
I apply that to everything. All routines exit at the bottom and no where else. Actually, this also (to a very minor degree, um, miniscule< g >) cuts down on the size of the application because it reduces the number of literals.
George
Ubi caritas et amor, deus ibi est