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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans