Closed pljluca closed 9 years ago
Thanks for so clearly defining the problem and coding a well documented solution. I'd like to propose a slightly simpler solution. Instead of modifying the field list, we can use Previous(Hash256($(_vGrouping))
for the test. The Hash256 function will take the list as is, without modification.
Hi Rob,
ok for your simpler solution but where you want to use Previous(Hash256($(_vGrouping))
?
If you create an Hash string how to can you use it? How can you get the fields names?
Thanks a lot Luca Jonathan Panetta
I'm using the hash string as a value to compare the previous() line grouping fields with the current line values. The hash() function is just a convenient way to process a comma separated list of fields.
In Qvc.ExpandInterval I found a bug when I pass my fields name that contains a comma in name.
I wrote this procedure _Qvc.BuildListSeparatedFields to solve it. I tested it with this code found in you example
In Qvc_ExpandInterval.qvs at row 51 you have to replace
with