How to get Delete message window with the message I want.
dilla
Member Posts: 31
Hi All,
I have a customized form and I created one command button "Delete" to delete the last record in table when I click on Delete command button and I'll ask user for confirmation "Do you want to deleter Record 123" if yes, record will be deleted from table.
But when I use
1.short cut key F4 to delete last record, as per standard functionality I'm getting message "Delete Table name".
2.When I Select the last line and press "Delete" key in key board I'm getting message "Delete selected lines".
Is is possible for me to get the message "do you want to delete (record number which is primary key in source table)) as I get when I click on "Delete"command button.
Kindly help me.
I have a customized form and I created one command button "Delete" to delete the last record in table when I click on Delete command button and I'll ask user for confirmation "Do you want to deleter Record 123" if yes, record will be deleted from table.
But when I use
1.short cut key F4 to delete last record, as per standard functionality I'm getting message "Delete Table name".
2.When I Select the last line and press "Delete" key in key board I'm getting message "Delete selected lines".
Is is possible for me to get the message "do you want to delete (record number which is primary key in source table)) as I get when I click on "Delete"command button.
Kindly help me.
0
Comments
-
Put
If confirm('Do you want to delete....',FALSE) then DELETE
in OnDelete trigger0 -
Hi Malajlo,
Thanks for your reply.
When I tried with code "If confirm('Do you want to delete....',FALSE) then DELETE"
on OnDelete trigger and pressed on F4 or Delete key in keyboard first I'm getting a populated messages as I mentioned in my post above and then the message which I wrote on OnDelete trigger.
Is it possible for me to block message window which populate when I press F4 or Delete key in keyboard?
kindly help me.0 -
-
Hi Denster,
Thank you for your reply.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
