dlookup results not visible on form

  • Thread starter Thread starter Richard Wright
  • Start date Start date
R

Richard Wright

Hi,

I have two different forms, both have a zipcode field with a dlookup
rountine that automatically fills in the city and state fields upon exiting
from the zipcode field. On the first form everything works fine. On the
second form the city and state fields are not updated, but if I close and
re-open the form the city and state are filled in correctly. Please help!

TIA,

Rick Wright
 
Just guessing. Do the fields and their associated controls have the same
name? If so, try changing the name of the controls and when you assign the
value from the DLookup, assign it to the controls, not the fields.

Example:
If the field and textbox are named City, change the name of the textbox to
txtCity then assign the value to txtCity.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Form help 4
Using DLookup on Form 3
Saving form data to a table 1
data entry on form 1
autolookup for a form - need help 5
Dlookup Syntax Help 3
Dual tables in form 4
zipcode lookup table-Access 2007 4

Back
Top