sql - Update on keys empty columns, identical keys, most recent date -


i have table year or have information loaded it. have hardcorded fields (line,type,quality) not found in raw data being loaded table. see below line, type , quality empty 2015. how can update 2015 row line, type , quality recent year same account name , type?

as_of   account name    line    type    quality 2014    1   steve          1    medium  medium 2013    1   steve          1    big     wide 2015    1   steve            2014    2   dave           2    small   narrow 2015    2   dave             2014    3   carl           3    medium  medium 2015    3   carl             

my update sql statements returning "must use updateable query"

so, able fix this, heh.

i had select as_of date in combo box , select dates less date wanted updated, storied in view.

i selected max date of results account name unique identifier, returned recent record line, type , quality entries, stored table.

i able update created table main table line type , quality values.

geeze, that's hassle, in access.

anyone know better way? thanks


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -