cancel
Showing results for 
Search instead for 
Did you mean: 

Check Date Field empty SAP B1 SDK

Former Member
0 Kudos
396

Hi All,

  I am Creating user Form , i need to Check Date Field (Edit TextBox) is empty .How to do ? How to Pass error for this .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Lakshmi,

in the ItemEvent, and BeforeAction = True you can check with the code below.

  if (string.IsNullOrEmpty(this.FormItems.edDeprDat.EditText.Value.ToString()))

                {

                    //Send an display message to the user

                }

In case of empty date yoou have to set the BubbleEvent variable to False.

Kind Regards,

Evangelos D. Plagianos

Answers (0)