[V4RB2] Union problem
Kem Tekinay
ktekinay at mactechnologies.com
Sun Apr 3 16:32:05 CDT 2005
I am having a problem with Union using the Class-way. The following code
complains of a type mismatch error (expected VBitSet but got VSet):
dim bs, bs1 as VBitSet
bs = tbl.SelectNoneRecords // This is ok
bs1 = tbl.fld.FindContains( something ) // This is ok
if bs1 <> nil then bs = bs.Union( bs1 ) // Type mismatch error
If I dim bs and bs1 as VSet instead, this works, but I don't know how to
coerce bs into a VBitSet after that.
The way the documentation reads, I should be able to do what I want to do as
long as bs and bs1 are both of the same class. Have I missed something?
__________________________________________________________________________
Kem Tekinay (212) 201-1465
MacTechnologies Consulting Fax (914) 242-7294
545 Eighth Avenue, Suite 401 Pager (917) 491-5546
New York, New York 10018 http://www.mactechnologies.com
To join the MacTechnologies Consulting mailing list, send an e-mail to:
mactechnologies_consulting-subscribe at yahoogroups.com
More information about the Valentina
mailing list