Hello! There is a DB on ADO and Access. My task is to click on the button to filter the table by two fields at once: the value of the first field is entered into Edit1, the value of the 2nd is set via code. So far made the following code, but it does not work, swearing on arguments. I tried many options, but the error is the same.
ADOTable1->Filtered = false; ADOTable1->Filter = "Tip LIKE '"+Edit1->Text+"%' AND Rezultaty LIKE 'Не пройдена'"; ADOTable1->Filtered = true; Question: what is wrong with the arguments and how can this be corrected?