Auto Fill Form fields based on another field's value using a IIF

J

JohnW

Hello once again...I'm back

I am trying to have the value for our Zipcode field to automatically be
added based on what city we select from our combo box for cities.

Zipcode field = Zipcode
City combobox field = lucity

I have tried using the IIF statement IIf([lucity]=Belton,[Zipcode]=29627,0)
placed in the properties of the Zipcode field in the form but it doesn't
work. I have about 12 cities to do this with.

Any suggestions? Thanks
 

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

Top