I replaced &. with () as you suggested and it works without a problem.
Thank you very much.
>I don't now if macro substitution is supported by VFP OLE DB provider but you don't need macro in this case. The Name Expression should do.
replace (cFldName) with "Something"
>
>
>>I am getting an error on line:
>>
>>replace &cFldName. with "Something"
>>
>>in stored procedure used from .net over OleDb.
>>
>>I don't see a macro as one of unsupported commands in Ole Db. But maybe I am missing something.
>>
>>Please let me know.
>>
>>Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham