on 05-24-2006 9:45 AM
Hello,
I have been working on a UDO form.
Recently my code is generating "General Failure" Exceptions at parts where the code worked a couple of days ago!
My add-on was working perfectly before, and I haven't changed anything in it.
It is setting a general failure exception, when i set the String property of an EditText object, and when i set a form's visible property to true.
What could be the problem?
Thanks
Ralph
Hi,
try this in C#
/// <summary>
/// summary
/// <para>Sets the value of a edittext. This is because of the general failure problem, when setting edittext values directly. </para>
/// </summary>
/// <param name="_editText">The editText to set the value. </param>
/// <param name="_value"The value to set.</param>
/// <returns>Returns allways true . </returns>
public bool setEditTextValue(EditText _editText, string _value)
{
try
{
_editText.Value = _value;
return true;
}
catch (Exception)
{
return true;
}
}
Have fun,
Holger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I think I solved this issue. The problem was because my Master Data was overloaded with Master Data Lines. When this error occured, I had 21 master data lines for my UDO.
I unregistered it and added a few lines, and it worked properly again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
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.