procedure TTPGL.BitBtn1Click(Sender: TObject);
var
name:string;
begin
datasetbroker1.DataSet.RecNo:= radiogroup1.ItemIndex;
name:=datasetbroker1.DataSet.FieldByName('姓名').AsString;
if name <>'' then
begin
with query1do
begin
Close;
query1.CommandText:='update 数据表1 set ps=ps+1 where 姓名 = ''姓名''';
open;
end;
end;
end;