I have a form that is connected to a QSqlRelationalTableModel using QDataWidgetMapper. When I call the mapper's submit() method to save the data, it returns false. Calling lastError() on the model returns a 'no error' code, so I'm at a loss as to why my form fails to save data. Is there somewhere else I can look for a possible error?