M
Marcie
I am trying to create a public function in a query
I have a table that lists all of the city and zips within district (cityzip)
EX: La Crosse 54601
In function I am passing city state and zip returning InDistrict,
Not all City states and zips are populated so it could just contain 54601
and I want to be able to know it is in district because it is in my cityzip
table.
If the value is not in my cityzip table I want to go on to evaluate state
and if it is in WI give value of in state but not district
I then want to go on to evaluate those left (that are not blank) for out of
state and give value of such.
I think I have all the code to evaluate all except getting the values from
the cityzip table into function so I can evaluate those first.
I have a table that lists all of the city and zips within district (cityzip)
EX: La Crosse 54601
In function I am passing city state and zip returning InDistrict,
Not all City states and zips are populated so it could just contain 54601
and I want to be able to know it is in district because it is in my cityzip
table.
If the value is not in my cityzip table I want to go on to evaluate state
and if it is in WI give value of in state but not district
I then want to go on to evaluate those left (that are not blank) for out of
state and give value of such.
I think I have all the code to evaluate all except getting the values from
the cityzip table into function so I can evaluate those first.