IFVarType(THISFORM.ActiveControl) <> "X" *-- ActiveControl existENDIF
HTH
>In my form.refresh() method I need to check ActiveControl. The problem is when I start the form the ActiveControl dosn't exist. Is there a way to check if the ActiveControl exists?