CTRecord::GetFilter
Retrieves the current filter expression text.
Declaration
void CTRecord::GetFilter(CTString& cndexpr);
Description
CTRecord::GetFilter() retrieves the current filter expression text. If no record filter is active for this record object, an empty string is returned.
Return
void
Example
// if the record filter is active, retrieve the filter expression
if (hRecord.IsFiltered())
{
CTString expr;
hRecord.GetFilter(expr);
printf("Filter expression %s\n", expr.c_str());
}
See Also
CTRecord::SetFilter(), CTRecord::IsFiltered()