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 Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw