Thanks, it helps.
I seem to have another problem - I need to print the current form (invoice) so I'm saving it after dmax+1.
The saving code I'm using is :
"DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70"
The problem is that it doesn't saved the current record so I'm...