//FireDAC
FDStoredProc1->StoredProcName = "myReport1"; FDStoredProc1->Prepare(); FDStoredProc1->Params->ParamByName("@dt1")->Value = "2001-01-01"; FDStoredProc1->Params->ParamByName("@dt2")->Value = "2021-01-01"; FDStoredProc1->Open(); //ADO ADOStoredProc1->ProcedureName = "myReport1"; ADOStoredProc1->Parameters->Refresh(); ADOStoredProc1->Parameters->ParamByName("@dt1")->Value = "2001-01-01"; ADOStoredProc1->Parameters->ParamByName("@dt2")->Value = "2021-01-01"; ADOStoredProc1->Open();