All looks well. This is not the problem.
I decided to create two identical test databases. One database .mdb
the
other .adp. Why is it that with .mdb a combo box selection will auto
fill
form fields; however, with a .adp a combo box will NOT auto fill form
fields?
How do I create a combo box in a .adp database (Access Project) to
autofill
the form?
Thanks ... Any help greatly appreciated ....
:
Probably a case of missing primary key: often (always?), the upsizing
wizard
doesn't transfer them and you must explicitely reassign them. Check
all
the
other tables, their structures and the relations, too, to make sure
that
everything is OK.
--
Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail:
http://cerbermail.com/?QugbLEWINF
Thanks for your help. Can you give me an example of what you mean?
Here is a brief description of the problem:
I have a combo box listing: PID,LastName,FirstName. When I make a
selection, the PID box is filled on my form, but the LastName box
and
FirstName box on my form are still empty.
To get the form to fill in the LastName and FirstName for me, I
created
an
AfterUpdate Event with the below code:
me.lastname=me![pid].column(1)
me.firstname=me![pid].column(2)
The code worked fine; however, I get the following message when I
try
to
move on to the next record.
Write Conflict:
This record has been changed by another user since you started
editing
it.
If you save the record, you will overwrite the changes the other
user
made.
Copying the changes to the clipboard will let you look at the values
the
other user entered, and then paste your changes back in if you
decide
to
make
changes.
Again, Thanks for your help. I am new to all of this, so I am
probably
doing something stupid. The above lines are the first VBA code I
have
ever
used.
:
Check your table names and make sure that you rename any (in the
ADP)
that
use the dbo.tblName or user.tablename format.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads
http://www.datastrat.com
http://www.mvps.org/access
I created an Access database, .MDB, and have converted it to a
Project
file,
.ADP. I am having troubles with Combo Boxes. Is there a good
source I
could
refer to for MS Access 2003 Projects in general?
Specifically, regarding the Combo Boxes, in Access, the info in
my
combo
box
was automatically displayed in the various fields on my form.
Once
I
converted to a Project file, the fields on my form are not being
completed
automatically. I have tried using various VBA code with no luck.