主题:生成exe文如何能在屏幕的中间,如何增加合计?
begin
adoquery1.Close;
adoquery1.SQL.Clear;
begin
adoquery1.SQL.Add('select b.goodsname 商品名称,a.saleamount 销售数量,a.salesalemoney 销售金额 from mid_uosuppliersaledaily a,gds_goodscode b');
adoquery1.SQL.Add('where a.goodscode = b.goodscode and dealdate = '+''''+ datetostr(datetimepicker1.Date)+'''' +' and a.suppliercode = 102067 group by b.goodsname,a.saleamount,a.salesalemoney');
adoquery1.Open;
end;
end;
各位老大们帮帮忙告诉我!怎么样能在查询出的数据底下增加一个合计栏!还有一个问题为什么我生成的EXE文不能在屏幕的中间?请大侠们帮帮忙![em18]
adoquery1.Close;
adoquery1.SQL.Clear;
begin
adoquery1.SQL.Add('select b.goodsname 商品名称,a.saleamount 销售数量,a.salesalemoney 销售金额 from mid_uosuppliersaledaily a,gds_goodscode b');
adoquery1.SQL.Add('where a.goodscode = b.goodscode and dealdate = '+''''+ datetostr(datetimepicker1.Date)+'''' +' and a.suppliercode = 102067 group by b.goodsname,a.saleamount,a.salesalemoney');
adoquery1.Open;
end;
end;
各位老大们帮帮忙告诉我!怎么样能在查询出的数据底下增加一个合计栏!还有一个问题为什么我生成的EXE文不能在屏幕的中间?请大侠们帮帮忙![em18]