Add code to the Zipcode_AfterUpdate event.<br>
<br>
If you have a separate "Zipcode" table, a simple lookup can be used to populate the City and State.<br>
<br>
Otherwise, you can just lookup the value in your existing table (obviously you won't get many "hits" until you start populating the table itself).<br>
<br>
Assuming your table is called "Address" and ZipCode is TEXT (rather than a 9 digit number), the syntax is:<br>
<br>
Me!City = DLookup("City","Address","ZipCode = " & "'" & Me!ZipCode & "'"

<br>
<br>
Note: There is a single quote within the sets of double quotes (hard to see!)<br>
<br>
IF ZipCode IS a number then you don't need the single quotes around Me!ZipCode ...<br>
<br>
Me!City = DLookup("City","Address","ZipCode = " & Me!ZipCode)<br>
<br>
Do the same thing for the State.<br>
<br>
You may want to add some code to check to see if there is already data in the City and State fields. You there is and it doesn't match, you may want to display a message box and get the users OK before overlaying the existing values. <br>
<br>
<br>
<p>Jim Conrad<br><a href=mailto:jconrad3@visteon.com>jconrad3@visteon.com</a><br><a href= > </a><br>