Closed jokedst closed 6 years ago
When running a query that results in two columns having the same name (e.g. a self-join with select *) will cause an error popup.
Example data:
12,hej 32,san 99,foo
Run the query SELECT * FROM THIS A JOIN THIS B ON A.Col1 = B.Col1 Results in the error
SELECT * FROM THIS A JOIN THIS B ON A.Col1 = B.Col1
Error when executing an action: A column named 'Col1' already belongs to this DataTable
Proposed fix: Make sure all columns has unique name when filling up the DataTable with the query results
When running a query that results in two columns having the same name (e.g. a self-join with select *) will cause an error popup.
Example data:
Run the query
SELECT * FROM THIS A JOIN THIS B ON A.Col1 = B.Col1
Results in the errorProposed fix: Make sure all columns has unique name when filling up the DataTable with the query results