98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Access Training and help » Calculated field in form to update main table | Access forum
Calculated field in form to update main table | Access forum
Resolved · High Priority · Version 2003
Harriet has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Calculated field in form to update main table
I have a ‘DateReceived’ field in my table, as well as ‘DeadlineDate’ the ‘DeadlineDate’ will always be 21 days after the ‘DateRecieved’. I have no problem with creating an expression that will calculate this.
However, I want to create a functional form for other users in my organisation to use with ease. Essentially in the form, when I enter a value in the 'DateReceived' box, and tab to the 'DeadlineDate' box, i want the value to automatically update to 21 days later. I know how to do this, but I need this calculated value to be stored and updated in the main table. I don’t understand how this works, without running a make table query every time a new value is entered.
If I create the field in the main table 'DeadlineDate', as a standard date format, then import it into the form, and make the expression in that field in the form, will this translate to the main table?
I’m slightly confused and the only help I can find online, is to either create the calculation in the form only (meaning the table will not update), or create and run a query (which means running it every time a new value is entered).
Please Help
RE: Calculated field in form to update main table
Hello harriet
Thanks for your question
The first question is why do you need to enter the due date into the table as it is always calculated as the received date plus 21 days. On the face of it there is no reason to store the number, because it can always be calculated when needed.
Can you clarify your reasoning here please?
Thanks
Stephen
RE: Calculated field in form to update main table
Sure.
Reports will eventually need to be generated monthy, (not by myself), with performance indicators and stats.
These stats will include the number of days shy of the deadline the request was completed in. Calculated using 'DateReceived' 'DeadlineDate' and 'DateSupplied'.
Thanks
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Access tip:Random samplingData is th key to a good database, therefore checking is essential. |