W
wangqinyun2000
Unregistered / Unconfirmed
GUEST, unregistred user!
DataModule17.ADOQ94.First;<br>while not (DataModule17.ADOQ94.Eof) do<br>begin<br> s:=INTTOSTR(DataModule17.ADOQ94.FieldByName('RECN').AsInteger);<br> DataModule17.ADOQ94.Edit;<br> if length(s)=0 then S:='0000'+S;<br> if length(s)=1 then S:='000'+S;<br> if length(s)=2 then S:='00'+S;<br> if length(s)=3 then S:='0'+S;<br> DataModule17.ADOQ94.FieldByName('XTDFBAK').AsString:=trim(S)+DataModule17.ADOQ94.FieldByName('XTDFBAK').AsString;<br> DataModule17.ADOQ94.Post;<br> DataModule17.ADOQ94.Next;<br> label4.Caption:=S;<br>end;<br>怎么没有保存字段XTDFBAK更新后的内容,请高手帮瞧瞧啊