S
Sheila Bailey
How do I build a dataview.rowfilter that will return a row for each
data field1 and the max in data field2? I tried the following, but it
did not work(always returned one row - din 3 uniqueidentifier):
dv.rowfilter = "field1 like '%' and max(field2)"
ex:
datatable:
field1 field2 field3
brk 1 uniqueidentifier
lun 1 uniqueidentifier
din 1 uniqueidentifier
brk 2 uniqueidentifier
din 2 uniqueidentifier
din 3 uniqueidentifier
sup 1 uniqueidentifier
dataview:
field1 field2 field3
brk 2 uniqueidentifier
lun 1 uniqueidentifier
din 3 uniqueidentifier
sup 1 uni1ueidentifier
data field1 and the max in data field2? I tried the following, but it
did not work(always returned one row - din 3 uniqueidentifier):
dv.rowfilter = "field1 like '%' and max(field2)"
ex:
datatable:
field1 field2 field3
brk 1 uniqueidentifier
lun 1 uniqueidentifier
din 1 uniqueidentifier
brk 2 uniqueidentifier
din 2 uniqueidentifier
din 3 uniqueidentifier
sup 1 uniqueidentifier
dataview:
field1 field2 field3
brk 2 uniqueidentifier
lun 1 uniqueidentifier
din 3 uniqueidentifier
sup 1 uni1ueidentifier