Hi,
I would like to every month, update and add records in my database using excel. But I don't know how I will tell Access which record should be updated, because when I use the key it says it cannot overwrite the key. But its not to overwrite the key, its just to recognize which line should be updated.
So I have, for example, 2 forms and 2 tables.
Table 1/Form 1:
N of Client (key) Name 1 Douglas
Table 2/Form 2:
N of Record (Key) N of Client (just load from previous from to link this ke to table 1 key) Product name Date of Start Date of End Situation State 1 1 Insurance 01/Set/2014 01/Set/2015 New Valid (actually a check box marked)
What happens is that in 01/Set/2015 I want to update this record to: Situation (Renewed) and Uncheck the checkbox.
And then create a new record that will have the exact same things except the date will be different (01/Set/2015 to 01/Set/2016), Situation is renewed and the checkbox is marked. And of course the new key will be 2, but access should generate the key.
So the problem is how I setup my excel sheet in a way that Access knows it had to update record with key (N of Record) instead of adding a new record? Or instead of thinking that I want to add a key (which is forbidden - in my tables keys can only be added automatically).