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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Does GUI run code each time object is opened?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Does GUI run code each time object is opened?
 Login/Join
 
Gold member
posted
Hey all,
when opening a report object (or join or define) in the GUI, does it run the code up to that point each time. Although it's not pulling records from the database, would it appear on the report console that the fex ran even if the run button is not clicked? Would this also happen if fields were added, deleted or reformatted?

thanks

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


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
 
Posts: 93 | Registered: February 20, 2008Report This Post
Virtuoso
posted Hide Post
no

it only runs when you want that (if the code is correct)




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Hmmm, it seems to me like it indeed runs the code (probably with XRETRIEVAL=OFF) or at least a deep parse process needs to take place otherwise the GUI wouldn't know which fields will be available after a HOLD file is created by your code and it really needs to know that info to reference those fields in the JOIN/DEFINE wizards or Report Painter.

That's just my assumption based on the slow downs I get when accessing the JOIN wizard tool during the very rare times I actually use the GUI.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Virtuoso
posted Hide Post
Yes, it indeed runs whatever it needs to run to be able to produce the correct set of fields and field information in the painter. And as Neftali notices, this is indeed done with XRETRIEVAL OFF.
It is the only way to know what the current data structure is.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Gold member
posted Hide Post
[SOLVED]

Thanks GamP. That was my suspicion. I knew WF had to parse the data, but did not know it was running. Found also that XR=ON takes some CPU time although not as much as normal run.


WF (App Studio) 8.2.01m / Windows
Mainframe FOCUS 8
 
Posts: 93 | Registered: February 20, 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] Does GUI run code each time object is opened?

Copyright © 1996-2020 Information Builders