Hi,
I've got a problem. I have a table, activiteiten(activities). This table contains:
acti_opdrachtgever_id (the companies)
acti_activiteit_id (the activities)
acti_medewerker_id (the employee which is doing the activity)
acti_medewerker_gepland (the time for which the employee is planned to do this activity)
acti_benodigde_tijd (the time needed to do the activity, not the actual time which it took, but the time calculated in the planning.)
It's possible to have more then one employee doing the activity. In cases like this, the record is duplicated and the employeename is changed in the duplicate record.
This is my problem: The TOTAL time for which employees are planned to do one activity cannot be more then the time needed to do the activity.
But since the time planned per employee are in different records I don't know how to do this. And do I need to build my validation in the table itself, or do I build it in my form(only one form uses this table).
Thanks in advance,
Florens
I've got a problem. I have a table, activiteiten(activities). This table contains:
acti_opdrachtgever_id (the companies)
acti_activiteit_id (the activities)
acti_medewerker_id (the employee which is doing the activity)
acti_medewerker_gepland (the time for which the employee is planned to do this activity)
acti_benodigde_tijd (the time needed to do the activity, not the actual time which it took, but the time calculated in the planning.)
It's possible to have more then one employee doing the activity. In cases like this, the record is duplicated and the employeename is changed in the duplicate record.
This is my problem: The TOTAL time for which employees are planned to do one activity cannot be more then the time needed to do the activity.
But since the time planned per employee are in different records I don't know how to do this. And do I need to build my validation in the table itself, or do I build it in my form(only one form uses this table).
Thanks in advance,
Florens