Set the RecID

Thomas Flemming tf at ttqv.com
Sun May 24 07:54:27 CDT 2009


Hi,

I'm somehow a bit confused of all the different possibilities ;-)

I just want to set the recid of a table to a row, where a specific field has a 
specific value.

This one works, but it is the best way?

Dim resultset As IVBitSet = fldNodeID.FindValue(id)
Dim resultIter As VSetIterator = CType(resultset, IVSet).MakeNewIterator
mTblNodes.RecID = resultIter.FirstItem

...

resultIter.Dispose()
resultset.Dispose()

What is the difference between IVArraySet, IVBitSet, IVSet,
VArraySet, VBitSet, VSet  ?

Tom



-- 
/****************************************
**   Dipl.-Ing. Thomas Flemming
**   Software Development
**
**   Touratech AG
**   Auf dem Zimmermann 7-9
**   D-78078 Niedereschach
**
**   mail  tf at ttqv.com
**   fon   +49 (0) 7728 9279-206
**   fax   +49 (0) 7728 9279-29
**
**   http://www.ttqv.com
**   http://www.touratech.de
**
**   ... und immer dem Pfeil nach!
***************************************/


More information about the Valentina mailing list