Ok, I can put the file into a table in database no problem!
But I'm drawing a blank on how to export it back out! SELECT docfilename INTO vdocfilename INDICATOR idocfilename FROM documents WHERE docno = .vchoice1 SET VAR vdocument = docimage IN documents WHERE (docno = .vchoice1) --write document to folder WRITE .vdoucment TO .vdocfilename LAUNCH .vdocfilename This works in 6.5 But in 8.0 the "TO" is not part of the Write command! I get "-ERROR- Syntax is incorrect for the command WRITE (2045)". What method do you use to export the var to a file? Any suggestion welcomed! Best Regards, Oma Cox O.C. Services Inc. P.O. Box 5485 Brandon, MS 39047 662.820.7599 601.992.6785 www.ocservicesinc.com

