V4MD request
    Ruslan Zasukhin 
    sunshine at public.kherson.ua
       
    Mon Jun 20 21:20:19 CDT 2005
    
    
  
On 6/20/05 6:23 PM, "info at vallemediatime.com" <info at vallemediatime.com>
wrote:
>> But you can do this all RIGHT NOW.
>> 
>> Where you see problems?
>> 
>> Table -- have CURRENT RECORD.
>>     to get its RecID you do
>> 
>>             recid = VTable.RecID
>> 
>> I do not see any problems Paolo.
> 
> In API  use:
> gDB.table(gTableName).recordCount
> an so on for get some value from my currentTable
To get RecID for link you use
        gDB.table(gTableName).recordCount  ???
This is not correct, Paolo !
IF you delete some record you will get wrong values.
You MUST to use Vtable.RecID.
BinaryLink store pairs of RecID  values!!!
> I have not never used VTable...
> and I can not understand your help:
> recid = VTable.RecID
> up to now I have used only SQL and API...
    recid = VTable.RecID   -- this is API Way
    SqlSelect( "select RecID, * FROM T")    -- this is SQL way.
> I have watched into examples but I have not found something with VTable,
> i.e.
> in the docs I read:
> fldCount = table.fieldCount
> but I don't undestand how get <table> by Class VTable
        tbl = db.Table( "Person" )
Now you can do 
        tbl.RecID = 5       -- to go to record with RecID 5
    
        recid = tbl.RecID   -- to get RecID of the current record.
Everything is simple.
I wonder you say, you do not see how to get Table. But how you show records
of that table in API way? You already must to have tbl to be able show
records. Right ?
-- 
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-beta
mailing list