I don't think the table has to be selected, but it has to be open and you have to be using the correct alias.
I have tested it here at home and it works for me:
einar = "c:\vfp\mytable.dbf"
use (einar)
?type(juststem(einar)+".myfield")
Einar
>yes the table is open, but i have another table currently selected. should the table be selected first before using type?
>
>ok i'll try it. thanks!
Semper ubi sub ubi.