I will try and answer all your questions the best I can, Im sorry I dont
know
what things are quite yet.
Here is what I have,the Form is called Inventory Transactions:
Supply Request/Order From Vendor...CS... Supply Request/Order From Vendor
Transaction Date...CS...Transaction Date
Product Item Number... Control Source...Product Item Number
Transaction Description...CS...Transaction Description
EmployeeID...CS...EmployeeID
First Name...CS...First Name
Last Name...CS...Last Name
Product Description...Product Description
Units Requested...UnitsRequested
Invoice Number...Invoice Number
Reference Number...Reference Number
Units Ordered...Units Ordered
Units Received...Units Received
Units Backordered...UnitsBackordered
Discontinued...Discontinued
Unit Price...UnitPrice
My SQL Statement(RecordSource) is: Inventory Transactions
The code when I open the Form is:
Private Sub First_Name_BeforeUpdate(Cancel As Integer)
End Sub
Private Sub LastName_BeforeUpdate(Cancel As Integer)
End Sub
This Database is huge, and I have had people in my office look at it and
they cant understand why it's doing this, it acts like it is completely
ignoring the control source, I can even select other fields and it
displays
correctly. It just doesn't display the first name and the last name.
This has been a very weird experience trying to use Access without the
help
menu, and only knowing enough to be dangerous.
Thank you so much for trying to help me..
Cathleen
AlCamp said:
Cathleen,
Well, something is definitely amiss. There's no way that a field with
a
ControlSource of [FName] can display the [EmployeeID] value.
What are the Names of each control on the form?
What are the ControlSources for each field?
What are the field names from your table?
Please post your SQL statement behind the report.
Is there any code that runs when the form opens, that relates to any
of
the fields involved?
Let's try that for now. If still no luck, would you consider sending
me
the MDB? (if it's not huge)
hth
Al Camp
I did what you suggested and it still shows the Employee ID, what else
can
I
do, why wont it show what is in the control source... I would be
grateful
for
any more suggestions.
Thanks!
:
Cathleen,
In Design Mode, place your cursor in the FirstName control. Find
the
ControlSource property for FirstName, place the cursor in that
property,
and
use the little arrow on the right to drop down a list of available
fields
you can use for this ControlSource. IF [FName] (or whatever your
table
field name really is) is not on the list... then you haven't included
it
in
the query behind the form. You'll need to correct the RecordSource
query
for the form and include FName field.
If it is displayed in the list, then select it.
Now... what the user enters in the FirstName control on the form
will
be
stored in the FName field of your table.
Do the same for LastName on your form with [LName]
hth
Al Camp
Im new to access and I have been having problems with my text boxes
in
my
form. I am currently using Access 97 and I have text boxes that are
supposed
to be filled in with the First Name, Last Name and Employee ID but
when
I
run
the form it shows the FName, LName, and EmployeeID populated with
just
the
EmployeeID in all the fields. How do I fix it that it is populated
with
the
correct information.
Thank you in advance for your time and patience!
Cathleen