>Thanks again everybody. In VB you cando this in the load. I am really beginning to fall in love with this VFP. I have programed in vb fo 15 years and I quess I just expect things to be the same. From now on I will try other ways. I know you can do this in the load or init methods and I should of tried the init before bothering you guys. But thanks a lot. The case executes faster anyway. I just thought any langauge would would have the elseif statment, no big thing. Thanks Guys
John,
Since everyone else has answered your questions, I thought I'd throw in a comment about elseif.
VFP supports the following syntax as may have been pointed out
IF < condition > THEN
ELSE
IF < condition > THEN
ELSE
ENDIF
ENDIF
While I've worked in a number of other languages, including VB, I find that elseif statement to be less readable than the above to the extent that I'll use the same construct as I would with VFP.
JMO,
George
Ubi caritas et amor, deus ibi est