Patrick Huebgen Posted May 22 Share Posted May 22 Take a look at my latest WebFOCUS - Tips & Tricks tutorial sessions- setting a custom default date in WebFOCUS Designer pages 2 Link to comment Share on other sites More sharing options...
David Beagan Posted May 24 Share Posted May 24 This is a nice technique. Playing around with this, it seems to work fine for a global variable in yyyymmdd format. For defaulting to today’s date, a Designer Default value of &YYMD worked for me. For a date other than today, I coded this into the edasprof.prf to give me a date three months ago: -SET &&DATE_MO3 = AYM(&DATEH6, -3, 'I6YYM') | &DATED; Which assigned a value of 20240224 to the variable. Then I put the global variable into Designer Default value: When I run it, I see the desired date. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now