I am trying to retrieve the county name I keep in a lookup table. However, I can only get the number code for that county name and not the actual county name. I'm using the following syntax.
strCounty = Nz(.Fields("fk_CountyID"))
I use a main table with a lookup table called tblCounty with a CountyID field and a County field which identifies the name. When I use the County field name I get an error. Much thanks in advance.
Also, my access forms identify the correct county name from the fk_CountyID field I keep in my main table. No error on the forms.
strCounty = Nz(.Fields("fk_CountyID"))
I use a main table with a lookup table called tblCounty with a CountyID field and a County field which identifies the name. When I use the County field name I get an error. Much thanks in advance.
Also, my access forms identify the correct county name from the fk_CountyID field I keep in my main table. No error on the forms.