Access: Fill In value for empty Cell from same row different record -
year| comp |value| ---------------------- 2014| xyz | 12 | 2015| xyz | 15 | 2016| xyz |empty| 2017| xyz | 30 | 2016| abc |empty| 2017| abc |empty| 2018| abc | 12 |
i want fill in value of company xyz year(now) year+1 or whatever available next +1 or +2 results should fill in below :
year: |2016| comp|xyz| value|30| year: |2016| comp|abc| value|12|
i have tried using iff, show error , please help.
just loop through recordset in vba recording value each record.
if empty value met, edit record , update value recorded value.
continue until no more records.