HELP: DataView Rowfilter issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • LaoJ

    HELP: DataView Rowfilter issue

    I defined three Dataviews for the same table to get different rows:
    They are : dvFather, dvMother and dvOther
    set Filter as follow:
    dvFather.Rowfil ter="relationsh ip = 'father' "
    dvMother.Rowfil ter = "relationsh ip = 'mother' "
    for the third one, the relationship can be "sister, brother, ...
    so, I wrote:
    dvOther.rowfilt er="relationshi p<>'father' " AND "relationsh ip = 'mother' "

    It get run time error"cast from string "relatiobsh ip <>'father' " to type
    'long' is not valid."
    I have no idea how to deal with the third Dataview's Rowfilter. Anyone can
    help ?

    Thanks,

Working...