Access 2007, possibly VBA: issue with having to fill out too many fields -


this issue bit complicated explain please bear me. have comp table. table houses salaries of employees. have emp table. see below:

  **comp table**                                **empl table**   id:         year:       salary:               id:        region:   1           2013        $50000                1          usa   1           2012        $45000                2          canada   1           2011        $40000   etc..       etc..       etc..   2           2013        $45000   etc..       etc..       etc.. 

each salary has own year. problem when create new employee have fill out years 2006-2013 queries , reports work. there way can auto fill years no information? can use vba this?

summary: best way create new employee don't have fill out comp table them (but still have queries, forms, , reports work).

you use vba magic automatically populate [comp] table dummy records "back beginning of time", better solution adjust queries , reports handle case such records not exist. silly back-fill [comp] table 7 years of junk data (salary = 0) every new hire, , problem worse time goes (e.g., have back-fill 8 years of junk starting in 2014) , number of new/replacement employees increases.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -