As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
A few posts that are several years old discuss this, but are not answering the main question: is there a way to fire off a report immediately when the date is selected from the calendar control popup?
Setting on onchange event for the control only works if the user types the date manually in the input box. There seems to be no way to force WF to recognize the date was changed/selected by the user through clicking on the date in the popup calendar.
Has anyone been able to solve this?This message has been edited. Last edited by: <Kathryn Henning>,
In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle
HI Gavin, thanks for quick response. We wish TOrun the report immediately after the user clicks on the date on the POPUP calendar, not when hitting the Submit button or when clicking the form submit button. I did try it and the onlselect put on the calendar control only fires the report if the user selects part of the date text in the input box and that is not what we want. If I'm misunderstanding, can you flesh out your suggestion...maybe with a small example? Thanks.
In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle
I know what your talking about now.. If your using the IBI Calendar, then no. That control is controlled by IBI only with no properties. The properties being set is for the text box the calendar writes too, not the calendar control itself. The only way, I know of, to get around it is to write your own calendar, so you can control the onclick and selection method.
Then you can call the submit button..
document.getElementById ( "frmSubmit" ).click();
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Originally posted by DavSmith: ...Setting on onchange event for the control only works if the user types the date manually in the input box...
That has not been my experience.
When a date is selected from the calendar, the input box is updated with the new date. The onchange event for the input box is then triggered, and an IBI function can be called to execute a task to run the report:
function calendar1_onchange(event) {
IbComposer_triggerExecution("task2",1);
}
App Studio WebFOCUS 8.1.05M Windows, All Outputs
Posts: 594 | Location: Michigan | Registered: September 04, 2015