當我嘗試搜索這兩列,沒有過濾器。我想在dbgrid中列出5和30.05.2016。德爾福sql搜索列和列
adoquery1.Close;
adoquery1.SQL.CLEAR;
adoquery1.SQL.Add('select * FROM Sheet11 ');
adoquery1.SQL.Add('where field9 like :blm and field12 like :blm1');
adoquery1.Parameters.ParamByName('blm').Value:='5';
adoquery1.Parameters.ParamByName('blm1').Value:='30.05.2016';
adoquery1.Open;
什麼是'field9'的類型? – Sami