为ADOQuery1动态添加Field
var sField:TStringField;
sField:=TStringField.Create(Self);
sField.FieldName:=sPart;
sField.Name:='ADOQuery1'+sPart;
sField.DataSet:=ADOQuery1;
为ADOQuery1动态添加Field
var sField:TStringField;
sField:=TStringField.Create(Self);
sField.FieldName:=sPart;
sField.Name:='ADOQuery1'+sPart;
sField.DataSet:=ADOQuery1;
本文标题:Delphi AdoQuery动态添加Field
本文链接:https://www.haomeiwen.com/subject/quruactx.html
网友评论