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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update another table when data entered into current form

Status
Not open for further replies.

Fireman1143

IS-IT--Management
Mar 5, 2002
51
US
Part of my applicaton has a table in which I would like to have the one field - fldCompleted - filled in with a date when a form attached to another table has the Completed Date filled in.

The form has two hidden fields which can be used for matching the table with the fldCompleted. I have been looking at using an OnChange event but can not decide if a macro or coding would be the best.
 
What I have done in the past is create a Macro using "SetValue".
In Item put in the field name from your form [forms]![form Name]![field name]
In Expression: now()

In the field on your form that you want to trigger the update use the "After update" and select you macro. This will enter todays date when ever the field comments for example is updated.

Some people make things happen, some watch while things happen, and some wonder 'What happened?'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top