<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>3 Nov 2019 10:07:48 Z</lastBuildDate><pubDate>3 Nov 2019 10:07:48 Z</pubDate><description>Bonjour,&#13;
&#13;
Débutant sur Windev 24, dans ma fiche contact j'ai mis le code suivant sur le COMBO_Civilité :&#13;
&#13;
[code:wl]&#13;
	SI COMBO_Civilité = 1 ALORS&#13;
		IMG_Photo = ComplèteRep(fRepExe()) + "Defaut.png"&#13;
	SINON&#13;
		IMG_Photo = ComplèteRep(fRepExe()) + "Defautfemme.png"&#13;
	FIN&#13;
[/code]&#13;
&#13;
Cela afin de changer l'image par défaut en fonction que ce soit un homme ou une femme.&#13;
Par contre, je souhaiterai bloquer ce changement d'image si la photo du contact n'est pas une image par défaut.&#13;
&#13;
L'image étant stockée sur la table dans un champ binaire je ne trouve pas comment réaliser mon test.&#13;
&#13;
Merci à vous.</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/234245-recuperer-nom-image-dans-champ-binaire/read.awp</link><title>récupérer le nom d'une image dans un champ binaire</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster></channel></rss>
