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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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