must treat DBF_ENUM differently in pvif than in dbf_copy as the storage types used are different.
Yet more type conversions. This is a complement to pvif.h in that PVIF calls into dbPut() which this code is called by dbPut().