>IF !TYPE(oForm+'.ActiveControl')='O'
>* It's probably an activeX control ?
>ENDIF
>
>:0)
Thanks, Gerald. At least someone's brain cells are working at this hour. It's time to call it a night. Your solution will work quite nicely.
Mark McCasland
Midlothian, TX USA