i declared 2 datatables:
dim dtt1 as datatable = ds.datatable1
dim dtt2 as datatable = ds.datatable2
dtt1 has firstname, lastname columns
dtt2 has firstname column
when i filter dtt1 by lastname, there will be a lot of firstnames
what can i do to filter dtt2 by all those firstnames?
i can filter a column by 1 value like .rowfilter= "firstname= '" & firstname1 & "'"
i want to know how to filter a column with multiple values (taking note that the firstname may have none to a lot of values). if i do this...
.rowfilter="fir stname='" & fn1 & "AND firstname='" & fn2 & " AND so on...'"
this will take forever. is there any way i could filter dtt2 with all the firstnames i got after filtering dtt1?
dim dtt1 as datatable = ds.datatable1
dim dtt2 as datatable = ds.datatable2
dtt1 has firstname, lastname columns
dtt2 has firstname column
when i filter dtt1 by lastname, there will be a lot of firstnames
what can i do to filter dtt2 by all those firstnames?
i can filter a column by 1 value like .rowfilter= "firstname= '" & firstname1 & "'"
i want to know how to filter a column with multiple values (taking note that the firstname may have none to a lot of values). if i do this...
.rowfilter="fir stname='" & fn1 & "AND firstname='" & fn2 & " AND so on...'"
this will take forever. is there any way i could filter dtt2 with all the firstnames i got after filtering dtt1?
Comment