Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Not able display Current date in DateField

$
0
0

Hi All,

       I want to display current date by default in the Date field.

 

By default it should display current date in the date field.

 

 

I tried with the below code but its not displaying

 

var current_date=APPLICATION.getInfo().dateNow;

DATEFIELD_1.setDate(current_date);


Note: Its setting the date to the "Current_Date", but i want to display it in the date field upfront.

 

 

I tested it by displaying the same in Text Field, its working fine.

TEXT_1.setText(current_date);

 

 

 

Date Field:

Date.PNG

 

I need the date field to look like this

Date 1.PNG

 

 

 

Any suggestions ?


Viewing all articles
Browse latest Browse all 4041

Trending Articles