on 09-23-2018 9:15 PM
While creating an addon i am trying to enable the find option, I am not using udo, all form and events are manually created.
what i have done is - enabled the find menu
oForm.EnableMenu("1281", true);
and written the menu event for find as
if (pVal.BeforeAction && pVal.MenuUID == "1281")
{
oForm.ActiveItem = "EditText1";
}
where EditText1 represent the Code for NoObject Table, also the docnum for my form.
The problem is - for example
if the value of EditText1 is 1001, 2001,3001 and so on where the first digit is not same.
As i enter 1 or 2 or 3 and press the find button i get the required result.
1001 in case i enter 1 and press find button.
2001 in case i enter 2 and press find button.
but when the value of EditText1 is 1001, 1002, 1003 and so on where first digit is similar
the system throws an internal error.
when i input 1 and press the find button it throws internal error.
It should show me all the value of EditText1 starting from 1, but it throws an error.
How can i achieve my output ?
also if i put a "*" and press find button it should show all the EditText1 values.
How can i do this ? what am i missing ?
Thank You
Ranu Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.