<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>11 Feb 2016 11:28:00 Z</lastBuildDate><pubDate>8 Feb 2016 15:30:00 Z</pubDate><description>Hi,&#13;
&#13;
I have some problems with a part of my own build sql string.&#13;
&#13;
I have to extract the filename suffix&#13;
&#13;
.... FROM Files WHERE WL.ExtractString(Files.Filename,-2147483645,'.') = 'pdf'&#13;
&#13;
The number is the constant for "lastrank". The SQL doesn´t run.&#13;
&#13;
Any idea whats the problem is ?</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp</link><title>[WD20] Extract a filename suffix in a SQL string</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56362/read.awp</comments><pubDate>11 Feb 2016 11:28:00 Z</pubDate><description>Hi Piet,&#13;
&#13;
fextractpath(files.filename,8) runs, but it returns 0 rows ... I think the "8" is not right in the SQL Environment.&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56362/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56362/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56346/read.awp</comments><pubDate>10 Feb 2016 18:02:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
If you do a info(fExtension) you get 8.&#13;
You will probably be able to use it like this in your WL.fExtractPath(My…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56346/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56346/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56339/read.awp</comments><pubDate>10 Feb 2016 13:50:00 Z</pubDate><description>Strange,&#13;
&#13;
if I use this statement, from the hf controlc centre 20, on one of my testdatabases it works like a charm and gives …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56339/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56339/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56338/read.awp</comments><pubDate>10 Feb 2016 13:32:00 Z</pubDate><description>Hi Arie,&#13;
&#13;
no both of it doesn´t work&#13;
&#13;
&#13;
LastRank:&#13;
&#13;
sSQLText+=StringBuild(" AND ( Masterplan.Plannummer + Masterplan.Index …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56338/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56338/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56337/read.awp</comments><pubDate>10 Feb 2016 13:15:00 Z</pubDate><description>Hi,&#13;
&#13;
The requirements aren't clear are they?&#13;
&#13;
Because users can always enter anything... not always what we'd like them to:&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56337/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56337/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56336/read.awp</comments><pubDate>10 Feb 2016 12:43:00 Z</pubDate><description>BTW: according to my debugger&#13;
fromBeginning=0&#13;
and&#13;
fromEnd=1&#13;
So you can use this straight away.&#13;
&#13;
And the value for lastRank…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56336/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56336/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56335/read.awp</comments><pubDate>10 Feb 2016 12:28:00 Z</pubDate><description>what about using StringCount to get the number of the last 'point' , thus avoiding the use of a constant?&#13;
&#13;
WL.ExtractString(Fi…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56335/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56335/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56334/read.awp</comments><pubDate>10 Feb 2016 12:18:00 Z</pubDate><description>Darren&#13;
Curious...&#13;
How could a file extension not be at the end of the file name?&#13;
&#13;
If this were the case how would you choose…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56334/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56334/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56333/read.awp</comments><pubDate>10 Feb 2016 12:12:00 Z</pubDate><description>Hi Darren,&#13;
may be my english is too bad.&#13;
&#13;
I use the WX SQL Editor. I can use all WL commands in the list of WL commands shown…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56333/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56333/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56332/read.awp</comments><pubDate>10 Feb 2016 12:04:00 Z</pubDate><description>Hi Michael,&#13;
&#13;
No point banging your head for too long on this. With WD working the way it does, I would use SQL to bring back t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56332/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56332/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56331/read.awp</comments><pubDate>10 Feb 2016 11:43:00 Z</pubDate><description>Hi Arie and Derek,&#13;
&#13;
I use HFSQL. For me the interesting part is: How to use the wl.commands in the sql editor if the have cont…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56331/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56331/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56329/read.awp</comments><pubDate>10 Feb 2016 11:20:00 Z</pubDate><description>Michael,&#13;
&#13;
maybe you can add an extra field "file_extension" or "file_type" to the database?&#13;
And do the extraction in your own…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56329/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56329/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56328/read.awp</comments><pubDate>10 Feb 2016 11:19:00 Z</pubDate><description>Michael&#13;
Not sure I can help then as I do not believe MySQL offers that functionality - Not that I am a guru in this respect.&#13;
&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56328/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56328/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56327/read.awp</comments><pubDate>10 Feb 2016 11:01:00 Z</pubDate><description>Hi Derek,&#13;
&#13;
it´s not so easy lile is seems. I have a database of millions of files. The user can select these files over the da…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56327/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56327/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56326/read.awp</comments><pubDate>10 Feb 2016 10:55:00 Z</pubDate><description>Michael&#13;
&#13;
Do not understand the 2 dots issue.&#13;
Pretty poor naming convention to begin with but in any case it will be the chars…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56326/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56326/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56314/read.awp</comments><pubDate>9 Feb 2016 22:28:00 Z</pubDate><description>Hi Derek,&#13;
&#13;
what do you doing with "mynewExceldocument.xlsx" ? :rp:</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56314/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56314/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56313/read.awp</comments><pubDate>9 Feb 2016 21:58:00 Z</pubDate><description>Michael&#13;
&#13;
Can you not do something along these lines?&#13;
&#13;
SELECT DocumentLog.Filename AS Filename, RIGHT(DocumentLog.Filename,3)…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56313/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56313/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56311/read.awp</comments><pubDate>9 Feb 2016 14:09:00 Z</pubDate><description>Hi Derek,&#13;
&#13;
I used now "SPLIT_PART" which works ok if the filename has only one "." in his name.&#13;
&#13;
I don´t know how to set "fE…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56311/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56311/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56305/read.awp</comments><pubDate>8 Feb 2016 17:49:00 Z</pubDate><description>Michael&#13;
fExtractPath(MyFilename,fExtension) is your friend</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56305/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string-56305/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/56304-wd20-extract-filename-suffix-sql-string/read.awp">[WD20] Extract a filename suffix in a SQL string</source><title>Re: [WD20] Extract a filename suffix in a SQL string</title></item></channel></rss>
