
Hi All,
How could I check if a RealEdit Field is Blank or empty dynamically ?.
If it is Blank then should proceed normally.
And if user enter (0 or any value greater than 0 ) then I want to get it and assign it to real variable.
For Example :
I have RealEdit control named (MinLotOverrideCharge)
I have set it to be default as blank.
Now I want to check if the control returns blank else I want to assign it's value to a real variable. Even if user gives 0 on that control then I want to assign 0 to a real variable.
Only if the control is blank or empty , I want to skip everything and process normally .
Please let me know how could I do this
*This post is locked for comments
I have the same question (0)Hi Mania,
You can use MinLotOverrideCharge.valueStr() to check the value entered in control.
However, I wonder you are not using ReadEdit control correctly or please share a screenshot with more information on what business logic you are trying to achieve.