IT2BE wrote:Karel,
What are you doing here? I really don't understand...
It looks like you are mixing a foundset and a dataset or do I misinterpret you code?
Hi Marcel! Purpose of this method is to copy data from a foundset into new records in another table. This all happens in a loop.
Is your currentcontroller really the controller you want (the main form)?
The main form that contains the method is called 'orderdetail'. What I do search all the timesheet records (from the selected order) in the table 'werktijd' by a query. After that I copy each found record into the invoice table called 'factuurregels' by a loop. It's a kind of sync method, but then a one way direction.
Do you have a column 'describtion' or 'description'? In other words is there a(ny) misspelling in your query?
I just translated the method (too quick) to clarify it a bit. Made a translation misspelling... sorry for that!
The field reference 'forms.testform.controller.xxx' is wrong. It should be 'forms.testform.xxx' without the controller...
Thanks! That solves a lot! What I still don't get is why not all of the data from the newly made records is copied.. could it be a refresh option?