vba_php
Forum Troll
- Local time
- Today, 16:59
- Joined
- Oct 6, 2019
- Messages
- 2,880
I've been wondering this for years cuz I've only ever used one type of syntax to get the parser to recognize double quotes in a statement or action/function. the method I always use is like so:
but I use this more often than the above example:
I have also seen people make it work apparently using 3 double quote marks in some sort of context? what are all the different options for parsing single and double quote marks in basic?
Code:
[B][U]SAMPLE SQL in VBA[/U][/B]
"WHERE [field] = " & """" & me.StringControl & """"
Code:
"WHERE [field] = '" & me.control & "'"