Multiple group fields support of DataSet Helper (Visual Basic)

13 Feb

When applying DataSet Helper to my project, it failed to group multiple fields.
The fix is simple, just comment the line in the InsertGroupByInto method as follows:

If Not SameRow Then
   For J = m_FieldInfo.Count To I + 1 Step -1
      DestRows(J) = DestTable.NewRow()
      RowCount(J) = 0
      'If Rollup = False Then Exit For ' Comment this line for group by multiple fields
   Next J
End If
Leave a comment

Posted by on February 13, 2012 in .NET, VB



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: