"Pole jest zbyt małe, aby pomieścić wprowadzane dane. Spróbuj wstawić lub wkleić mniejszą ilość danych." says M$ talking to an Access thing. Which means "a field is too small to be able to accept the inserted data. Try to insert or paste smaller amount of data".
Yeah, paste from the code. FFS, I have some 150 rows of stuff with more than 50 columns. And there is no knowledge whatsoever which field is too small. Only a field. Some braindead engineer did a copy-paste on column sizes, declaring each to be VARCHAR(100). Which meant probably that 90% of these were too large and 2-3 were too small.
It's no big deal, as Carl put it - just write a unit test that collects field lengths from the database creation sql and see which property of the data class that I'm trying to insert or update is too large. Access, my foot.
No comments:
Post a Comment