>Did you try
>
>SELECT * FROM SomeTable WHERE Fld1 = ? AND Fld2 = ?
>
Yep, but as I said I NEED variable names, because the application works with SQL Server connected with ODBC and I prefer sometimes to use SQLEXEC() :-))))
I could handle this with STRTRAN() but that is .... (I have no words :-))
I hate ADO :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.