Punchinello
Programmer
I'm using TADOQuery against an Access database (converted to SQL Server in production) and want to provide user-controlled filtering displayed in a standard DBGrid.
The SQL statement is a simple SELECT and I want to apply a filter on the field in the ORDER BY clause so I set the Filter like LastName = 'Smith*' wanting the "*" to indicate a partial match, and turn Filtered to True.
But wait! The ADOQuery says that the FilterOptions is not supported! So how can I use the filter properties for partial matches?
The SQL statement is a simple SELECT and I want to apply a filter on the field in the ORDER BY clause so I set the Filter like LastName = 'Smith*' wanting the "*" to indicate a partial match, and turn Filtered to True.
But wait! The ADOQuery says that the FilterOptions is not supported! So how can I use the filter properties for partial matches?