cdx索引在table.indexfiles中设定。然后在table.indexfieldnames中使用。
解决方案 »
- delphi7 和 delphi2010中结果不一样。。。
- 求助,字符串问题,在线等
- 急需DELPHI的MSCOMM控件,哪位大哥发给我好吗?
- GIF 动画有什么控件显示呀?
- 请教“取指定点颜色的问题”~~~
- 关于微软CryptoAPI PKI加解密
- 在QUICKREP上的QRLABEL用什么方法可以隐藏?我用QRLABEL5.VISIBLE:=FALSE无法将其隐藏。怎么办?
- 怎么知道是否按下了某些按键?或者是鼠标事件并执行相应的动作。
- 怎样启动一个HELP文件?
- 为什么image控件不可以载入gif,jpg格式的图片?
- 请问什么时候发生Blod data has been modified 错误,如何恢复?
- 关联文件图标要重启才能显示?
1.2.都是由它所引起.
3.是的,BDE会自动处理.(要选中Maintained.)
Datebase Desktop中的helpMaintainedSpecifies whether to maintain the secondary index automatically.Maintained indexes are updated by Database Desktop every time the table changes.
This speeds up certain operations like queries.
Maintained indexes are available for keyed tables only.
Non-maintained indexes are updated only when the index is used; for example, when you link tables or run a query.
The operation that uses the secondary index takes slightly longer using a non-maintained index, because Database Desktop must first update the index to recognize values that you have added, deleted, or changed, and then sort the table according to the new index. Also, if a non-maintained index becomes out of date, you cannot use it to change the viewing order of records.Non-maintained indexes are most useful on tables that are read-only.
4)yjq说的对,不过有些dbf的索引,delphi并不支持.
5)我写了一个例子发给你.