Hi Guys
Thanks for your help so far in previous weeks with questions on my database.
This one is based around a closed thread thread702-896433.
I am trying to create a simple log so that each item that is deleted is automatically add to a log so that we can keep track of them.
I tried thread702-896433 by pasting the code into the "OnDelete" event procedure and changed the LogTable to "DeleteLog" which is an empty tabel with all fields the same as the MyTable "RawData".
Every time i try to delete an item in the form an error box comes up wanting to debug and then highlights the line where DoCmd.RunSQL strsql is.
Im not all that up with all the techincal jargon. Just hoping someone can either help me fix this code or suggest a better way to creat a simple delete log.
Cheers in advance of your help.
Tones
Thanks for your help so far in previous weeks with questions on my database.
This one is based around a closed thread thread702-896433.
I am trying to create a simple log so that each item that is deleted is automatically add to a log so that we can keep track of them.
I tried thread702-896433 by pasting the code into the "OnDelete" event procedure and changed the LogTable to "DeleteLog" which is an empty tabel with all fields the same as the MyTable "RawData".
Every time i try to delete an item in the form an error box comes up wanting to debug and then highlights the line where DoCmd.RunSQL strsql is.
Im not all that up with all the techincal jargon. Just hoping someone can either help me fix this code or suggest a better way to creat a simple delete log.
Cheers in advance of your help.
Tones