Sorry, my mistake... I admit I didn't try that code, I assumed it worked since it works on memo fields!
Unfortunatly, since this doesn't work, I don't know what will! :(
>Yes, I'm using sqlpassthrouth. I've tried your example but when I try to assign a VFP general to a variable (m.fdata) is an invalid operation .
> m.fdata = tablename.imgfield
Sylvain Demers