>>>>>Not exactly clear. Do you want to put quotes around numerical fields and around dates fields too?
>>>
>>>No. Dates and numbers get no quotes.
>>
>>Thanks - I wanted to make sure. Then the code suggested by Gregory is not going to work, because it puts quotes around everything.
>
>Why don't
you for a change propose a solution - other than a link to the code or the blog of someone else
BTW, I do often admire your solutions and wish I can understand or write a code like you.
Like this one, for example
http://social.msdn.microsoft.com/Forums/en-US/regexp/thread/aec4039c-53be-4cfc-afa9-885a89a13983/#88d35f49-7c3b-42df-8d3b-5ebd6d776a4cI can read code, occasionally understand, but doubtfully write.
If it's not broken, fix it until it is.
My Blog