Mar 27, 2012 #1 MLNorton Programmer Nov 15, 2009 134 US What is wrong with this filter statment? Form_Main.ADOTable1.Filter := 'Active = ' + quotedStr('A') or 'Active = ' + quotedStr('B');
What is wrong with this filter statment? Form_Main.ADOTable1.Filter := 'Active = ' + quotedStr('A') or 'Active = ' + quotedStr('B');
Mar 27, 2012 #2 majlumbo Programmer Jul 13, 2010 295 US Probably lack of quotes around the "or" Code: Form_Main.ADOTable1.Filter := 'Active = ' + quotedStr('A') +' or Active = ' + quotedStr('B'); Upvote 0 Downvote
Probably lack of quotes around the "or" Code: Form_Main.ADOTable1.Filter := 'Active = ' + quotedStr('A') +' or Active = ' + quotedStr('B');