Источник:
http://daxmy.blogspot.com/2007/08/ao...-function.html
==============
"The Find function in the AOT will only retrieve the outer most layer objects. For example if an object has a GLS and VAR layer, Find retrieves the VAR layer. Add an option to the find to retrieve all objects in the specified layer regardless whether another layer is involved. Refer to incident 8945146 if need be."
MS Community Article
I do remember it was layer field in the SysAOTFind form. So I quickly run some testing on the AOT Find features, and discovered:
- Let say we edit CustTable table insert() method and add following line in VAR layer.
//MyVarTestingCode
- Open another instance in USR layer, add new line again.
//MyNewTestingCode
- Right click the AOT table node and use Find option. Fill up the information like:
Containing Text: MyNewTestingCode
Layer: VAR
- Press Search and return nothing, which is correct the code doesn’t exist in VAR layer.
- Now you try to modify existing VAR code in USR layer.
//MyVarTestingCode -> //MyUsrTestingCode
- Use Find function again, and change the Containing Text to MyVarTestingCode.
- Press search and return nothing, which is incorrect the code did exist in VAR layer.
Conclusion: The AOT Find doesn’t work in specified layer if search string was overwritten by outer most layers.
Источник:
http://daxmy.blogspot.com/2007/08/ao...-function.html