A
Alaska1
I have a Company name in a drop down menu. When I chose the Company Name I
want the Address field to populate. How do I do that?
want the Address field to populate. How do I do that?
Jeff Boyce said:How depends on what ...
What data structure are you using? Are you saying that you want to have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Alaska1 said:I have a Company name in a drop down menu. When I chose the Company Name I
want the Address field to populate. How do I do that?
.
Alaska1 said:I have the data in one table.
Jeff Boyce said:How depends on what ...
What data structure are you using? Are you saying that you want to have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Alaska1 said:I have a Company name in a drop down menu. When I chose the Company
Name I
want the Address field to populate. How do I do that?
.
Alaska1 said:I have the data in one table.
Jeff Boyce said:How depends on what ...
What data structure are you using? Are you saying that you want to have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Alaska1 said:I have a Company name in a drop down menu. When I chose the Company Name I
want the Address field to populate. How do I do that?
.
Duane Hookom said:If you have only one table, then what is there to update? Updating I would
think requires a source table and a target table.
As Jeff is suggesting, storing the same information in more than one table
is generally considered poor practice. Do you have a good reason for storing
the same value in another table?
--
Duane Hookom
Microsoft Access MVP
Alaska1 said:I have the data in one table.
Jeff Boyce said:How depends on what ...
What data structure are you using? Are you saying that you want to have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
I have a Company name in a drop down menu. When I chose the Company Name I
want the Address field to populate. How do I do that?
.
Jeff Boyce said:Then I guess I'm not seeing your picture.
Are you working in a form, or attempting to work directly in a table?
When you say you pick a CompanyName from a drop down box (AKA "combobox"),
where is that?
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
Alaska1 said:I have the data in one table.
Jeff Boyce said:How depends on what ...
What data structure are you using? Are you saying that you want to have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
I have a Company name in a drop down menu. When I chose the Company
Name I
want the Address field to populate. How do I do that?
.
.
Alaska1 said:The data is in the same table. When I choose the company name I want the
address to populate automatically in a form.
Duane Hookom said:If you have only one table, then what is there to update? Updating I
would
think requires a source table and a target table.
As Jeff is suggesting, storing the same information in more than one
table
is generally considered poor practice. Do you have a good reason for
storing
the same value in another table?
--
Duane Hookom
Microsoft Access MVP
Alaska1 said:I have the data in one table.
:
How depends on what ...
What data structure are you using? Are you saying that you want to
have
[CompanyAddress] show up in two different tables?
If so, why?! If your (relational) database has already associated an
Address with a Company Name, there's no need to re-record the
Address.
More info, please...
Regards
Jeff Boyce
Microsoft Access MVP
--
Disclaimer: This author may have received products and services
mentioned
in this post. Mention and/or description of a product or service
herein
does not constitute endorsement thereof.
Any code or pseudocode included in this post is offered "as is", with
no
guarantee as to suitability.
You can thank the FTC of the USA for making this disclaimer
possible/necessary.
I have a Company name in a drop down menu. When I chose the Company
Name I
want the Address field to populate. How do I do that?
.
The data is in the same table. When I choose the company name I want the
address to populate automatically in a form.