I have an accoMASTERDATA table with 500 rows. When I filter my accoMASTERDATA and then create a new row, the ID is taken as the max of the filtered list, but not the max of the complete list. This results in an error, since the ID that accoMASTERDATA attempts to create already exists.