Fld.FindSingle problem

Joakim Schramm joakim at astrocalc.com
Mon Sep 18 11:59:34 CDT 2006


 
> 
> On 9/18/06 12:32 PM, "Joakim Schramm" <joakim at astrocalc.com> wrote:
> 
> > Set mResult = 
> mResult.InitWithArraySet(tblText.PhysicalRecordCount(),
> > arrEditBody)
> > Set mVset = mResult
> > Debug.Print mVset.Count ' = 1
> > 
> > Call fldKey.ValueExistsWithCount(sKey, cnt, mResult)
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     also I  do not see sense in this call ?
>     you not check its return result.
> 
> > 'cnt = 3

This is just for test to see how many records with value skey exist. It
should retun 1 but return 3, in other words it doesn't count for exist in
mResult but in table.

Set VSET = mResult
VSET.Count return correct value 1

Joakim



More information about the Valentina mailing list