Hi Martin, I agree that using tsqlstringlist is the best solution. I used sql.macros[i] but I did not find how to use itembyname? Best Regards.
Med. ________________________________________ De : Martin Schreiber [[email protected]] Envoyé : mercredi 28 septembre 2016 17:07 À : [email protected] Objet : Re: [MSEide-MSEgui-talk] string function On Wednesday 28 September 2016 18:37:38 mohamed hamza wrote: > Hi Martin, > > I did > tmsesqlquery(ds.dataset).sql[7]:=ansireplacestr(tmsesqlquery(ds.dataset).sq >l[7],':=','<>'); but the string ':=' is not replaced with '<>'? > tmsesquery.sql is of type tsqlstringlist which inherits from tmsestringdatalist which uses msestring (UnicodeString) not ansistring. Tip: use tsqlstringlist macros instead to use strigreplace. Martin ------------------------------------------------------------------------------ _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk ------------------------------------------------------------------------------ _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

