PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Word Processing Document Save in HFSQL
Word Processing Document Save in HFSQL
Iniciado por rahulmr, 22,ago. 2018 14:07 - 1 respuesta
Miembro registrado
3 mensajes
Publicado el 22,agosto 2018 - 14:07
Hi ,

In the following link it is told that we can save the documents in the HFSQL
https://help.windev.com/…

"Save the documents in HFSQL databases," but I dont see any examples on how to do that.

Has anyone tried saving the word document directly to the database , if so can someone please help me out with an example.

Thanks,
Publicado el 03,septiembre 2018 - 17:10
Hi
You need the Doc colum description



Code to Insert
HRAZ(Documents)
:IDDocuments = 0

MémoireVersFichier(objet,Documents)
SI PAS (HAttacheMémo(Documents,Doc,:Doc,hMemoBin)=Vrai) ALORS
K::EcrireMessageUtilisateur("Une erreur s'est produite lors de l'upload du document.")
RENVOYER Faux
SINON
SI HAjoute(Documents) = Vrai ALORS
FichierVersMémoire(objet,Documents)
RENVOYER Vrai
SINON
RENVOYER Faux
FIN
FIN


Bye