NetTalk Central

Author Topic: Writing a log file after deleting a record of a browse  (Read 2861 times)

hkalmbach

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • Email
Writing a log file after deleting a record of a browse
« on: March 22, 2014, 04:39:56 AM »
Hi together,
is it possible to place embed code to write a log file if a user deletes a record in a browse list.
I have a delete button in every row.
Thanks a lot

Heinz

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Writing a log file after deleting a record of a browse
« Reply #1 on: March 22, 2014, 04:46:30 AM »
Hi,
When you use SQL of some sort you could do it by declaring an "on-delete" trigger on that particular table.

Rene
Rene Simons
NT14.14

hkalmbach

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • Email
Re: Writing a log file after deleting a record of a browse
« Reply #2 on: March 22, 2014, 05:02:55 AM »
Hi Rene,
unfortunately not, I am still using tps files.

Heinz

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Writing a log file after deleting a record of a browse
« Reply #3 on: March 24, 2014, 01:05:46 AM »
there are a few ways to do it - but from memory the browse calls the form to do a delete, so the normal form embed (ValidateDelete routine) is probably the right place for you.

cheers
Bruce