La méthode fichier.getContent( ) retourne un BLOB comprenant le contenu intégral du fichier. Pour plus d'informations sur les BLOB, veuillez vous reporter à la section Commandes du thème BLOB.
Valeur retournée
La méthode fichier.getContent( ) retourne un BLOB.
Pour sauvegarder le contenu d'un document contents dans un champ BLOB :
C_TEXTE($vPath)
$vPath:=Selectionner document("";"*";"Selectionnez un document";0)
Si(OK=1)
[laTable]unChampBlob:=Fichier($vPath;fk chemin plateforme).getContent()
Fin de si