Focal Point
[SOLVED] Does GUI run code each time object is opened?

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/382104674

June 28, 2010, 12:57 PM
BobV
[SOLVED] Does GUI run code each time object is opened?
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
June 28, 2010, 03:19 PM
FrankDutch
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

June 28, 2010, 03:31 PM
njsden
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.
June 29, 2010, 02:28 AM
GamP
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
July 02, 2010, 05:01 PM
BobV
[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