LOL...yeah...problem is no funding....otherwise this would have been shipped off to a contractor to do.I'm going to start charging you by the line![]()
There is the query SQL that your recordset is based on, there is no field Photo_Year2 in it.
If photo_year2 isn't a field in that table/Query, how should that value be arrived at?
I know that the Photo_Year2 field (or any of the IMG_*2 fields) do not exist in the Photo_Link table....I am attempting to insert those values into the new table based upon matching coordinate values.
The Photo_Link table contains rows with duplicate coordinate sets, but differing Photo_Year and images. My goal is to "mash" all the matching coordinate data into the same row so that there is only one row with that coordinate, but contains all of the images and the years. Hence the Photo_Year2 and IMG_*2 fields.
I'm not trying to be snotty, but while Access has more than its fair share of obscure error messages it does occasionally manage to pretty accurately describe the problem.
Your code is a little overcomplicated for what it's actually doing, but we'll worry about that later, get it working first and then figure out how to make it work efficiently.
I know, and you are being very patient with me. VBA is not exactly my style of programming....I specialize in HTML/XML and intermediate SQL. As a GIS professional I have little need to know VB coding since anything that we normally use it for is either generated by our software or is customized by a professional programmer out of shop. But, I don't get that luxury on this project.
