kogelman
10th July 2003, 11:48
I use a multi-occurence form with about 20 records on it.
Every record has a 'start Kilometerstanding(mileage)' and an 'end Kilometerstanding'
When the 'end Km-standing' changes, I want to write the new value to a separate table inmediatly.
This to check that the 'start Km-standing' of the next record is the same as the 'end Km-standing' of the previous record of that particular truck.
When I try to update the separate table in the 'when.field.changes: ' section, I have to use a commit.transaction(). When I do that the lock of the main table has gone too, so the program can not update the main table.
I hope I have descriped the problem clearly.
Thanx in forward !!!
Every record has a 'start Kilometerstanding(mileage)' and an 'end Kilometerstanding'
When the 'end Km-standing' changes, I want to write the new value to a separate table inmediatly.
This to check that the 'start Km-standing' of the next record is the same as the 'end Km-standing' of the previous record of that particular truck.
When I try to update the separate table in the 'when.field.changes: ' section, I have to use a commit.transaction(). When I do that the lock of the main table has gone too, so the program can not update the main table.
I hope I have descriped the problem clearly.
Thanx in forward !!!