‎2012 Mar 21 7:07 PM
Hi All,
I am trying to solve a small but painful problem.
I have created my datatype ZDATATYPE and assign a domain ZDOMAIN to it.
ZDOMAIN is defined as CHAR 30 and a 'Lower Case' checkbox is checked in.
So I assume variables of data type ZDATATYPE should not be converted to uppercase.
But when I use this datatype to set up Class Method's parameter type,
inside the method the parameter is converted to uppercase.
What is wrong with that scenario? What should I to avoid uppercase conversion? That makes SELECT statements not working.
I would appreciate your tips.
Regards,
bob
‎2012 Mar 21 9:26 PM
Hi Bob,
Is this in code or when you use the test feature in the class builder?
If it is in the test feature of the class builder than there is a checkbox you have to activate to allow lower case characters. The input fields on the test screen do not you the parameter data elements but generic ones.
If it is in code then more info would be helpful. Like where does the data come you pass into the method come from and are you absolutely sure that the data is not upper case before you are calling your method. As far as I know the lower case checkbox in domains only has an effect when displaying an input field on a screen.
Cheers
Adi
‎2012 Mar 21 9:26 PM
Hi Bob,
Is this in code or when you use the test feature in the class builder?
If it is in the test feature of the class builder than there is a checkbox you have to activate to allow lower case characters. The input fields on the test screen do not you the parameter data elements but generic ones.
If it is in code then more info would be helpful. Like where does the data come you pass into the method come from and are you absolutely sure that the data is not upper case before you are calling your method. As far as I know the lower case checkbox in domains only has an effect when displaying an input field on a screen.
Cheers
Adi
‎2012 Mar 21 9:34 PM
Adi, BINGO
The checkbox in class test feature is the answer,
And I am going to visit my doctor to check is evertytihing is ok my eyes...
Thanks a lot!
Regards,
bob