473,405 Members | 2,261 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,405 software developers and data experts.

Issue with data bound fields on Tab Control

Hi,

I am having trouble with a tab control. All the fields on the form are data
bound and are spread over two tabs of a tab control.

I have placed a Clear button with the code to clear all the fields on the
form.
When I click the Clear button, all the text boxes on the current tab get
cleared. But when I go to the other tab, I see data in all the fields. When
I come back to the previous tab, all the text boxes on this tab are now
filled with data.

After hitting the Clear button, if I click in any of the text boxes before
changing tab, these fields stay clear. But all others get filled with data
again when I come back to the tab.

Any help would be appreciated.

Thanks,

Aparna
Nov 21 '05 #1
1 1329
I have resorted to using my own data binding methods. However, you might try
Me.BindingContext(Datasource).SuspendBinding, and
Me.BindingContext(Datasource).ResumeBinding.

This would assume that the datasources for each Tab are different.

cf******@charlesfarriersoftware.com

"Aparna Rege" wrote:
Hi,

I am having trouble with a tab control. All the fields on the form are data
bound and are spread over two tabs of a tab control.

I have placed a Clear button with the code to clear all the fields on the
form.
When I click the Clear button, all the text boxes on the current tab get
cleared. But when I go to the other tab, I see data in all the fields. When
I come back to the previous tab, all the text boxes on this tab are now
filled with data.

After hitting the Clear button, if I click in any of the text boxes before
changing tab, these fields stay clear. But all others get filled with data
again when I come back to the tab.

Any help would be appreciated.

Thanks,

Aparna

Nov 21 '05 #2

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

Similar topics

17
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset...
3
by: Geoff Matthews | last post by:
I apologize for the basic question, but MS's documentation has been no help at all. I'm working on a database, and need to create a form for schedules, M-F, 8-4. I've settled on an easy way out,...
2
by: Susan Bricker | last post by:
Greetings! Still the same application (as previous posts). I worked on the app while at work (don't tell my boss ... cause this is just for fun and not work related) and the form was working,...
1
by: meganrobertson22 | last post by:
hi everybody- what is the best way to add data from one form to another? i have 2 tables: person and contract. here are some of the fields. table: person personid (autonumber and primary...
19
by: Simon Verona | last post by:
I'm not sure if I'm going down the correct route... I have a class which exposes a number of properties of an object (in this case the object represents a customer). Can I then use this...
2
by: P. Yanzick | last post by:
Hello, I am creating an edit template for a FormView control, changing one of the textboxes to a dropdown box. The dropdown will be populated from a simple table with the primary key, and a...
1
by: Bill | last post by:
Problem: Combo box data disappears from view when a requery is done See "Background" below for details on tables, forms & controls On a form, I want to use the setting of bound combo box C1...
6
by: codoherty | last post by:
Is it possible to for a custom control to have 2 properties bound to 2 different fields from the same ADO.NET datasource. I noticed when writing updates to my datasource only 1 field or property...
8
by: mlwerth | last post by:
Dear Access Group: This is the most basic and most embarrassing of questions, but I cannot find where to change the data type of a text field that I have in Access 2003 to a number field. I've...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.