Am 15.04.2006 um 18:40 schrieb Jan Erik Moström:

What I really want to do is to avoid to build the search question but
concatenating strings (to avoid security/syntax problems), should I do it
some other way?

You could use the poor man's "pre-compiled" approach:

Const PrecompiledString = "select a,b,c where d = #1 and e = #2"

Dim SelectString As String = PrecompiledString.Replace(#1, "first string").Replace(#2, "second string" )

Hans-Georg_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to