V4RB2 Recid prop

erne ernestogiannotta at tiscalinet.it
Mon Feb 28 11:23:00 CST 2005


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?
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


Cool Runnings,
Erne.

|er| musical box
|ne| a media store



More information about the Valentina mailing list