NetTalk Web Server > Web Server - Share Knowledge
Creating a simple filter
(1/1)
John Hickey:
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.
Navigation
[0] Message Index
Go to full version