johnwiliams Posted August 28, 2009 Posted August 28, 2009 HI, I have a table called STATE in which following fields are there- 1.STATE_CD (PRIMARY KEY) 2.STATE_NAME There is another table called CITY in which following following fields are there- 1.STATAE_CD (FOREIGN KEY) 2.CITY_CD (PRIMARY KEY) 3.CITY_NAME what i want is that after selecting particular city from the drop down the state associated with this city should be displayed in the edit box. plz tell me how can i do this i m really stuck in this small problem . plz help me. The relationship associated with this shown in the pic. Thanks, John.
ron G Posted September 8, 2009 Posted September 8, 2009 (edited) Take a look at CityState.fp7. I think this does what you want to have done. Basically, I use a popup that incorporates all the states in the STATES table. If you are interested I have USZipCodes.fp7 table. It might save you some typing? 8-) Attached below is the US Zip Code Table that shows: City, State, County and Zip. Cheers...! you. ron CityState.fp7.zip USZipCodes.fp7.zip Edited September 8, 2009 by Guest Add Zip Code Table
Recommended Posts
This topic is 5615 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now