Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Rdd Ads read me - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

ADSFile2Blob()

Save a Binary file to a field
---------------------------------------------------------------------------------

 Syntax

        ADSFile2Blob(cFileName, cFieldName, <nBinaryType>) --> lSuccess  

 Arguments

        <cFileName>      File to read. Can be in UNC format. A common 
                  example is an image file.

        <cFieldName>     Field in the current workarea to contain the 
                  binary data.

        <nBinaryType>    Either ADS_BINARY (the default) or ADS_IMAGE. 
                  This parameter is for fields in DBF files.  ADT tables
                  cannot store binary and image data in standard character
                  memo fields (they have specific field types for that).

 Returns

        <lSuccess>     True if the file is successfully written.    

 Description

      See ACE.HLP for full details about the Advantage Database Server.
      ADSFile2Blob() is a wrapper for AdsFileToBinary.  Use of this
      function is illegal in an ADS transaction.

Status

      Ready

 Compliance

      Harbour extension

 Platforms

      Windows 32-bit only

 Files

      Library is RddAds  Header is ads.ch



See Also: ADSBlob2File()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson