cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset Date field

Former Member
0 Kudos

Hi

I want to reset the Date field of the form.

I hava a search cirtaria in that i have the folling fields

1. Indent No

2. Start Date and End Date:

when i select Indent No: the Start and End Date should be null;

When i select Start Date and End Date the Indent No Should be null.

When i first select Start Date and End Date select search the data displaying between dates

one again i select Indent No the Start date and End date will be like that only

now i want to set Start data and end Date with null or Empty values.

and let me know what is the default value of the Date

regards

mmukesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mukesh ,

To set date to null..

Date d = null;

wdcontext.<Element>.set<dateAttribute>(d);

Regards,

Sunitha