Vra

I have Column which has the label "JUL-CurrentMonth Fiscal Year To-Date"

How can i write the expression in which Current month should be populated Dynamically in the label?

I was trying this

"July-" &month(today) " Fiscal Year To-Date"

but it is not working

thanks in advance

Was dit nuttig?

Oplossing

To get todays date you need to use Now() function.

To get Month use Month function.

"July-" & month(NOW()) & " Fiscal Year To-Date"

To get name of the month use MonthName function.

"July-" & MonthName(NOW()) & " Fiscal Year To-Date"
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top