Subject | TIB_Grid and deleting |
---|---|
Author | Francois Leemans |
Post date | 2001-06-21T16:40:10Z |
Thanks to everybody for solutions to my datamodule problem.
It works great.
Now I got another problem.
If the user deletes a record thru the TIB_Grid I want to display a
messagebox or something in wich I ask the user if he really want to delete
the record.
In the TIB_Grid there is no event I can use.
With the TIB_Quesry component how do I do this ?
I can use the beforedelete event.
But what do I do then ?
I tried the .cancel , but this does not work.
What is the correct procedure ?
Lee
[Non-text portions of this message have been removed]
It works great.
Now I got another problem.
If the user deletes a record thru the TIB_Grid I want to display a
messagebox or something in wich I ask the user if he really want to delete
the record.
In the TIB_Grid there is no event I can use.
With the TIB_Quesry component how do I do this ?
I can use the beforedelete event.
But what do I do then ?
I tried the .cancel , but this does not work.
What is the correct procedure ?
Lee
[Non-text portions of this message have been removed]