How show a message with Ok and Cancel
Leroy
Member Posts: 199
Hi, I'd like to know how I can do this; I think is easy :oops:
How can I show a message, when a field is going to be modified ,that also shows the Ok and Cancel options?.
Thanks in advance.
How can I show a message, when a field is going to be modified ,that also shows the Ok and Cancel options?.
Thanks in advance.
0
Comments
-
NAV only support Error(Only a OK Button), Message (Only a OK Button), Confirm (Only a YES and NO Button) and a Dialog with cancel.
So if you really need OK and Cancel, u must create a separete form or u use the confirm statement (but not in a transaction!, then you block other users)
RegardsDo you make it right, it works too!0 -
Ok, thanks for reply. Well, exactly, what I'd like to do is that, when you write in a field this ask if you really want change it or not, that was the reason because I asked for a Ok or cancel option. You know is there is any other way to do this?,
Thanks again.0 -
So you need CONFIR instruction
Field XXX OnValidate
IF not confirm('xxxxxxxx') then
error('Modification canceled');
Bye0 -
Perfect. Thanks both for help; i'll try it.
Thanks again.0 -
I don't like that at all. If that field is validated as part of some process, your transaction will block everyone while the system is waiting for the user to click one of the buttons.0
-
Me too...It is only way to locked database. As minimum add condition that CurrFieldNo must be same as th field No., to make this confirm only if the field is directly edited by the user.0
Categories
- All Categories
- 75 General
- 75 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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

