
Originally Posted by
orange
pjordan,
Do you have lat/Long coordinates for specific street addresses or just for city?
I found a file on internet ~ 40,000 records that shows
zipcode
city
state
Lat/long
But it doesn't show individual homes/businesses.
If you have access to the table with the Lat/Long and the table you are populating, why can't you use a query with both tables with a JOIN on the common unique field?
If I have misunderstood your requirement/issue, perhaps you could provide more details and clarification.
Good luck.
The addresses we have are crashes done by the police, so often they give the house address. These locations using various geocoding never seem to accurately get coded properly (only intersections geocode correctly). So with these ones in this database we are building our own database. We used to have other options, but the prices of geocoding and the results haven't been that great. The big issue is the Zip Codes are not included and seems most if not all geocoding services now use that for better accuracy.
So currently to get to the next record with a missing value I just do a Find and Replace and search in the Longitude box for finding "is Null". But was just wanting a simple button to do that instead (as sometimes people might forget how to search for a null in the Find and Replace box. That was all.
I was thinking it would be a simple thing, but seems it's not as straight forward as I was hoping.
I even tried something like this without success:
Code:
If IsNull(TXT_Long) = False Then Me.Recordset.FindFirst "[LONGITUDE]=" & ""
If Me.Recordset.NoMatch Then
MsgBox "All LAT/LONG are Populated", vbOKOnly + vbInformation, "NO MORE RECORDS NEED TO BE UPDATED"
End If
I could just have a query to find all the records that have a blank LONGITUDE and then sort it and just use TOP 1 I guess. But was just hoping there was a quicker way. Hope that clarifies things...