I have field Zip and Field Zone in my form. I also have a Table Zones.
Table Zones has the following:
ZoneID, ZoneZipStart, ZoneZipEnd, Zone
I would like the form once I leave the Zip field to fill in the Zone field with the Zone that zip code;
For instance if the zip code entered is 20164
ZoneZipStart = 20000
ZoneZipEnd = 29999
Zone = 1
I dont know what code I would use on the Zip_LostFocus() for it to look in the Zones table, find the ZoneZipStart and ZoneZipEnd it is between, and enter the Zone into the Zone field on my form.
Am I making sense? Cause I think i'm confusing myself now
Beth
Table Zones has the following:
ZoneID, ZoneZipStart, ZoneZipEnd, Zone
I would like the form once I leave the Zip field to fill in the Zone field with the Zone that zip code;
For instance if the zip code entered is 20164
ZoneZipStart = 20000
ZoneZipEnd = 29999
Zone = 1
I dont know what code I would use on the Zip_LostFocus() for it to look in the Zones table, find the ZoneZipStart and ZoneZipEnd it is between, and enter the Zone into the Zone field on my form.
Am I making sense? Cause I think i'm confusing myself now
Beth