Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Method parameter converted to uppercase

Former Member
0 Likes
1,097

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
699

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

2 REPLIES 2
Read only

Former Member
0 Likes
700

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

Read only

0 Likes
699

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