Hello again everyone!
I have a form (frmSponsorEntry) for simple name/address entries into a table (tblSponsors). For SponsorName, I have a combo box (cmbSponsorName) that queries a table (lutblTEAMID) to use as its list. lutblTEAMID has fields TEAMID, State, and Grantee.
cmbSponsorName
Control Source - SponsorName
Row Source -
Bound Column - 2
What I'd like to do is pass the value for State from cmbSponsorName to display the State value in a text box on the same form txtSponsorState. That is, when entering, I'd select the Sponsor Name and the txtSponsorState control populates with the State value associated with the SponsorName selected in cmbSponsorName.
Is this possible? If so, how?
edit: txtSponsorState is only to display the state on the form, not to enter its value into a table.
I have a form (frmSponsorEntry) for simple name/address entries into a table (tblSponsors). For SponsorName, I have a combo box (cmbSponsorName) that queries a table (lutblTEAMID) to use as its list. lutblTEAMID has fields TEAMID, State, and Grantee.
cmbSponsorName
Control Source - SponsorName
Row Source -
SELECT lutblTEAMID.State, lutblTEAMID.Grantee, lutblTEAMID.TEAMID FROM lutblTEAMID ORDER BY lutblTEAMID.State, lutblTEAMID.[Grantee];
Row Source Type - Table/Query
Bound Column - 2
What I'd like to do is pass the value for State from cmbSponsorName to display the State value in a text box on the same form txtSponsorState. That is, when entering, I'd select the Sponsor Name and the txtSponsorState control populates with the State value associated with the SponsorName selected in cmbSponsorName.
Is this possible? If so, how?
edit: txtSponsorState is only to display the state on the form, not to enter its value into a table.
Last edited: