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

Need help with Tab Control (unable to update some fields)

Hi. I'm having trouble enabling fields on the 2nd Tab in a form with
the Tab Control. Can you help me?

The form (frmPeople) has a Tab Control with two tabs:
General Information and Judge Information. The RecordSource for the
form is a Query joining two tables:
tblPeople (name, address, phone, ...) and tblJudges (foreign
key=peopleID, and specific judge information).

The query is:
SELECT tblPeople.peopleID, tblPeople.fname, tblPeople.midinit,
tblPeople.lname, tblPeople.suffix, tblPeople.addr1, tblPeople.addr2,
tblPeople.city, tblPeople.state, tblPeople.country, tblPeople.zipcode,
tblPeople.phone, tblPeople.altperson, tblPeople.email,
tblJudges.judgeID, tblJudges.n_qualdt, tblJudges.o_qualdt,
tblJudges.u_qualdt, tblJudges.n_licdt, tblJudges.o_licdt,
tblJudges.u_licdt
FROM tblPeople LEFT JOIN tblJudges ON tblPeople.peopleID =
tblJudges.peopleID
ORDER BY tblPeople.lname;

All the Judge fields (textbox controls) are on the 2nd Tab.

If a judge is already defined (has a People record and a Judge record)
then the form works fine. All the data is displayed. If I want to edit
the data, that works fine, also. I have an EDIT button that changes the
form properties to allow edits.

THE PROBLEM: When I open the form for a New Record ... the textbox
controls on Tab 2 (Judge Information) are not enabled.

I have a feeling it has something to do with being positioned in the
People Table but not haveing a newrecord positioned in the Judge Table.

HELP!!! Can you help?

Thanks.
SueB

Regards,
SueB

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #1
0 1025

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

Similar topics

9
by: Project2501a | last post by:
hey guys, Question about the internal workings of Access. How are controls added in the Form.Controls collection? I mean, in which order? the order place them on the form? is there a way to...
20
by: Jason Dravet | last post by:
Some time ago I wrote an application that controls the projectors in our classrooms(turn on, turn off, and volume control). This application is written in VB.net 2003. It was working perfectly...
7
by: ÀÏÆÅ»³ÔÐ5¸öÔ | last post by:
I want use dropdownlist contral in gridview but have trouble now mycode here: i'm very sorry for my poor english <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"...
9
by: Alan Silver | last post by:
Hello, I have a user control which I am trying to load dynamically, but am running into problems. I think the problem is because I have two .ascx files that refer to the same .ascx.cs file. A...
7
by: Lorenzino | last post by:
Hi, I have a problem with bindings in a formview. I have a formview; in the insert template i've created a wizard control and inside it i have an HTML table with some textboxes bound to the...
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...
1
by: Corey B | last post by:
I have a page with a DetailsView control and a SQLDataSource control. The SQLDataSource control is connected to an Access database. Everything works fine. Now I want to change the back end...
1
by: pramodrepaka | last post by:
Hello Guys Plz Help me Here is my problem . Unable to retriew the data beteen oracle and vb by using ADODC control i.e if a table consists of Nll values. i am created table...
1
by: sausthav | last post by:
Hi All, I am unable to get the excel open when user select two dates from my code. Previously i was successfully extracting values by selecting year and month values from the webpage. Could you help...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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
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.