PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Word Processing Document Save in HFSQL
Word Processing Document Save in HFSQL
Débuté par rahulmr, 22 aoû. 2018 14:07 - 1 réponse
Membre enregistré
3 messages
Posté le 22 août 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,
Posté le 03 septembre 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