cancel
Showing results for 
Search instead for 
Did you mean: 

Not Enable Field Problem!

Former Member
0 Kudos

Hello,

we are running a process where a field is set as enable = True, a value is inserted and then is set again as Enable = False. The problem is that some times, when we want to set the field as enable true an exception ocurred. (The item is not an user defined object) so we can't set any property of it.

This problem is solved momentary by typing Ctrl - Shift - B, and setting enable the items. But is not a real solution because after a few time the exception occurred again.

So, someone knows a better solution for this problem.

Thanks. !

Ezequiel.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Ezequiel,

Try to use a "Try catch"statement which you can catch the error.. and your application don't crash.

See for more info:

[http://msdn.microsoft.com/en-us/library/0yd65esw.aspx]

[http://msdn.microsoft.com/en-us/library/system.exception(VS.71).aspx]

Hope this helps...

Regards,

Former Member
0 Kudos

Ok, thank you, but we are using the catch. What i am looking for is why sometimes the application don't let me enable a field and others does.

Thanks!

Former Member
0 Kudos

Hello,

Maybe you could post the error (in the catch)..

Maybe this is clearing things up.

Regards,

Answers (0)