Hi i made the above query in BCB 6 but when i run my application brings me an error in params
ADOQuery1->Close();
ADOQuery1->SQL->Clear();
Edit4->Text=InputBox("Name","Search:","");
ADOQuery1->SQL->Add("DELETE FROM Charl WHERE PictureName='"+Edit4->Text+"'");
ADOQuery1->Params->Items[0]->AsString= ADODataSet1->FieldByName("Leite")->AsString;
ADOQuery1->Prepared=true;
ADOQuery1->ExecSQL();
ADODataSet1->Refresh();
what is wrong???