Hi
I have produced a Job Tracking solution for a client that has a number of relationships eg Job > Hours | Job > Expenses etc etc. Each record has a number of calculations for fee values and summary fields. In each case I have added a facility to delete a record ie remove hours from a job.
The PROBLEM is that the delete function has stopped working for some reason ie you can't delete from my script OR from the Servoy delete icon even on a new form, with in this case hours.
My understanding is if you have hours related to a job and create a script with
forms.Job_detail.job_to_hours.deleteRecord();
This should remove the hours related to the job - provided the delete facility has been enabled in the relationship. There are no events affecting this.
Going back to basics I have created an hours layout to see if I can use the Servoy delete icon and again this is not allowing delete to work. My concern is that if this is related to a calculation how do you remove records and still use the calculations to provide results eg total hours per job or for that matter aggregates of specific fields !
This may be super obvious, but I have to admit I am stumped! So any help would be appreciated
Cheers