on 02-26-2010 9:20 AM
Hi All,
I have a check box attribute inside a node which is bounded to a field of type CHAR 1. I have given the property and value for the attribute as follows:
Attribute Name ZCHECK
Type assignment Type
Type ZTABLE-ZCHECK
Read-only 0
Default Value
Null Value 0
Input Help Mode Automatic
Determined Input Help ZCHECK
Type of Input Help Fixed values for domains
Formatting
Compression Default Value
I have created an onToggle Event for it.
Now when i execute my component i do the following.
First i click on a button called 'EDIT'. Now the check box comes to edit mode. Now when i click on the checkbox i get the following error. "The Entered Value is Not on the List of Valid Values".
When i try to debug, there is no problem in the 'INIT' method. The error is throw even before going inside the onToggle Event for check box.
Please explain how to over come this.
Hi,
Check your field ZTABLE-ZCHECK, if it is of type CHAR1 then only possible values for checkbox should be 'X' and ' '.
May be your domain has some other values in Fixed Value List.
its better to bind checkbox with attribute of type boolean
Also, the input help for attribute bound to checkbox doesn't makes any logic.
Regards
Manas Dua
Edited by: Manas Dua on Feb 26, 2010 3:11 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks. Even i felt the same thing. Because my value range for that field is Y or N.
But the same bonding is done in Quality system and it is working fine there. We are facing this issue in Development system.
The fields are same in Quality and Development. But in quality am not getting that error whereas it comes in Development.
Is there any other problem ?
Hi,
try changing the type ZTABLE-ZCHECK to wdy_boolean or char1 directly instead of ZTABLE-ZCHECK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.