Is it possible to get value OnAfterInput Trigger
VE024
Member Posts: 17
Hi All,
I need to get the value OnAfterInput Trigger itself is there any possible to get the value in that (OnAfterInput) Trigger.
Thanks & Regards,
Naidu. ](*,)
I need to get the value OnAfterInput Trigger itself is there any possible to get the value in that (OnAfterInput) Trigger.
Thanks & Regards,
Naidu. ](*,)
0
Comments
-
I don't understand what you are asking, but one way to find out is to try. Put your code in that trigger and see if it gets you what you need.0
-
Hi DenSter,
I am using one form in that one TextBox is there. But my problem is when I give the data into that TextBox in general OnInput(), OnAfterInput(), OnValidate()... Triggers are fired but we are not get the data in OnInput(), OnAfterInput() Triggers, when the OnValidate() Trigger is fired we get the data. so, I need to get the data in any one that two(OnInput(), OnAfterInput()) Triggers is there any possible to get.
For Example,
OnInput() --Trigger
message('%1',Variable);
OnAfterInput() --- Trigger
messge('%1',variable);
OnValidate()
message('%1',Variable);
Thanks,
Naidu. ](*,)0 -
you need the new value that the user has inserted to check it before it will store into the field self?
Then try this:TextFieldControl - OnAfterInput(VAR Text : Text[1024];) message(Text);
The system executes this trigger after the user switches focus from one control to another.
To get the new inserted value, u must use the TEXT parameter and not the variable.
So, it's executed before the OnValidateTrigger is execute.
The OnInputChange trigger is ever executed when the user enter a character in the textbox.
Important!!
If there is an error in the C/AL code you enter into this trigger, the system closes the form.
You cannot use this trigger to write to the database.
RegardsDo you make it right, it works too!0 -
I guess I am having trouble understanding....
You figured out that a certain trigger gives you what you want. Doesn't that solve your issue? Why are you so set on using another trigger if you found one that works?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
