On the newsgroup, Steve Ellis asked:
How do I code a simple browse filter like
TRI:TABLETYPE='P'
Sean Cameron (CapeSoft) answered:
The entire filter expression is a string, so you need to double up your quotation marks, or use ASCII 39:
'TRI:TABLETYPE=<39>P<39>'
or
'TRI:TABLETYPE=''P'''
Using the ASCII code is a nice way of doing it as it can be a lot clearer, especially when you have a long expression with a number of string literals.