以EhLib的安装为例:(可到盒子下载:http://www.delphibox.com/article.asp?articleid=1127)先把Delphi7目录中的文件全部拷到Common目录,然后把Common单独拷到另外的地方,在delphi中File->Open打开EhLib70.Dpk,在出现的窗口中按Compile,然后再File->Open打开DclEhLib70.Dpk,Compile->Install,最后在Tools->Environment Options->Library->Library path中设置Common目录在硬盘上的路径,就搞定了!英文说明如下: Uninstall previous or evaluation version of EhLib (Old version) from Delphi IDE. Remove or copy to other directory files of old version to prevent crossing old and new version of EhLib (Including EhLib.bpl, EhLib.dcp or EhLibXX.bpl, EhLibXX.dcp files). Create directory from which you will install EhLib library ('EhLib directory') (for example, C:\Delphi[X]\EhLib).Copy files from Common and Delphi[X] directories of the EhLib archive to 'EhLib directory'.Use "File\Open..." menu item of Delphi IDE to open the runtime package - EhLibXX.Dpk. In "Package..." window click "Compile" button to compile the package.By default Delphi (5, 6 and 7) place compiled EhLibXX.BPL file to the <Delphi path>\Projects\Bpl directory and this directory already present in the search PATH. But if you overwrite default BPL directory then you need put compiled EhLibXX.BPL file into directory that is accessible through the search PATH (i.e. DOS "PATH" environment variable; for example, in the Windows\System directory).Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library-> Library Path.After compiling run-time package you must install design-time package DclEhLibXX.BPL into the IDE.Use "File\Open..." menu item to open design-time package DclEhLibXX.Dpk. In "Package..." window click "Compile" button to compile the package and then click "Install" button to register EhLib components on the component palette. EhLib components have to appear on 'EhLib' page of components palette.
enabled:true
还有其它的么?
要在代码中添加什么语句么?
比如就像vf中到最后一条记录时,直接点方向键下就可以添加记录了。删除直接点‘delete’键。
Uninstall previous or evaluation version of EhLib (Old version) from Delphi
IDE. Remove or copy to other directory files of old version to prevent
crossing old and new version of EhLib (Including EhLib.bpl, EhLib.dcp or
EhLibXX.bpl, EhLibXX.dcp files). Create directory from which you will install EhLib library
('EhLib directory') (for example, C:\Delphi[X]\EhLib).Copy files from Common and Delphi[X] directories of the EhLib archive
to 'EhLib directory'.Use "File\Open..." menu item of Delphi IDE to open the runtime package -
EhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package.By default Delphi (5, 6 and 7) place compiled EhLibXX.BPL file to the
<Delphi path>\Projects\Bpl directory and this directory already present
in the search PATH. But if you overwrite default BPL directory then you need
put compiled EhLibXX.BPL file into directory that is accessible
through the search PATH (i.e. DOS "PATH" environment variable; for example,
in the Windows\System directory).Add, (if needed) 'EhLib directory' in Tools->Environment Options->Library->
Library Path.After compiling run-time package you must install design-time
package DclEhLibXX.BPL into the IDE.Use "File\Open..." menu item to open design-time package DclEhLibXX.Dpk.
In "Package..." window click "Compile" button to compile the package
and then click "Install" button to register EhLib components on
the component palette. EhLib components have to appear on 'EhLib' page of components palette.
对ADO进行增加,删除,修改操作就可以!
汇总使用union all语句!
首先做sql将所有数据列出,
在建立SQL语句,作出汇总数据使用(sum)
将这辆个SQL语句使用UNION ALL链接,OK!