GetTable function
Vansh Singh
vsingh at us.counterp.com
Fri Aug 21 16:56:06 CDT 2009
OK. I put new code in. Now, I have:
track_index_tbl = _global.gDatabase.Table("MS_TRACK_INDEX")
search_index_colmn = track_index_tbl.Field("SEARCH_INDEX")
search_index_colmn.indexByWords = TRUE
This syntax looks right per the API pdf file. Now I don't get any errors
but it doesn't set the IndexByWords to TRUE either. I run the
application, then close it and check the database in VStudio and it
still shows the box unchecked for MS_TRACK_INDEX.SEARCH_INDEX
What gives?
On the brighter side, I found an easier way to figure out if the
IndexByWords is set to TRUE or not. This works fine:
"GET PROPERTY IndexByWords of Field MS_TRACK_INDEX.SEARCH_INDEX ;"
This returns a 0 or a 1. Good!
I wish there were something like this for setting the property as well.
Is there?
Vansh
-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan
Zasukhin
Sent: Friday, August 21, 2009 10:11 AM
To: valentina at lists.macserve.net
Subject: Re: GetTable function
On 8/21/09 8:07 PM, "Ruslan Zasukhin" <ruslan_zasukhin at valentina-db.com>
wrote:
> On 8/21/09 7:08 PM, "Vansh Singh" <vsingh at us.counterp.com> wrote:
>
>> Yes, I tried to use the syntax as you specified in Mantis and it
didn't
>> work. But then I looked for GetTable under V4MD_Reference_3_en.pdf
and
>> V4MD_Reference_4_en.pdf files and could not find it in them.
>>
>> I also looked for it on the dokuwiki
>>
>> Can you please point me to where I might see some documentation on
>> GetTable and GetField functions?
>
> Quick shoot
>
> May be it is made as PROPERTY, so name is
>
> tbl = db.Table("name")
>
> It needs check Vdatabase Xtra
Yes, indded,
Look in V4MD_Reference_4_en.pdf on page 31 and 47
--
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]
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macserve.net/pipermail/valentina/attachments/20090821/cf88ebc5/attachment-0001.html
More information about the Valentina
mailing list