Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Make date using GetFieldSelections

Hi all

Can i use GetFieldSelections of Year, month and day in makedate function like

vselecteddate= makedate(GetFieldSelections(year),GetFieldSelections(month),GetFieldSelections(day))

if not how can i get the selected year,month and day as a date?

waiting for your answers.

Thanks in advance.

Bhavya

1 Solution

Accepted Solutions
its_anandrjs

Possible click Ctrl + Alt + V and in the variables Overview

Make a variable like

vselecteddate =makedate(GetFieldSelections(Year),GetFieldSelections(NumMonth),GetFieldSelections(Day) )

Note:- Month field will be Number month values.

View solution in original post

6 Replies
its_anandrjs

Possible click Ctrl + Alt + V and in the variables Overview

Make a variable like

vselecteddate =makedate(GetFieldSelections(Year),GetFieldSelections(NumMonth),GetFieldSelections(Day) )

Note:- Month field will be Number month values.

Not applicable
Author

Thank you Anand Chouhan

can i use variables instead of GetFieldSelections in makedate

Not applicable
Author

you can use variables,not sure how your year,month,day list boxes setup, if user is able to select multiple values (ex:2010,2011) makedate wont work ...

maxgro
MVP
MVP

GetFieldSelections if you have one selected value

this (or some other aggr function) if you want also manage no selections or many selected values

=MakeDate(max(Year), MAX(NumMonth), max(Day))

1.png

Not applicable
Author

Thanks everyone for your answers

its_anandrjs

You are welcome Yes you can use variables but check which type of data in the fields you have and where you use makedate functions.