web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to check if a RealEdit field is Blank or empty on a form in ax 4

(0) ShareShare
ReportReport
Posted on by

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

  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans