Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppSearchOperatorType value definitions?

edited February 2004 in General
Where are the values for TppSearchOperatorType defined? I would really like
to be able make comparisons such as AutoSearchField[1].SearchExpression =
soBetween, but I cannot find out where soBetween is defined. The portion of
the help system that documents TppSearchOperatorType does not document the
include file to use that defines the values it lists. This is frusterating.
After doing a memory dump on my watch list I finally discovered the value of
soBetween to be $08. Shouldn't there be an easier way to make these
comparisons? Is there an include file I can use? Why does the help system
not document it (if it does exist).

Comments

  • edited February 2004

    Most of the enumerated types are defined in ppType.pas.

    Best way to find undocumentated information is to use Delphi to perform a
    Find in Files for a specified string. Specify RBuilder\Source as the
    directory. This technique is very useful for the Delphi source code as
    well - we use it here daily.


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2004
    That did the trick. Thanks for the help!

This discussion has been closed.