When passing a dataset from a function to another form, and binding it to a datagrid I sometimes get this error at runtime: "Cant create a list for the field CUSTOMER."
The strange thing is that the same code is OK when it is run from the form it is created in. It never gives this error message unless it is the first time it is run from another form. Any following times it runs after that are OK, and the code executes as expected.
What does this error actually mean? I cant find anything wrong with the code. If it was, then it should fail every time it runs and not just the first time.