帮我看看有什么错误!
DataModCount->Query1->First();
do
{
DataModCount->Query2->Close();
DataModCount->Query2->SQL->Clear();
DataModCount->Query2->SQL->Add("insert into"+ParamTable2+"(ACCOUNTID,CALLEDID,SERVICESTARTTIME,SERVICETIMES,SERVICECOUNT,TOTALFEE,SERVICETYPE,OPERATORID) SELECT ACCOUNTID,CALLEDID,SERVICESTARTTIME,SERVICETIMES,SERVICECOUNT,TOTALFEE,SERVICETYPE,OPERATORID FROM"+ParamTable1);
DataModCount->Query2->ExecSQL();
DataModCount->Query1->Next();
pos++;
Form1->ProgressBar1->Position=pos;
}while(!DataModCount->Query1->Eof)