//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();

 

posted on 2015-02-03 12:02  lypzxy  阅读(833)  评论(0编辑  收藏  举报