V4RB2 Recid prop

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Feb 28 14:16:21 CST 2005


On 2/28/05 12:23 PM, "erne" <ernestogiannotta at tiscalinet.it> wrote:

> Hi Ruslan,
> 
> RecID as Integer Returns the RecID of the current record. Range of
> values is 1..N, 0 - if the current record  is undefined.
> Also you can use this property to change the current record of the
> Table.
> In  case you try move to not existed record the current record will not
> be changed.
> 
> Shouldn't Vale throw an error here?

I am sure it throw. But current record is not changed.

Also added Table.RecordExists(RecId) property


> Otherwise we should always check after moving via recid as in
> 
> tb.Recid = 24  //   try to move
> if tb.Recid <> 24 then  //  check if success
> // 24 is not valid Recid
> end if

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina mailing list