NetTalk Central

Author Topic: Delete record without confirm  (Read 6576 times)

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Delete record without confirm
« on: September 13, 2009, 12:33:36 PM »
Hi,

I would like to suppress the confirm message that appears when I delete a record from a file using EIP.
Especially when the file is not in abrowse but when the deletion happens to a record related to the records in the browse.
Cheers,

Rene
Rene Simons
NT14.14

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11298
    • View Profile
Re: Delete record without confirm
« Reply #1 on: September 13, 2009, 10:35:51 PM »
There's an option for this on the form tab.

Cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Delete record without confirm
« Reply #2 on: September 14, 2009, 11:10:40 AM »
Bruce,
I know there is.
But the records are written in the server side code, when a check box is selected (on), in the server side code and deleted when the checkbox is unchecked (off) also in the serverside code.
So there is no form.

Cheers,
Rene
Rene Simons
NT14.14

Alberto

  • Hero Member
  • *****
  • Posts: 1884
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Delete record without confirm
« Reply #3 on: September 15, 2009, 05:12:57 AM »
What code are you using to delete it?
Try
Relate:YourTable.Delete(0)

Hope this helps
Alberto
-----------
Regards
Alberto

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Delete record without confirm
« Reply #4 on: September 15, 2009, 11:25:18 PM »
Thanks Alberto.
I'll try.
Rene
Rene Simons
NT14.14

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Delete record without confirm
« Reply #5 on: September 16, 2009, 11:39:45 PM »
Thanks again Alberto. It works fine now
Rene
Rene Simons
NT14.14