V4MD escape apostrophe
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Jun 20 09:50:16 CDT 2005
On 6/20/05 12:09 AM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:
> Hi Ruslan,
> thanks for your answer.
> But I have a more complex problem: for search a string the user of my app
> can click in a cell of grid (I use cXtraStringGrid), the string cell is
> automatically send in field "searchString" and after start the search query.
> I can't preview if surname have an apostrophe... and where is it.
And you should not.
Just any string ENTERED by user should be prepared by
Valentina.EscapeString()
> I need of a solution for all strings that have an apostrophe in some place.
> After your answer I suppose that it is necessary to create a loop for get
> the apostrophe position and after start the query con a variable escape
> position.
> But other member how do it if the searchString is variable?
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list