GetTable function

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Fri Aug 21 00:33:33 CDT 2009


On 8/21/09 2:10 AM, "Vansh Singh" <vsingh at us.counterp.com> wrote:

Hi Vansh,

> I am using the GetTable function in my code for turning the IndexByWords
> property to true for a table column. The statement looks like this:
> 
>  
> _global.gDatabase.GetTable("MS_TRACK_INDEX").GetField("SEARCH_INDEX").In
> dexByWords = true
> 
> 
> It is giving me a runtime error saying 'Handler not found in object'. I
> put this code right after opening the database. Anyone know what the
> problem here is?
> 
> A screen shot of the error is at
> http://thinman.freshground.com/uppm/handler_not_found.jpg

Such error usually happens if some object was not found.

ADVICE, split this command to several on several lines

  tbl = _global.gDatabase.GetTable("MS_TRACK_INDEX")
  fld = tbl.GetField(...)
  fld.IndexByWords 

If you just follow to my text in tickets,
Please note it needs check API Refer of V4MD for correct syntax of these
commands, I have write it from head.


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list