亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pzlr.pas

?? 一個比較實用的憑證管理系統,Delphi+SQL開發
?? PAS
?? 第 1 頁 / 共 3 頁
字號:
begin
  JCXMlb := True;
  For m := 1 to a.RowCount-1 do
  begin
    if (Trim(a.Cells[0,m])='')or(Trim(a.Cells[1,m])='')then
    begin
      JCXMlb := False;
      Break;
    end
    else
    begin
      if (JisNull(m)= True)and(DIsNull(m)= True) then
      begin
        JCXMlb := False;
        Break;
      end
    end;
  end;
end;

procedure TForm2.ClearCurrent;
var
  b: Integer;
begin
  For b := 0 to a.ColCount-1 do
    a.Cells[b,x]:= '';
end;

procedure TForm2.ClearEnd;
var
  b: Integer;
begin
  For b := 0 to a.ColCount-1 do
    a.Cells[b,a.RowCount-1]:= '';
end;

procedure TForm2.Edit3KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  if (Key = VK_ReTurn)and(Trim(Edit3.Text)<>'') then
  begin
    a.SetFocus;
    a.Col := 0;
  end;
end;

function TForm2.JCZYKJ: Boolean;
var
  aa: Integer;
begin
  JCZYKJ := True;
  For aa := 1 to a.RowCount-1 do
  begin
    with da.ADOQuery1 do
    begin
      Close;
      SQL.Clear;
      SQL.Add('select * from 摘要表 where 摘要名稱 = :a');
      Parameters.ParamByName('a').Value := Trim(a.Cells[0,aa]);
      Open;
    end;
    if da.ADOQuery1.RecordCount<1 then
    begin
      JCZYKj := False;
      Break;
    end
    else
    begin
      with da.ADOQuery2 do
      begin
        Close;
        SQL.Clear;
        SQL.Add('select * from 會計科目表 where 科目名稱 = :a');
        Parameters.ParamByName('a').Value := Trim(a.Cells[1,aa]);
        Open;
      end;
      if da.ADOQuery1.RecordCount<1 then
      begin
        JCZYKj := False;
        Break;
      end
    end;
  end;
end;

function TForm2.JSJFje(Row: Integer): Real;

begin
  JsJFje := 0.0;
  if a.Cells[2,row]='-' then
  begin
    if a.Cells[3,row]<>'' then Result := Result -StrToInt(a.Cells[3,row])*10000000000.0  ;
    if a.Cells[4,row]<>'' then Result :=Result - StrToInt(a.Cells[4,row])*1000000000.0;
    if a.Cells[5,row]<>'' then Result :=Result - StrToInt(a.Cells[5,row])*100000000.0 ;
    if a.Cells[6,row]<>'' then Result :=Result - StrToInt(a.Cells[6,row])*10000000.0;
    if a.Cells[7,row]<>'' then Result :=Result - StrToInt(a.Cells[7,row])*1000000.0;
    if a.Cells[8,row]<>'' then Result :=Result - StrToInt(a.Cells[8,row])*100000.0;
    if a.Cells[9,row]<>'' then Result :=Result - StrToInt(a.Cells[9,row])*10000.0;
    if a.Cells[10,row]<>'' then Result :=Result - StrToInt(a.Cells[10,row])*1000.0;
    if a.Cells[11,row]<>'' then Result :=Result - StrToInt(a.Cells[11,row])*100.0;
    if a.Cells[12,row]<>'' then Result :=Result - StrToInt(a.Cells[12,row])*10.0;
    if a.Cells[13,row]<>'' then Result :=Result - StrToInt(a.Cells[13,row]);
    if a.Cells[14,row]<>'' then Result :=Result - StrToInt(a.Cells[14,row])*0.1;
    if a.Cells[15,row]<>'' then Result :=Result -StrToInt(a.Cells[15,row])*0.01;
  end
  else
  begin
    if a.Cells[3,row]<>'' then Result := Result +StrToInt(a.Cells[3,row])*10000000000.0;
    if a.Cells[4,row]<>'' then Result := Result + StrToInt(a.Cells[4,row])*1000000000.0;
    if a.Cells[5,row]<>'' then Result := Result + StrToInt(a.Cells[5,row])*100000000.0 ;
    if a.Cells[6,row]<>'' then Result := Result + StrToInt(a.Cells[6,row])*10000000.0;
    if a.Cells[7,row]<>'' then Result := Result + StrToInt(a.Cells[7,row])*1000000.0;
    if a.Cells[8,row]<>'' then Result := Result + StrToInt(a.Cells[8,row])*100000.0;
    if a.Cells[9,row]<>'' then Result := Result + StrToInt(a.Cells[9,row])*10000.0;
    if a.Cells[10,row]<>'' then Result := Result + StrToInt(a.Cells[10,row])*1000.0;
    if a.Cells[11,row]<>'' then Result := Result + StrToInt(a.Cells[11,row])*100.0;
    if a.Cells[12,row]<>'' then Result := Result + StrToInt(a.Cells[12,row])*10.0;
    if a.Cells[13,row]<>'' then Result := Result + StrToInt(a.Cells[13,row]);
    if a.Cells[14,row]<>'' then Result := Result + StrToInt(a.Cells[14,row])*0.1;
    if a.Cells[15,row]<>'' then Result := Result +StrToInt(a.Cells[15,row])*0.01;
  end;
end;

function TForm2.JSDFje(Row: Integer): Real;

begin
  JsDFje := 0.0;
  if a.Cells[16,row]='-' then
  begin
    if a.Cells[17,row]<>'' then Result := Result -StrToInt(a.Cells[17,row])*10000000000.0  ;
    if a.Cells[18,row]<>'' then Result :=Result - StrToInt(a.Cells[18,row])*1000000000.0;
    if a.Cells[19,row]<>'' then Result :=Result - StrToInt(a.Cells[19,row])*100000000.0 ;
    if a.Cells[20,row]<>'' then Result :=Result - StrToInt(a.Cells[20,row])*10000000.0;
    if a.Cells[21,row]<>'' then Result :=Result - StrToInt(a.Cells[21,row])*1000000.0;
    if a.Cells[22,row]<>'' then Result :=Result - StrToInt(a.Cells[22,row])*100000.0;
    if a.Cells[23,row]<>'' then Result :=Result - StrToInt(a.Cells[23,row])*10000.0;
    if a.Cells[24,row]<>'' then Result :=Result - StrToInt(a.Cells[24,row])*1000.0;
    if a.Cells[25,row]<>'' then Result :=Result - StrToInt(a.Cells[25,row])*100.0;
    if a.Cells[26,row]<>'' then Result :=Result - StrToInt(a.Cells[26,row])*10.0;
    if a.Cells[27,row]<>'' then Result :=Result - StrToInt(a.Cells[27,row]);
    if a.Cells[28,row]<>'' then Result :=Result - StrToInt(a.Cells[28,row])*0.1;
    if a.Cells[29,row]<>'' then Result :=Result -StrToInt(a.Cells[29,row])*0.01;
  end
  else
  begin
    if a.Cells[17,row]<>'' then Result := Result + StrToInt(a.Cells[17,row])*10000000000.0;
    if a.Cells[18,row]<>'' then Result := Result + StrToInt(a.Cells[18,row])*1000000000.0;
    if a.Cells[19,row]<>'' then Result := Result + StrToInt(a.Cells[19,row])*100000000.0 ;
    if a.Cells[20,row]<>'' then Result := Result + StrToInt(a.Cells[20,row])*10000000.0;
    if a.Cells[21,row]<>'' then Result := Result + StrToInt(a.Cells[21,row])*1000000.0;
    if a.Cells[22,row]<>'' then Result := Result + StrToInt(a.Cells[22,row])*100000.0;
    if a.Cells[23,row]<>'' then Result := Result + StrToInt(a.Cells[23,row])*10000.0;
    if a.Cells[24,row]<>'' then Result := Result + StrToInt(a.Cells[24,row])*1000.0;
    if a.Cells[25,row]<>'' then Result := Result + StrToInt(a.Cells[25,row])*100.0;
    if a.Cells[26,row]<>'' then Result := Result + StrToInt(a.Cells[26,row])*10.0;
    if a.Cells[27,row]<>'' then Result := Result + StrToInt(a.Cells[27,row]);
    if a.Cells[28,row]<>'' then Result := Result + StrToInt(a.Cells[28,row])*0.1;
    if a.Cells[29,row]<>'' then Result := Result +StrToInt(a.Cells[29,row])*0.01;
  end;
end;

procedure TForm2.BitBtn3Click(Sender: TObject);
var
  aa,bb: Integer;
begin
  For aa := 1 to a.RowCount-1 do
    For bb := 0 to a.ColCount-1 do
      a.Cells[bb,aa]:= '';
  a.RowCount := 2;
  Label3.Caption := '';
  Edit3.Clear;
  Edit4.Text := '1';
  Label8.Caption := '';
  Label10.Caption := '';
end;

function TForm2.JDisPH: Boolean;
var
  i: Integer;
begin
  Result := True;
  For i := 1 to a.RowCount do
    if GroupzyDj(a.Cells[0,i])<>GroupzyJJ(a.Cells[0,i]) then
    begin
      Result := False;
      Break;
    end;
end;

function TForm2.GroupzyDJ(zy: String): real;
var
  i: Integer;
  Je: real;//記錄金額
begin
  Result := 0.0;
  Je:= 0.0;
  For i := 1 to a.RowCount do
    if (Trim(zy)=Trim(a.Cells[0,i]))and(DIsNull(i)= False)then
      Je := Je + JsDJe(i); 
  Result := Je;
end;

function TForm2.GroupzyJJ(zy: String): real;
var
  i: Integer;
  Je: real;//記錄金額
begin
  Result := 0.0;
  Je:= 0.0;
  For i := 1 to a.RowCount do
    if (Trim(zy)=Trim(a.Cells[0,i]))and(JIsNull(i)= False)then
      Je := Je + JsJJe(i); 
  Result := Je;
end;

function TForm2.JsDJe(Row: Integer): Real;
var
  a2: real;
begin
  JsDje := 0.0;
  if a.Cells[2,Row]='-' then
    begin
      if a.Cells[17,row]<>'' then a2 := a2 - StrToInt(a.Cells[17,row])*10000000000.0;
      if a.Cells[18,row]<>'' then a2 := a2 - StrToInt(a.Cells[18,row])*1000000000.0;
      if a.Cells[19,row]<>'' then a2 := a2 - StrToInt(a.Cells[19,row])*100000000.0;
      if a.Cells[20,row]<>'' then a2 := a2 - StrToInt(a.Cells[20,row])*10000000.0;
      if a.Cells[21,row]<>'' then a2 := a2 - StrToInt(a.Cells[21,row])*1000000.0;
      if a.Cells[22,row]<>'' then a2 := a2 - StrToInt(a.Cells[22,row])*100000.0;
      if a.Cells[23,row]<>'' then a2 := a2 - StrToInt(a.Cells[23,row])*10000.0;
      if a.Cells[24,row]<>'' then a2 := a2 - StrToInt(a.Cells[24,row])*1000.0;
      if a.Cells[25,row]<>'' then a2 := a2 - StrToInt(a.Cells[25,row])*100.0;
      if a.Cells[26,row]<>'' then a2 := a2 - StrToInt(a.Cells[26,row])*10.0;
      if a.Cells[27,row]<>'' then a2 := a2 - StrToInt(a.Cells[27,row]);
      if a.Cells[28,row]<>'' then a2 := a2 - StrToInt(a.Cells[28,row])*0.1;
      if a.Cells[29,row]<>'' then a2 := a2 -StrToInt(a.Cells[29,row])*0.01;
    end
    else
    begin
      if a.Cells[17,row]<>'' then a2 := a2 +StrToInt(a.Cells[17,row])*10000000000.0  ;
      if a.Cells[18,row]<>'' then a2 :=a2 + StrToInt(a.Cells[18,row])*1000000000.0;
      if a.Cells[19,row]<>'' then a2 := a2 + StrToInt(a.Cells[19,row])*100000000.0 ;
      if a.Cells[20,row]<>'' then a2 := a2 + StrToInt(a.Cells[20,row])*10000000.0;
      if a.Cells[21,row]<>'' then a2 := a2 + StrToInt(a.Cells[21,row])*1000000.0;
      if a.Cells[22,row]<>'' then a2 := a2 + StrToInt(a.Cells[22,row])*100000.0;
      if a.Cells[23,row]<>'' then a2 := a2 + StrToInt(a.Cells[23,row])*10000.0;
      if a.Cells[24,row]<>'' then a2 := a2 + StrToInt(a.Cells[24,row])*1000.0;
      if a.Cells[25,row]<>'' then a2 := a2 + StrToInt(a.Cells[25,row])*100.0;
      if a.Cells[26,row]<>'' then a2 := a2 + StrToInt(a.Cells[26,row])*10.0;
      if a.Cells[27,row]<>'' then a2 := a2 + StrToInt(a.Cells[27,row]);
      if a.Cells[28,row]<>'' then a2 := a2 + StrToInt(a.Cells[28,row])*0.1;
      if a.Cells[29,row]<>'' then a2 := a2 +StrToInt(a.Cells[29,row])*0.01;
    end;  
    Result := a2;
end;

function TForm2.JSJJe(Row: Integer): real;
var
  a1: real;
begin
  JsJJe := 0.0;
  if a.Cells[16,row]='-' then
    begin
      if a.Cells[3,row]<>'' then a1 := a1 -StrToInt(a.Cells[3,row])*10000000000.0;
      if a.Cells[4,row]<>'' then a1 :=a1 - StrToInt(a.Cells[4,row])*1000000000.0;
      if a.Cells[5,row]<>'' then a1 := a1 - StrToInt(a.Cells[5,row])*100000000.0;
      if a.Cells[6,row]<>'' then a1 := a1 - StrToInt(a.Cells[6,row])*10000000.0;
      if a.Cells[7,row]<>'' then a1 := a1 - StrToInt(a.Cells[7,row])*1000000.0;
      if a.Cells[8,row]<>'' then a1 := a1 - StrToInt(a.Cells[8,row])*100000.0;
      if a.Cells[9,row]<>'' then a1 := a1 - StrToInt(a.Cells[9,row])*10000.0;
      if a.Cells[10,row]<>'' then a1 := a1 - StrToInt(a.Cells[10,row])*1000.0;
      if a.Cells[11,row]<>'' then a1 := a1 - StrToInt(a.Cells[11,row])*100.0;
      if a.Cells[12,row]<>'' then a1 := a1 - StrToInt(a.Cells[12,row])*10.0;
      if a.Cells[13,row]<>'' then a1 := a1 - StrToInt(a.Cells[13,row]);
      if a.Cells[14,row]<>'' then a1 := a1 - StrToInt(a.Cells[14,row])*0.1;
      if a.Cells[15,row]<>'' then a1 := a1 -StrToInt(a.Cells[15,row])*0.01;
    end
    else
    begin
      if a.Cells[3,row]<>'' then a1 := a1 +StrToInt(a.Cells[3,row])*10000000000.0  ;
      if a.Cells[4,row]<>'' then a1 :=a1 + StrToInt(a.Cells[4,row])*1000000000.0;
      if a.Cells[5,row]<>'' then a1 := a1 + StrToInt(a.Cells[5,row])*100000000.0 ;
      if a.Cells[6,row]<>'' then a1 := a1 + StrToInt(a.Cells[6,row])*10000000.0;
      if a.Cells[7,row]<>'' then a1 := a1 + StrToInt(a.Cells[7,row])*1000000.0;
      if a.Cells[8,row]<>'' then a1 := a1 + StrToInt(a.Cells[8,row])*100000.0;
      if a.Cells[9,row]<>'' then a1 := a1 + StrToInt(a.Cells[9,row])*10000.0;
      if a.Cells[10,row]<>'' then a1 := a1 + StrToInt(a.Cells[10,row])*1000.0;
      if a.Cells[11,row]<>'' then a1 := a1 + StrToInt(a.Cells[11,row])*100.0;
      if a.Cells[12,row]<>'' then a1 := a1 + StrToInt(a.Cells[12,row])*10.0;
      if a.Cells[13,row]<>'' then a1 := a1 + StrToInt(a.Cells[13,row]);
      if a.Cells[14,row]<>'' then a1 := a1 + StrToInt(a.Cells[14,row])*0.1;
      if a.Cells[15,row]<>'' then a1 := a1 +StrToInt(a.Cells[15,row])*0.01;
    end;
  Result := a1;
end;

end.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产经典欧美精品| 激情综合亚洲精品| 国产精品久久久久久久久快鸭 | 欧美激情一区二区三区全黄| 日韩欧美精品三级| 欧美一区二区三区日韩视频| 91精品一区二区三区在线观看| 欧美色爱综合网| 欧美乱妇15p| 欧美一区二区三区在线观看| 欧美一区二区播放| 日韩欧美成人午夜| 欧美高清在线精品一区| 中文字幕色av一区二区三区| 亚洲日本韩国一区| 亚洲成人在线网站| 久久国产精品99精品国产| 国产综合色在线| 成人av网站在线观看| 色悠悠亚洲一区二区| 91精品国产手机| 日韩免费观看高清完整版在线观看| 日韩欧美久久一区| 国产精品国产a| 亚洲一区二区三区不卡国产欧美| 秋霞影院一区二区| 高清不卡在线观看av| 在线亚洲一区二区| 日韩精品一区二区三区在线| 国产精品卡一卡二| 亚洲18影院在线观看| 国产在线国偷精品免费看| 一本一道久久a久久精品综合蜜臀| 欧美日韩三级在线| 国产亚洲欧美日韩日本| 亚洲国产中文字幕| 国产成人午夜99999| 欧美私模裸体表演在线观看| 久久综合给合久久狠狠狠97色69| 一区二区在线观看视频| 国产一区二区福利视频| 欧洲精品在线观看| 久久精品欧美一区二区三区麻豆| 亚洲精品国产视频| 国产盗摄一区二区三区| 91麻豆精品国产91久久久久久久久| 久久久噜噜噜久久中文字幕色伊伊| 亚洲啪啪综合av一区二区三区| 极品少妇xxxx精品少妇偷拍| 欧美性猛片xxxx免费看久爱| 国产农村妇女毛片精品久久麻豆 | 99久久国产综合精品女不卡| 欧美日高清视频| 欧美国产激情一区二区三区蜜月 | 精品久久久久一区二区国产| 一区二区三区精密机械公司| 成人黄色软件下载| 久久精品一区八戒影视| 免费人成在线不卡| 欧美猛男男办公室激情| 亚洲最新在线观看| 99在线精品一区二区三区| 久久综合色综合88| 蜜臀a∨国产成人精品| 欧美日韩精品福利| 香蕉影视欧美成人| 日本精品裸体写真集在线观看| 亚洲国产成人私人影院tom| 国产真实乱子伦精品视频| 日韩一区二区高清| 亚洲超碰精品一区二区| 欧美日本韩国一区| 亚洲国产日韩a在线播放| 92国产精品观看| 专区另类欧美日韩| 日本韩国欧美在线| 亚洲国产视频网站| 欧美午夜一区二区| 日韩综合在线视频| 欧美一卡二卡在线观看| 久久成人免费网| 2022国产精品视频| 国产精品77777| 国产网红主播福利一区二区| 国产69精品久久99不卡| 国产欧美日韩不卡| 成人黄页在线观看| 亚洲精品一卡二卡| 3d成人h动漫网站入口| 免费一级片91| 久久久久国色av免费看影院| 国产91精品久久久久久久网曝门| 国产精品灌醉下药二区| 欧美性大战久久| 看电视剧不卡顿的网站| 日本一区二区三级电影在线观看 | 午夜视频一区二区| 日韩视频免费直播| 高清视频一区二区| 亚洲成av人片在www色猫咪| 欧美成人高清电影在线| 99国产精品国产精品久久| 调教+趴+乳夹+国产+精品| 久久综合九色综合欧美亚洲| 91麻豆文化传媒在线观看| 日本美女一区二区三区| 欧美激情一二三区| 欧美美女喷水视频| 国产成人av一区二区三区在线观看| 亚洲裸体在线观看| 欧美变态tickle挠乳网站| 色先锋aa成人| 国产美女精品人人做人人爽| 夜色激情一区二区| 亚洲国产精品ⅴa在线观看| 欧美日韩不卡一区| 波多野结衣一区二区三区 | 国产精品福利一区| 欧美一级在线观看| 色综合天天综合狠狠| 麻豆成人久久精品二区三区红| 国产精品护士白丝一区av| 日韩一区二区三| 在线观看视频91| av在线一区二区| 国产尤物一区二区在线| 亚洲成人av一区二区| 日韩毛片一二三区| 久久一区二区三区四区| 精品视频一区三区九区| 91在线视频在线| 成人av片在线观看| 国产精品综合二区| 男女性色大片免费观看一区二区| 中文字幕日韩av资源站| 国产亚洲欧美日韩俺去了| 精品日产卡一卡二卡麻豆| 欧美精品久久99久久在免费线| 成人午夜精品在线| 国产精品资源在线看| 免费成人性网站| 男男成人高潮片免费网站| 日韩在线一区二区| 亚洲一区在线播放| 亚洲综合图片区| 夜色激情一区二区| 亚洲综合在线视频| 一片黄亚洲嫩模| 一区二区三国产精华液| 亚洲男人的天堂在线观看| 亚洲欧洲精品天堂一级 | 久久久美女毛片| 久久综合999| 欧美韩国日本一区| 国产欧美1区2区3区| 国产亚洲欧美一区在线观看| 国产日产欧美一区二区三区| 精品日韩99亚洲| 欧美激情一区在线观看| 国产精品污污网站在线观看| 国产精品久久久一本精品| 国产精品女人毛片| 亚洲欧美激情在线| 亚洲成人免费影院| 免费日韩伦理电影| 国产成人免费在线观看不卡| 岛国精品一区二区| 91麻豆免费视频| 欧美精品三级日韩久久| 欧美精品一区二区精品网| 久久综合色之久久综合| 综合激情网...| 热久久免费视频| 国产91对白在线观看九色| 色偷偷88欧美精品久久久| 欧美一区二区视频网站| 国产三级精品三级在线专区| 亚洲少妇最新在线视频| 亚洲www啪成人一区二区麻豆| 精品一区二区三区欧美| 成人高清免费在线播放| 欧美揉bbbbb揉bbbbb| 久久综合久久综合亚洲| 亚洲女人小视频在线观看| 日本中文一区二区三区| 成人av在线资源| 日韩亚洲欧美在线| 亚洲男人的天堂在线观看| 另类中文字幕网| 91浏览器在线视频| 欧美电影免费观看高清完整版在线| 欧美激情在线一区二区三区| 亚洲一区二区高清| 国产精品一区2区| 欧美理论在线播放| 中文字幕亚洲一区二区av在线| 婷婷丁香久久五月婷婷| 91欧美激情一区二区三区成人| 精品日韩在线观看| 亚洲一级二级在线|