Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Joachim Duerr" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: ADS 12 problems Date: 1 Aug 2016 16:18:06 GMT Lines: 26 Message-ID: References: <4265a7cb-37f4-486b-a493-01418c0eb6ae@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net DBfi8FSU8k3hvVBIxPrXPw+wQRgYR7jLQj4kn08uncnRS0Tsy7 Cancel-Lock: sha1:G9Mq1rZK7PFJ8kRAKpeepBrkW+E= User-Agent: XanaNews/1.19.1.320 Xref: csiph.com comp.lang.clipper.visual-objects:9573 Jürgen Knauf wrote: > open a Dokument in MS Word and try to import it into a binary field. > > oServer:Rlock() > > IF oServer:AX_File2BLOB(cSaveName,"TXT") == FALSE > MsgAlert("Write Error!"+CRLF+"Document was not >saved!","Attention") ENDIF > > oServer:commit() > oServer:Unlock() > >Until ADS 11.x no problem! ah. ok. I thought it might have been Data Architect. Does it return any error code? In the records I can not see any modifications to AdsFileToBinary (which is the underlying API). Another possibility would be to read the file content with your application and pass it over to ADS. This would make you independant from API changes. -- Joachim Duerr Softwareengineering http://www.jd-engineering.de