I use the .Type property for this and it seems to work. Are you using the proper constants to compare with? For instance, there is vbString (8) and dbText (10). The db prefixed constants are correct here.

Good luck
Bash