473,406 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

data transfer from unbound textbox to bound textbox

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.
Mar 23 '20 #1
2 1402
cactusdata
214 Expert 128KB
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.
Mar 23 '20 #2
GazMathias
228 Expert 128KB
Hi,

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."

Gaz
Mar 23 '20 #3

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

Similar topics

0
by: jaYPee | last post by:
I have an unbound textbox in my report that is bound from the textbox in my Dialog Form using a controlsource using Access 97. However after I ported my database to SQL Server 2000 and use Access...
0
by: SpotsPlay | last post by:
If I bind a TextBox to a property on a "BusinessObject", the first time that TextBox is edited (each time the form/user control is opened) hitting Tab or clicking on another control on the...
2
by: bisoft | last post by:
Hi I have a textbox which is bound to a typed dataset. The type of the data is int. Now I'd like to programmatically change the value in this textbox (i.e. textBox1.text = "123"). For some...
2
by: | last post by:
Hi all, I need to format screen output for a textbox that's bound to a datasource. I know how to format the data in a plain old string, but in this case I'm not sure where to "sneak" in there...
6
by: Frank | last post by:
Hopefully this is the correct group for this message. My previous post to (I assume) a non-.net group was not welcomed. I have a form with 7 text boxes that are all bound to fields of a...
0
by: colleen1980 | last post by:
Hi: There are two textboxs in my main form. One is bound and another is unbound. There is no entry in the unbound textbox as values come into automatically after entering some information in the...
4
nev
by: nev | last post by:
i have a bound textbox. i am in record 2 and textbox displays 'hello'. now i added code to automatically save a new word entered in textbox. for example, while in record 2 which textbox displays...
3
by: Ghaime | last post by:
I have a form with an unbound textbox and after receiving a value, some checks should be done and maybe even some records inserted in the subform. All of that is going well, but the problem is that...
2
by: DavidAustin | last post by:
Following on from http://bytes.com/topic/access/answers/960564-updating-bound-textbox-based-unbound-textbox It's going to be complicated to explain but I'll give it a go and hope you guys...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.