>>Even though I've already got this working, you've saved me the trouble of find the constants. Thanks (once more) Mark.
>>
>>BTW, if you don't mind me making a suggestion for the above...I'd use RETURN (lnSuccess > 0) and save the function call. It'll work the same.
>
>I do now. That was a code snippet from an article I placed in the Articles section about 4 years ago. Time to update that article.
Great! The only reason I mentioned it is that I personally think that most folks in general don't know how they can save themselves code and aggravation by modifying the way they handle logical values. For example, how many times have we seen some of the following:
IF lcondition = .T.
ENDIF
DO WHILE .T.
IF lSomeConditionalExpression
EXIT
ENDIF
ENDDO
ldone = .F.
DO WHILE NOT ldone
ldone = lSomeConditionalExpression
ENDDO
But that's just me.:-)
George
Ubi caritas et amor, deus ibi est