Private Sub ServiceZip_AfterUpdate()
Me.txtZoneID =(DLookup "ZoneID", "tblZipCode", "ZipCode = '" & [ServiceZip] & "'"
End Sub
Using the criteria above, how can I handle the null when "ServiceZip" has no match for "ZipCode" from my tblZipCode
On my Orders form I have a Zip code field, and a ZoneID field. After I UpDate the Zip Code field I want the ZoneID field to populate with that Zip Code's matching ZoneID if there is one. The problem I think I am having is that the Zip Code entered doesn't always have a ZoneID to match.
Me.txtZoneID =(DLookup "ZoneID", "tblZipCode", "ZipCode = '" & [ServiceZip] & "'"
End Sub
Using the criteria above, how can I handle the null when "ServiceZip" has no match for "ZipCode" from my tblZipCode
On my Orders form I have a Zip code field, and a ZoneID field. After I UpDate the Zip Code field I want the ZoneID field to populate with that Zip Code's matching ZoneID if there is one. The problem I think I am having is that the Zip Code entered doesn't always have a ZoneID to match.