How to get the entered string before validating the field???

kgsinha
Member Posts: 67
Hi all,
I have taken a textbox, which is havking a text type variable as its source expression. Now i am entring some text value into this textbox. I have entered some text, Let's say "ABC", before validating the filed can i get the entered text . i.e. "ABC".
????
#-o :?: :?: :?:
I have taken a textbox, which is havking a text type variable as its source expression. Now i am entring some text value into this textbox. I have entered some text, Let's say "ABC", before validating the filed can i get the entered text . i.e. "ABC".
????
#-o :?: :?: :?:
0
Comments
-
what are you trying to do?
Where is the validating happening? All you did was enter text into a box.0 -
You can access the information in the OnAfterInput trigger of the textbox on the form.
But if you're goal is to somehow circumvent what gets executed in the onvalidate code, you're going to down a bad path.
Are you trying to do something special with the user interface?0 -
Actually, while entring some text in any field, i want to show the similar kind of data which is available in any table. this must be done before valdating the field.
for example, i have entered "A" in item no. field, before entering any next character in the field, i want to short all the items which start form A and show it in a form.
BeforeInputChange trigger of text box gets excute as i make any entry into the textbox. this trigger will work, but HOW CAN GET THE VALUE WHICH I HAVE JUST ENTERED INTO THE FIELD.???????????
IS IT POSSIBLE?????0 -
no it's not possible with standard nv. there is an example but it uses .net dll.0
-
Please, think about the performance before you start doing such a things. It is same like "Find As you type" performance problems etc. It looks great but it is first thing you throw away when you need performance boost...0
-
The other "Find as you type" post
http://www.mibuso.com/forum/viewtopic.php?t=112270
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