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

data transfer from unbound textbox to bound textbox

P: 1
I am trying to transfer data from an unbound textbox to a bound textbox on the same form. I have used the vba code
me.bound textbox name=me.unbound textbox name
in both form and bound textbox, afterupdate and before update event and in both case an error message is returned.
5 Days Ago #1
Share this Question
Share on Google+
2 Replies

P: 79
Use the AfterUpdate of the unbound textbox:

Expand|Select|Wrap|Line Numbers
  1. Me!BoundTextbox.Value = Me!UnboundTextbox.Value
Refrain from using spaces in the names of your controls.
5 Days Ago #2

Expert 100+
P: 200

in both case an error message is returned.
What is the content of your error message?

I'm guessing it is "You can't reference a property or method for a control unless the control has the focus."

4 Days Ago #3

Post your reply

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