J
Jeff
Hi,
I have 2 Access 2003 databases will call A (client) and B (physician). Each
of these have 2 main tables, Table A and Table B. I have linked the 2
tables. What I would like to do is on the client data entry screen, when
they get to the physician question, that when they start enter the last name
of the physician, that this field access the physician db(Table B), and help
auto fill the field in Table A.
The first 3 fields in Table B are ID, DocsLastName & DocsFirstName which I
believe are the needed fields to make this work.
In Table A I created a new field called DocsName, then clicked on the LookUp
tab in Design view and entered the following:
Display Control - List Box
Row Source Type - Table/Query
Row Souce - Table B
Bound Column - 1
Column Count - 3
Column Heads - No
Column Widths - 0";2";2"
On the General Tab the only fields filled are:
Field Size - 50
Required - No
Allow Zero Length - No
Indexed - Yes (Duplicates OK)
Unicode Compression - Yes
IME Control - No Control
IME Sentence Mode - None
I then saved the table, then went to the Datasheet view. In the DocsName
field, there is now a pull down list that has the DocsLastName &
DocsFirstName, but only the last name appears when you click on physician.
How can I get both last and first name to appear? Is there a way to make it
appear "DocsLastName, DocsFirstName"?
Am I going about this the wrong way or is there a solution?
I also tried just using the 2 fields DocsLastName, DocsFirstName, but I
could not figure out when you enter a last name that the first name would
also populate.
Any help would be appreciated.
I have 2 Access 2003 databases will call A (client) and B (physician). Each
of these have 2 main tables, Table A and Table B. I have linked the 2
tables. What I would like to do is on the client data entry screen, when
they get to the physician question, that when they start enter the last name
of the physician, that this field access the physician db(Table B), and help
auto fill the field in Table A.
The first 3 fields in Table B are ID, DocsLastName & DocsFirstName which I
believe are the needed fields to make this work.
In Table A I created a new field called DocsName, then clicked on the LookUp
tab in Design view and entered the following:
Display Control - List Box
Row Source Type - Table/Query
Row Souce - Table B
Bound Column - 1
Column Count - 3
Column Heads - No
Column Widths - 0";2";2"
On the General Tab the only fields filled are:
Field Size - 50
Required - No
Allow Zero Length - No
Indexed - Yes (Duplicates OK)
Unicode Compression - Yes
IME Control - No Control
IME Sentence Mode - None
I then saved the table, then went to the Datasheet view. In the DocsName
field, there is now a pull down list that has the DocsLastName &
DocsFirstName, but only the last name appears when you click on physician.
How can I get both last and first name to appear? Is there a way to make it
appear "DocsLastName, DocsFirstName"?
Am I going about this the wrong way or is there a solution?
I also tried just using the 2 fields DocsLastName, DocsFirstName, but I
could not figure out when you enter a last name that the first name would
also populate.
Any help would be appreciated.