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!

Want to update field forms with a value from another form field

Status
Not open for further replies.

nalbiso

Programmer
Aug 31, 2000
71
US
Hi,

I need help getting started here. I want to update the what's in a field in a form called "txtupdate" with whatever is in a field called "txtcurlogin" after the record has been updated. I tried creating expression in the After_Update property of the form, but nothing is working.

Please help.

Thanks
[sig][/sig]
 
Hi,
You need to use the After_Update event of the txtcurlogin, NOT the form. In the After_Update event simply place &quot;txtupdate = txtcurlogin&quot;. You could also use the On_Change event. [sig]<p>Rob Marriott<br><a href=mailto:rob@career-connections.net>rob@career-connections.net</a><br>[/sig]
 
Hi

Sorry, I don't think that I explained my problem right.

I want the txtupdate to be updated with the txtcurlogin fields after any of the fields in the form have been updated. The fields are Last Name, First Name, Phone Number, Email Address, Position. If there are any changes in any of those fields, then I want the txtupdate field contents to be updated with the txtcurlogin field contents.

Sorry for the confusion and I appreciate the help! :) [sig][/sig]
 
Hmmm... You would expect that the After_Update event for the form would work, but as you said - it doesn't. I guess the only way is to code the After_Update event of every field. [sig]<p>Rob Marriott<br><a href=mailto:rob@career-connections.net>rob@career-connections.net</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top