Parameters Incorrect syntax near ':'
Выдается ошибка:
Incorrect syntax near ':'
ADOCom->ParamCheck = false;
ADOCom->Parameters->CreateParameter("path",ftString,pdInput,0,NULL);
ADOCom->Parameters->ParamByName("path")->Value=BackupsFolder->Text + "\\ECBASE.bak";
ADOCom->CommandText = "RESTORE DATABASE ECBASE FROM DISK = :path WITH REPLACE";
ADOCom->Execute();