Thanks for your attention Massimo.
I found the cause of the problem: I used the suggest-widget with the doc_nr
field and specified an id-field without specifying 'keyword' as in the
documentation. This worked well in SQLFORM.factory but not in the model.
db.akb_doccenter.doc_nr.widget = suggest_widget(db.akb_doccenter.doc_nr,
id_field = db.akb_doccenter.id
,
limitby = (0, 8), min_length
= 2)
Removing the 'id_field' argument solved the problem.
Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you. (Psalm 63:3)