Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TextIndexFields requires open table
Wed, Aug 6 2008 4:22 PMPermanent Link

Danny Humphress
The behavior of TDBISAMTable.TextIndexFields seems to have changed in a recent update.

The documentation says "this property does not require that the table be open in order to return a value. This allows the the property to be
examined without opening the table" but that no longer seems to be the case. The value of TextIndexFields isn't populated until I open the table.
Thu, Aug 7 2008 11:26 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Danny,

<< The behavior of TDBISAMTable.TextIndexFields seems to have changed in a
recent update.

The documentation says "this property does not require that the table be
open in order to return a value. This allows the the property to be examined
without opening the table" but that no longer seems to be the case. The
value of TextIndexFields isn't populated until I open the table. >>

Use this call before referencing the TextIndexFields:

MyTable.FieldDefs.Update;

and that will take care of it.

I'll make sure this is corrected in the next DBISAM build.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image