Component for Sorting Processing Records - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
This project translates recordset information into useful hierarchy and node objects. It builds a mask that is very helpful when sorting hierarchies ... ie.. top level item would have a mask of '000' ... it's child would have a mask of '000 000' ... it's next child would have a mask of '000 001' and so on. This mask is useful also when you want to update all items below a given node...in this case you can update all items that have a mask that starts with their parents mask MASK LIKE = '000%' for example. You can specify the number of digits you want for each level's mask (3 was chosen here). I often use this project to just generate these mask numbers, and I store these masks with my records in the DB for sorting, updating , etc!
这个项目将记录集信息转化为有用的层次和节点对象。它构建了一个掩码,在对层次进行排序时非常有用...嗯..高层次的项目有一个'000'掩码 ...它的子层次的掩码是'000 000' ... 其次的子层次掩码是'000 001',与此类推。当你想要更新一个给定节点的所有项目时这个掩码非常有用...这样你就能更新所有的有掩码的项目,那些具有父掩码的掩码,例如= '000%' 这样的掩码。你能指定所需掩码的层数(在这儿选择的是3)。我经常使用这个项目来创建这些掩码数目,并且我将这些掩码储存在DB中的记录中,用它们来排序,更新等等!
来源: http://www.freevbcode.com/ShowCode.Asp?ID=1575 |
类别: |
|
发布者:
cbd001
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
Hierarchy |
 1.0  |
2003-11-23 |
下载 |
|
|