PasswordText in Dialog Box

victorM
Member Posts: 24
I use dialog variable to create the input box. the codes are :
Dialog.OPEN('Enter the Password #1######',Password);
Dialog.INPUT(1,Password);
but i need to change the input format into PasswordText, like '****'. Can navision do that?
thanks for help
Dialog.OPEN('Enter the Password #1######',Password);
Dialog.INPUT(1,Password);
but i need to change the input format into PasswordText, like '****'. Can navision do that?
thanks for help
0
Comments
-
I never use the .INPUT method. And I recommend to not use it. Better is to create new form or use report request form for that data input. And you will have possibility to do what you want... ;-)0
-
As kine said, use a form.
But don't forgett. also when you set the property "PasswordText" the user can still see the password if the field is focusable and he set a fieldfilter (F7) directly on this field. so also create a crypt / decrypt algorothum (like ceaser chiffre or a simple ASCII Change)
RegardsDo you make it right, it works too!0 -
kine wrote:I never use the .INPUT method. And I recommend to not use it. Better is to create new form or use report request form for that data input. And you will have possibility to do what you want... ;-)
What would be the reasons for not using .INPUT?
What problems would it cause?NAV - Norton Anti Virus
ERP Consultant (not just Navision) & Navision challenger0 -
E.g. problems with making difference between ESC (cancel) and Enter (OK). Blocking transaction without any message (if you use report or form during transaction, NAV will give you big error about that), not possibility to do anything around (e.g. like you want)... just examles... 8)0
-
ok, thanks kine, for your recommendation..
maybe it's not possible to set PasswordText in INPUT method, right ?0 -
correctDo you make it right, it works too!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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