Microsoft Access 2007 Update fields

T

Thel

I am using a form to update a table. I have 3 update fields in a table.
When I do the lookup all three fields show on the form but only one updates.
How do I get the other two fields to update?
Any help would be greatly appericated.
Thelma
 
G

Gina Whipp

Thel,

I am trying to understand this...

You have three fields you wish to update to a table but presently only one
is updating. IF that is what you are saying then we need to know how you
you are updating the three fields. Are you just typing the information in
but it's not appearing in the table? Are you using a query to update the
table and the query is not performing it's job. Or maybe the fields as
combo boxes and the field is not accepting the selections from the combo
box? Of,course you should get some sort of message unless you turned those
off??? Or maybe it's the RecordSOurce of the form, when you go to design
mode of the form does the word 'unbound' show in two of the three fields?

It would also help to know what version of Access?

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
T

Thel

Yes it is a lookup field, I have a form called employee that looks up the
dept, desc and glcode in the table called dept# it will update the dept# not
the other two fields.
 
R

ruralguy via AccessMonster.com

As the link I posted strongly recommends: Do not use Lookup Fields. Use bound
ComboBoxes on forms to do the lookup instead.
Yes it is a lookup field, I have a form called employee that looks up the
dept, desc and glcode in the table called dept# it will update the dept# not
the other two fields.
[quoted text clipped - 4 lines]
 
T

Thel

I am using access 2007,
I am using a form and a lookup table with joins to the dept table. sorry if
I don't explain this too well I have been a programmer for many years (Cobol)
and access is very new to me.
Thanks
 
T

Thel

on the form I type in the dept number and it fills in the desc & glcode, when
you look at the table it has updated the dept number but not the other two
fields.
I am using access 2007.
I am not getting any messages.
 
T

Thel

How do I tell access it is a combo box on the form? All of the information
is coming from the employee table except these three fields. If I use a
combo box can the user put in the dept# and update the other two fields?
 
R

ruralguy via AccessMonster.com

Does the Dept# table have the "other two" fields data for the form?
How do I tell access it is a combo box on the form? All of the information
is coming from the employee table except these three fields. If I use a
combo box can the user put in the dept# and update the other two fields?
I would suggest reading up on why using look-up fields in tables causes
problem. Eliminate them and use a table/combo box on a form.
[quoted text clipped - 31 lines]
 
T

Thel

The Dept table has all three fields. When entering data on the form the user
wants to type in the dept# and have the other to fields field in automaticly.
Thanks,

ruralguy via AccessMonster.com said:
Does the Dept# table have the "other two" fields data for the form?
How do I tell access it is a combo box on the form? All of the information
is coming from the employee table except these three fields. If I use a
combo box can the user put in the dept# and update the other two fields?
I would suggest reading up on why using look-up fields in tables causes
problem. Eliminate them and use a table/combo box on a form.
[quoted text clipped - 31 lines]
Any help would be greatly appericated.
Thelma
 
T

Thel

My Table layout for Employee is dept desc employee name (key field) address,
city, state zip, status, phone number, wage, ssn, GLcode.
The layout of the Dept# is dept# Desc, GLCODE
Thanks
 
R

ruralguy via AccessMonster.com

You need to create a query that joins the two tables on the Dept# field and
includes all of the fields you need from either table.
The Dept table has all three fields. When entering data on the form the user
wants to type in the dept# and have the other to fields field in automaticly.
Thanks,
Does the Dept# table have the "other two" fields data for the form?
[quoted text clipped - 7 lines]
 
G

Gina Whipp

Thel,

First, yhou do not need to store GLCODE and Dept Desc in both tables unless
you are alowwing changes to those fields independent from the Department
Table. What you do need in the Emplyee table id Dept#. Then create a query
that joins the two tables together via Dept# and that will help those field
show but you REALLY don't need to or want to store duplicate information.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
R

ruralguy via AccessMonster.com

It is wise to name like fields the same in different tables. It is not wise
to use the "#" sign in a field name. Are the two Dept fields the same
DataType?
My Table layout for Employee is dept desc employee name (key field) address,
city, state zip, status, phone number, wage, ssn, GLcode.
The layout of the Dept# is dept# Desc, GLCODE
Thanks
[quoted text clipped - 51 lines]
 
T

Thel

The name are the same in both tables. The dept table is for inputing
information,
the user does not want to lookup the data she needs to put in.
if she knows the dept nbr she wants it to put desc and glcode that match
that dept.
The coorsponding field are all of the same data type.

ruralguy via AccessMonster.com said:
It is wise to name like fields the same in different tables. It is not wise
to use the "#" sign in a field name. Are the two Dept fields the same
DataType?
My Table layout for Employee is dept desc employee name (key field) address,
city, state zip, status, phone number, wage, ssn, GLcode.
The layout of the Dept# is dept# Desc, GLCODE
Thanks
[quoted text clipped - 51 lines]
Any help would be greatly appericated.
Thelma
 
T

Thel

dept, desc and glcode are in both tables with the same name and data type.
The user want to be able to put in the dept and access fill in the desc and
glcode on the input form.
 
G

Gina Whipp

Thel,

Those can APPEAR but not be STORED in the table. Storing the same data in
two places defeats the purpose of normalization. The User will SEE the data
and that's all the User really wants to do. They will not have to type
anything into any extra fields.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top