473,508 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

setting text value of a bound textfield

mjw
I am new to VB.Net 2005 and would like to thank anybody in advance who
may help me out.
In my windows form application I am using a BindingNavagator tool strip

to display values of my database fields which are bound to my
tablesBindingSource. This works fine. What I need to do when I select
the new data row entry from the tool strip is pass one of the fields a
text field value from another TextBox on the page. I cannot get this to

work. My code always shows blank. I also thought I might have to set
the value to the bindingSource
but can't figue out a way of doing it.
Private Sub bindingNavigatorAddNewItem1_Click(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
bindingNavigatorAddNewItem1.Click
PassFamilyId()
End Sub
Private Sub PassFamilyId()
Me.FamilyIDTextBox1.Text = FamilyIdTextBox.Text
End Sub
Thanks Mike

Sep 29 '05 #1
0 1117

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
22729
by: MT | last post by:
Hi all, this sounds like an easy enough thing to do, but after spending 45 minutes searching google and various javascript sites I can't find out how to make a textfield (textbox or whatever you...
0
238
by: mjw | last post by:
I am new to VB.Net 2005 and would like to thank anybody in advance who may help me out. In my windows form application I am using a BindingNavagator tool strip to display values of my...
1
3857
by: simon | last post by:
I have an unbound RTF2 control in an Access 2003 form which I set to show either unformatted text or else text with words and sentences highlighted. I do this by setting the PlainText property,...
0
7223
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
7114
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
7321
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
7377
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...
1
7034
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
7488
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...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1544
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.