Forum Discussion
oinorton
Sep 18, 2020Copper Contributor
Populating a field based on another field's information
Hi, I have a postal code field. With that postal code, I want to be able to fill in another field with the area of the city that correlates with. For example, TZN is North Edmonton. Is there a way t...
oinorton
Oct 19, 2020Copper Contributor
I put it the following code and I'm getting an error. Can you see anything wrong with it?
- oinortonOct 20, 2020Copper Contributor
Woldman The error isn't coming up any more but it's not working. Below is my Property sheet for the Postal Codes. Do I have this right?
- WoldmanOct 20, 2020Iron Contributor
In this case you should use Me.Three_digit_PC.Column(0) since Area of City is the first column and the index starts at 0 (zero).
- oinortonOct 20, 2020Copper Contributor
I'm getting closer!! I really appreciate your help!
Here is my table:
Here is my coding:
This is my form:
What I want is the Area of City to show up in the Area of city field but the Postal code is showing up instead. I've played with the coding but I'm not getting it right.
Thanks in advance.