<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>13 Feb 2020 13:51:40 Z</lastBuildDate><pubDate>13 Feb 2020 09:22:30 Z</pubDate><description>Bonjour j'aimerais savoir comment je peut récupérer le dernier fichier par rapport a la date.&#13;
Je n'arrive pas a récupérer le dernier car je n'arrive pas et comprend pas comment comparé les dates. &#13;
&#13;
Merci d'avance, c,'est le dernier pas après j'ai fini mon appli.&#13;
&#13;
[code:wl]&#13;
RepertoireLocal est une chaîne;&#13;
			RepertoireLocal = "C:\MonRepertoire\FihierWD\"&#13;
			&#13;
			&#13;
				SI fRépertoireExiste(RepertoireLocal) = Faux ALORS&#13;
					fRepCrée(RepertoireLocal)&#13;
					&#13;
				SINON &#13;
					&#13;
					SI fFichierExiste(sNomFichier) = Faux ALORS&#13;
						sNomFichier est une chaîne = RepertoireLocal &#13;
						xlsSauve(DocumentExcel,RepertoireLocal + sNomUtilisateur + ". " +sExecutionDocument+".xls")&#13;
						&#13;
					SINON &#13;
						/////////////// Ne Rien Faire /////////////&#13;
						//// Condition si le fichier existe deja, Impossible qu'il existe deja avec la DateSys et Heure ///////&#13;
					FIN&#13;
					&#13;
					xlsFerme(DocumentExcel)&#13;
				FIN&#13;
[/code]&#13;
&#13;
et apres ce traitement j'aimerai que dans un bouton on récuper le dernier fichier crée dans le RepertoireLocal.&#13;
&#13;
Cordialement &#13;
https://hostimage.windev.io/images/CaptureTri_dbf93f18de8a50eff7ec9a38a51b7946.PNG</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier/read.awp</link><title>FListeFichier</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>cf2icourrier</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236966/read.awp</comments><pubDate>13 Feb 2020 13:51:40 Z</pubDate><description>Salut !&#13;
&#13;
On démarre en mémorisant une DateHeure volontairement très ancienne : 01/01/1900 minuit.&#13;
On lit chaque fichier du ré…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236966/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236966/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier/read.awp">FListeFichier</source><title>Re: FListeFichier</title></item><item><author>dboiseaux</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236953/read.awp</comments><pubDate>13 Feb 2020 09:49:47 Z</pubDate><description>Et sa donnerai quoi en WD language , parce que la syntaxe je vois ce que vous voulez dire mais en WD je vois pas comment l’écrir…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236953/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236953/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier/read.awp">FListeFichier</source><title>Re: FListeFichier</title></item><item><author>dboiseaux</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236952/read.awp</comments><pubDate>13 Feb 2020 09:41:40 Z</pubDate><description>j'ai déja regardé et sa me donne pas ce que je souhaite  ou alors c'est moi qui ne comprend pas. Je n'arrive pas a écrire de par…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236952/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236952/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier/read.awp">FListeFichier</source><title>Re: FListeFichier</title></item><item><author>Voroltinquo</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236951/read.awp</comments><pubDate>13 Feb 2020 09:38:57 Z</pubDate><description>Bonjour,&#13;
Regarde du côté de fDate&#13;
[code]&#13;
Sauvegarde du chemin du premier fichier &#13;
TANT QUE Il existe des fichier à traiter&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236951/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier-236951/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/236949-flistefichier/read.awp">FListeFichier</source><title>Re: FListeFichier</title></item></channel></rss>
