Riccardo Cohen wrote:

c4_View ax=db.GetAs("ax[px:I,ay[py:I,value:S],ayh[_H:I,_R:I]]");

I would like to hash every subview "ay" with view "ayh"

Hm... never tried that.


Here is what I do :

    px(rowx)=idx;
    foundx=ax.Find(rowx);
    if (foundx<0)
    {
      ax.Add(rowx);
      foundx=ax.Find(rowx);
    }
    ay=ayprop(ax[foundx]);
    ayh=ayhprop(ax[foundx]);
    ay=ay.Hash(ayh,1);

I found in kitviewer that the column "ayh" is empty. which means that the "ayh" property is not added, only px and ay.

Looks ok to me. Weird - I can't see why this wouldn't work.


But why does this?  Why not:
        ax[px:I,py:I,value:S],axh[_H:I,_R:I]
and then:
        ax = ax.Hash(axh,2)

That way you get hashing for everything, not just ay?

(if column sizes / row counts are an issue, consider combining blocked and hashed)

-jcw

_____________________________________________
Metakit mailing list  -  [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit

Reply via email to