cancel
Showing results for 
Search instead for 
Did you mean: 

type casting and condition checking while inserting into the DB.

Former Member
0 Kudos

Hi All,

I just have a query that if i use an integer

attribute to be stored inside the database,i get get a

comma seperating the thousand value.so instead i used it

as a string attribute and type casted it and stored

inside the DB.Now my problem is, if i want to check the

condition that the value i m passing inside the

inputfield should not be a string how could i do it?

Regards,

Nagarajan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Nagarajan,

As far as I understand you get comma on UI, not in DB.

Then you may use integer, but create Simple Type in local dictionary, that deriviates from integer. Next go to "Presentation" tab of editor for simple type and define your own "Format" that does not show group separators.

VS

Answers (0)