Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Reporting Data lags when launched through Maintain

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Reporting Data lags when launched through Maintain
 Login/Join
 
Gold member
posted
Hello All,

I have a report that is being launched through a web link in Maintain. The Maintain program allows users to enter orders, and then they can click a report to review all orders. Well when launched through maintain the most recently added order(added during current session) does not appear on the report. If I run that same report from the DS I SEE the most recent order, but not if I launch out of Maintain. Even if I close the Maintain app and re-open it to launch the report the latest order does not appear for some time. If I wait 5-10 minutes then the latest order will appear on the report. Does anyone have any clue why this may be happening? I'm launching the report in a new window, could it be some sort of cached results that I am receiving?

Any thoughts would be appreciated!

Thanks,
Bryan

This message has been edited. Last edited by: Kerry,


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report This Post
Gold member
posted Hide Post
You need to pass either a random number or a time (HHMMSS) as a parameter in your WebLink. Search the Forum for "random, cache" or "cache, time" to see how to how to do it.

The following was on the forum in Jan 2008:
The way to do this is to pass a timestamp to the focexec. You want to create a random value and display it on the screen out of sight (or invisible). Then pass that value to the exec. Remember to perform this case everytime you update the database.

Case UpdateStamp
TIMESTAMP/D8.2 = RDUNIF(TIMESTAMP) * 100000;
Endcase

If you are using a weblink pass this value to the external procedure.


Windows2003 Server, WebFOCUS 7.7.02 Developers Studio and MRE
 
Posts: 63 | Location: Ft. Wayne, IN | Registered: February 20, 2007Report This Post
Master
posted Hide Post
Bryan
Kent's response is exactly right. You may also want to add a COMMIT after the database update commands. This plus the timestamp / random number will ensure the most current results.

Mark
 
Posts: 663 | Location: New York | Registered: May 08, 2003Report This Post
Gold member
posted Hide Post
Thanks for your help!

The timestamp in the call works great. I'm always receiving the latest data. I've found that COMMIT has helped with reports hanging after a table update. I appreciate all the great info I get on this forum!


Bryan Johnson
WebFOCUS 7.7.03
Maintain
Win 7
Excel, PDF, HTML
 
Posts: 54 | Registered: January 16, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Reporting Data lags when launched through Maintain

Copyright © 1996-2020 Information Builders