>Code like yours works everywhere in my applications.
It does in mine too... That is why this is such a mystery!
>What do you have after endif?
A call to a com object....
>Do you have anything in the text2.gotfocus?
Just a little ditty that sets the caption of lable.
Tom Gahagan
Alliance
Computer Solutions
"Music, like sex, is much too important to be left to professionals."
Robert Shaw