摘要:
注:数据集过滤和表格控件过滤不会影响数据集的记录定位。 for I := 0 to cxGridDBTableView.DataController.Controller.SelectedRecordCount - 1 do begin //iterate //利用CDS的RecNo属性来定位记录(recNO = recordIndex+1) cds.RecNo := cxGridDBTable... 阅读全文
摘要:
刚好碰到 ,顺便试了下,有需要的朋友可以看看。 uses TypInfo; type TOrderType = (otFN,otGR,otSZ);var pi:PTypeInfo; i:Integer; ot:TOrderType; s:String;begin pi:= TypeInfo(TOrderType); with GetTypeData(pi)^ do begin for i :=... 阅读全文