如下面這段代碼 QueryTmp.Close; QueryTmp.SQL.Clear; QueryTmp.SQL.Add('select sum(GoodsFee) as TotalFee from tblShipped where OPID=:para1'); QueryTmp.Parameters. ...……
先新建一个Package file----NEW-----PackageDelphiforwin32,再在Component-amp;amp;gt;Import Component里面添加好ActiveX控件。之后不要选Create Unit,要选Add unit to Package。在右上角Package.bpl上 ...……