摘要: lookup->ADOQuery->Connection = DataModule1->ADOConnection1; lookup->ADOQuery->SQL->Text = "select id,Name,PYCode from T where uf=1"; lookup->ADOQuery... 阅读全文
posted @ 2015-02-03 16:21 lypzxy 阅读(198) 评论(0) 推荐(0) 编辑
摘要: //FireDAC FDStoredProc1->StoredProcName = "myReport1"; FDStoredProc1->Prepare(); FDStoredProc1->Params->ParamByName("@dt1")->Value = "2001-... 阅读全文
posted @ 2015-02-03 12:02 lypzxy 阅读(828) 评论(0) 推荐(0) 编辑
摘要: DescriptionOften when manipulating datasets with similar structures, you need to copy the records from one dataset to another.E.g. you may have fetche... 阅读全文
posted @ 2015-02-03 11:30 lypzxy 阅读(553) 评论(0) 推荐(0) 编辑
摘要: if (ADOQuery1->UpdateStatus() == usUnmodified) return;ADOQuery1->UpdateBatch(arAll);UpdateStatus只能判断当前记录(当前行)的状态,不能判断整个记录集的状态啊.ClientDataSet1控件有Change... 阅读全文
posted @ 2015-02-03 10:03 lypzxy 阅读(321) 评论(0) 推荐(0) 编辑