Gasman
Enthusiastic Amateur
- Local time
- Today, 10:19
- Joined
- Sep 21, 2011
- Messages
- 17,531
That is not a report, but a query?Code:Private Sub Form_BeforeUpdate(Cancel As Integer) docmd.RunSQL "INSERT INTO stocklistchanges select * FROM stocklist " & _ "WHERE MaterialID=" & MaterialID End Sub
i tried this yesterday and it reports the changes i have made . but the problem with this is it reports all the fields which i would imagine soon fills the database? i had to change the id and stocknumber to index to no duplicates. so still not sure if i did this correct ??
steve
View attachment 107753
Regardless, it is not going to 'fill up the database'