By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,347 Members | 2,120 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,347 IT Pros & Developers. It's quick & easy.

Copy Data into another field on exit

P: 14
I have a field called HyperlinkCopy and on exit I want the data in that field to be copied into ViewCertificate.

Oct 29 '08 #1
Share this Question
Share on Google+
1 Reply

P: 33
Did you want to perform this upon exit of a form or upon exit of the database? Will you be performing this on multiple records? You need to be more specific or it will be difficult to assist you.

The best I can do with the information you provided:

If you have a form that has both of these fields (just set the Visible property to false if you don't want these to be seen by the user), then in the Unload event of the form, just set the value of the ViewCertificate textbox equivalent to the HyperlinkCopy textbox on the form. This will update the current record. Assuming your textbox names are thus, your code could look like this:

Expand|Select|Wrap|Line Numbers
  1. txtViewCertificate.Value = txtHyperlinkCopy.Value
Good luck.

Oct 29 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.