Xref Missing with "Search" xreftype - Forum - OpenEdge Development - Progress Community

Xref Missing with "Search" xreftype

 Forum

Xref Missing with "Search" xreftype

  • Can any one have any idea of that situation where xref doesn't shows the "SEARCH" xreftype?

    I am checking the index for my query but it doesn't show me the search statement in the xref file. It has all other satement like "INCLUDE", "STRING", "REFERENCE" etc.

    It shows something like this at the end of the file

    STRING "idx1" 4 NONE UNTRANSLATABLE
    STRING "idx2" 4 NONE UNTRANSLATABLE

    May be related with index. But not sure about what are these "idx1" and "idx2".

  • Is your file using a static query, or is it dynamic?  The XREF file only shows searches that the compiler knows about.

  • It is a static query.

  • Mind sharing your code? And the code the creates the XREF file?

    Architect of the SmartComponent Library and WinKit

    Consultingwerk Ltd.

  • Find first xtrtbr0 no-lock  where

              xtrtbr0.rtbratid = "ANKIT" and

              xtrtbr0.rtbaxis  = "X" and

              xtrtbr0.rtbaxbrk = "1" no-error.

    Where xtrtbr0 is a DB table.

    XTREF generation:

    =======================

    compile xtrtbr0-test.p save xref h:\ank\xtrtbr0-test.xrf.

    My OE version: 11.4