Ok, I've come across this problem before and solved it but not in my ideal way of thinking. Here is what I've done in the past...
This will embed a single quote, concat the value of bsbu and embed another single quote around the other end. I don't really want to move a string into a variable or create a constant and do it this way. I'd rather just code it all right inline....
Something like...
Now this doesn't work for obvious reasons... but is there an easy way to just escape a single quote into the string? Why can't this be as easy as by beloved C++?
Just dreaming here...
a guy can dream nowadays right?
Code:
whereclause += ' and accsbu = ''' + bsbu + '''';
Something like...
Code:
whereclause +=' and accsbu = 'mysbu'';
Just dreaming here...
Code:
whereclause +=' and accsbu = /'mysbu/'';







Comment