Forum Discussion
Calculate due date based on relationship
Been struggling with this one. Hope you might help! π
I have two tables: one holds historical data about employees trainings (tab_Historico) and the other one is my relational table (dTreinamentos), where I keep the training codes and its particularities (like Due Date in number of days, "[Validade_Dias]").
What I need to do is SUM the number of days to expiry from dTreinamentos[Validade_Dias] to tab_Historico[_DataConclusao], making sure I only get the latest correspondence to the [Concat_Historico] (id).
Tables:
The primary-key is "Concat_Historico" and "Concat".
tab_HistoricodTreinamentos
6 Replies
- az38
Community Champion
Hi Anonymous
as you have relationships why dont you try a very simple statement like
DueDate = [_DataConclusao] + [Validade_dias]?
- v-lionel-msft
Community Support
Hi Anonymous ,
Could you use columns like [_user] to create a table relationship as 1: 1?
Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.