我认为如果只是COPY符合条件的某些字段,那在关键字段相同的情况下: var x,y:string; begin x:=query1.fieldbyname('x').asstring; y:=quwey1.fieldbyname('y').asstring; table1.append; table1.fieldbyname('x').asstring:=x; table1.fieldbyname('y').asstring:=y; table1.post; end;
----------------------------------------------
Function IThink(Boy,Girl : TPerson) : String; begin if Boy.钱 < 10W then Girl.Say(''滚!'') else begin if Girl.Anser = ''我愿意'' then Result := ''结婚'' else Result := IntToStr(88); end; 风过不折→百炼成尧 QQ: 7315910
说清楚一点三。 DBGrid1只是显示数据作用,要让字段消失当然要删除表格里的数据咯。 if ... then table1.delete;
----------------------------------------------
Function IThink(Boy,Girl : TPerson) : String; begin if Boy.钱 < 10W then Girl.Say(''滚!'') else begin if Girl.Anser = ''我愿意'' then Result := ''结婚'' else Result := IntToStr(88); end; 风过不折→百炼成尧 QQ: 7315910