<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>31 Jul 2018 16:10:04 Z</lastBuildDate><pubDate>31 Jul 2018 13:51:50 Z</pubDate><description>I need to create a query which will return two strings from HFSQL table in a readable form.&#13;
This value must be provided from the query - scheduler control displays the value from the query (no formatting is possible before displaying it)&#13;
&#13;
what I need is &#13;
SELECT &#13;
  …&#13;
    WL.DateToString(SCHEDULE.StartDate, maskSystemDate )  + "  " +  WL.DateToString(SCHEDULE.EndDate, maskSystemDate)  AS Formula2&#13;
FROM &#13;
  …&#13;
&#13;
I have both date values in the table, but I can not insert the delimiter between two strings.&#13;
Query editor allows me to enter the following expression&#13;
...&#13;
    WL.DateToString(SCHEDULE.StartDate)  +  WL.DateToString(SCHEDULE.EndDate)  AS Formula2&#13;
FROM &#13;
&#13;
Problem 1: How to add the constant string to the formula (i.e. " ")&#13;
Problem 2: How to format the date in the desired format&#13;
&#13;
[WB23] classic HFSQL</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings/read.awp</link><title>How to - query formula (concatenate database and constant strings)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>vvido</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings-66428/read.awp</comments><pubDate>31 Jul 2018 16:10:04 Z</pubDate><description>Thanks Fabrice,&#13;
&#13;
but the problem is in quotes !!&#13;
SINGLE QUOTES MUST BE USED&#13;
&#13;
I have expected double quotes since I am calli…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings-66428/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings-66428/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings/read.awp">How to - query formula (concatenate database and constant strings)</source><title>Re: How to - query formula (concatenate database and constant strings)</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constantstrings-66421/read.awp</comments><pubDate>31 Jul 2018 14:24:52 Z</pubDate><description>Hi,&#13;
&#13;
I haven't tried, but it seems to me that you could do something like&#13;
&#13;
WL.DateToString(SCHEDULE.StartDate,"YYYY-MM-DD") …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constantstrings-66421/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constantstrings-66421/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66420-how-query-formula-concatenate-database-and-constant-strings/read.awp">How to - query formula (concatenate database and constant strings)</source><title>Re: How to - query formula (concatenate database and constantstrings)</title></item></channel></rss>
