Calendar Control The calendar control will display for parameters that are simple filters for a field that is a combination of YYMD date format with any of the supported modifiers. The date format must have all components (year, month, day). Date-Time field formats are not supported.
Responsive Autoprompt calendar control with default date Note:
he default value is the current date. The default value can be specified with an English month, two-digit day, and four-digit year. For example: -DEFAULT &STARTDATE='January 01 2016';This message has been edited. Last edited by: FP Mod Chuck,
WebFOCUS 8.6 Windows, All Outputs
November 08, 2019, 07:59 AM
Tony A
Do a search on "DEFAULT DYNAMIC VALUE" and you wil find that this has been discussed (many times) before.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
November 11, 2019, 01:43 AM
subbu_088
Hi Tony, Thanks for the information. I could not find the solution for my query.
I want the date column to be displayed as a Calendar control.
Can you provide the exact URL ? Thanks in advance.
WebFOCUS 8.6 Windows, All Outputs
November 11, 2019, 12:18 PM
FP Mod Chuck
subbu
In 8.2.06 when you are creating the html page with App Studio if you click on the calendar control and choose the settings tab, select Dynamic / Other and there is a check box for current start date. Select that and it will make that the default date when the page is run.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 12, 2019, 12:56 AM
subbu_088
Hi Chuck,
I am trying to populate or design the calendar control in Page Designer using PROMPT with dynamic values. For that I am using the code (in my initial thread) to create dynamic date values.
When we provide the static value as below it is showing the correct values in Calendar control -DEFAULT &STARTDATE='March 18 2018';
However, when I calculate the same dynamically using WebFOCUS SET command, it is populating the current date.
For the default set of date value in PROMPT to create a calendar control I refer the below URL.
I am trying to populate or design the calendar control in Page Designer using PROMPT with dynamic values. For that I am using the code (in my initial thread) to create dynamic date values.
When we provide the static value as below it is showing the correct values in Calendar control -DEFAULT &STARTDATE='March 18 2018';
However, when I calculate the same dynamically using WebFOCUS SET command, it is populating the current date.
For the default set of date value in PROMPT to create a calendar control I refer the below URL.
Calendar Control The calendar control will display for parameters that are simple filters for a field that is a combination of YYMD date format with any of the supported modifiers. The date format must have all components (year, month, day). Date-Time field formats are not supported.
Responsive Autoprompt calendar control with default date Note:
The default value is the current date. The default value can be specified with an English month, two-digit day, and four-digit year. For example: -DEFAULT &STARTDATE='January 01 2016';
Kindly let me know if any queries.
Thanks Subbu
WebFOCUS 8.6 Windows, All Outputs
November 12, 2019, 09:21 AM
dbeagan
The link below is a post that describes how to get Designer to do the prompting. The last entry by Michele Brady has two other links with more information.