-----Original Message-----
You say you 'cannot calculate the days left until expiry on the table'. Do
you mean that you cannot calculate the days left until the expiry date has
been entered into the table?
You could, of course, perform this calculation is a query but I can't
imagine why you would want to store it in a table. As soon as a day passes,
your information would surely be incorrect. Today the certificate has 10
days left, tomorrow it will have 9 days left so the data you entered
yesterday would be wrong.
In your query you can, of course, have
DaysLeft: Date()-[Certificate Expiry Date]
If, for some reason, you had to enter this into the table then you would
have to have the DaysLeft field in your table and use an update query.
Put your calculated query (we'll call it QryDaysLeft) into the query, as
well as the table. Join the two by the Emp. ID field
Put the DaysLeft field from the table into the grid. In the Update To row
put
QryDaysLeft!DaysLeft
Evi
Hi.
I have a table setup with the following fields:
Emp. Id | Certificate Expiry Date | Days left|
I cannot calculate the days left until expiry on the
table. I can however do this on the form. I need to take
the value from the form and append it to the table field
Days Left. How should I do this or can I do this another
way. At the end of it all, I need to know which employees
certificate is going to apply in say 10 days or x days.
Thanks.
.