Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculated date field on form needs to populate field in table. 1

Status
Not open for further replies.

monkeysee

Programmer
Sep 24, 2002
201
US
I have a field on a form named: Expiration date. This field is calculated from the Field: Issue date using the after update function.

What I would like to do now is, to have the date from the Expiration date field populate the Expiration Date field in the underlying table. More than likely, the after update function should be used again for this field. But am at a loss as to how to get it to do it.
 
Why your Expiration date control is not bound to the Expiration date field ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
It is, but is not being updated
Really ?
What is the value of the ControlSource property of your Expiration date control ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Expiration Date value: =DateAdd("yyyy",1,[IssueDate])
 
So, your control IS NOT BOUND to the underlaying table's field !
Bind it and do the calculation in the AfterUpdate event procedure of IssueDate.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Here's a star! You were right! everything works now, thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top