Harbour Reference 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

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30