robertsfd
Technical User
- Apr 18, 2003
- 40
I have a form based on a table called PEOPLE which has personal info (name, address, phone, etc). One field in the table is "State" which is a 2 character field (the abbreviation only). I have a table STATES that has the 2 character state code and the full state name - I use this to populate a drop-down box for inputting the state in the PEOPLE table.
I want a form to add info to the PEOPLE table. One added thing I want is that when a user chooses their state abbreviation from the drop-down box, I want a textbox on the form that then displays the associated state name (unbound control - I do not want to store this info).
I know how to get a drop-down box to populate via an SQL query that uses a value chosen on the current form in the WHERE part of the statement, but I have been unsuccessful making the same thing happen with a text box.
Any ideas? Thanks in advance.
I want a form to add info to the PEOPLE table. One added thing I want is that when a user chooses their state abbreviation from the drop-down box, I want a textbox on the form that then displays the associated state name (unbound control - I do not want to store this info).
I know how to get a drop-down box to populate via an SQL query that uses a value chosen on the current form in the WHERE part of the statement, but I have been unsuccessful making the same thing happen with a text box.
Any ideas? Thanks in advance.