if I use double "".. will it accept any parameter?
No.
First, there is no problem with special characters in general.
The only problem here is the situation when the character you use as delimiter occurs in the text itself.
Example:
Code:
...WHERE LastName = 'O'Brien';
Solution: You double the ' inside your text values.
Example:
Code:
...WHERE LastName = 'O''Brien';
You can achieve this by replacing a single ' with two '
Code:
...WHERE LastName = '" & Replace(strLastName,"'","''") & "';
If you use double quotes (") as delimiter, it is all the same. Then a single quote (') will do no harm then, but if a double quote happens to be inside the string, you need once more replace the one double quote (") with two double quotes ("").