Focal Point
[SOLVED] Infoassist exclude Filter - not in the code anymore

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

March 15, 2018, 06:09 AM
jenni
[SOLVED] Infoassist exclude Filter - not in the code anymore
Hi,

I was wondering, where the "exclude Filter" Code goes, when I do it in Infoassist.

In Appstudio I would just -* comment it, but in Appstudio I can't even see that there has ever been that filter.

Does someone have a Clou where the excluded Filter code goes?

Thanks

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows, All Outputs
March 15, 2018, 06:53 AM
Tony A
Do you mean a Reporting Object filter, Synonym Filter etc.?

Either way, they are "not included" rather than "excluded" so you wil never(?) see them within the resulting code.

Also, the reason you would comment them out is that you are doing so within code and not the GUI.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 15, 2018, 07:04 AM
jenni
I mean the normal condition filter.
They are not deleted, just not included, like you said.

There has to be a Point in the code or repository or whereever, where These not included where clauses are mentioned.
At least, there should be.


WebFOCUS 8.1.05
Windows, All Outputs
March 15, 2018, 08:17 AM
Tony A
They will be within the Reporting Object or SYnonym - which ever one that your report is using.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 15, 2018, 08:23 AM
MartinY
You probably get a warning popup message when trying to open a fex with AS that have comment lines inserted between code.

When you have comment lines "-*" within your code in a place that it "normally" shouldn't, when you answer "Continue" to the above popup, AppStudio will move them right below the TABLE FILE line after you apply a save.
When you open the fex in text editor you will find the comment lines moved but not possible to see them with AS.

Original code (created with Text Editor)
-* File: IBFS:/prod/EDA/EDASERVE/APPPATH/app/Report1.fex Created by WebFOCUS AppStudio
TABLE FILE CAR
SUM
     CAR.BODY.SEATS
     CAR.BODY.DEALER_COST
     CAR.BODY.SALES
BY  CAR.ORIGIN.COUNTRY
BY  CAR.COMP.CAR
-*WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = warm,
$
ENDSTYLE
END


After opened with AS with Continue and Save
-* File: IBFS:/prod/EDA/EDASERVE/APPPATH/app/Report1.fex Created by WebFOCUS AppStudio
TABLE FILE CAR
-*WHERE CAR.ORIGIN.COUNTRY EQ 'ENGLAND';
SUM
     CAR.BODY.SEATS
     CAR.BODY.DEALER_COST
     CAR.BODY.SALES
BY  CAR.ORIGIN.COUNTRY
BY  CAR.COMP.CAR
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = warm,
$
ENDSTYLE
END



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
March 15, 2018, 10:13 AM
jenni
quote:
Reporting Object

Ok that's sadfully not what I was asking.
I can't imagine, that I find the Information about how I created my Report (I want with Inforassist) is stored in the reporting object or synonym, but if that is the case, could you show me an example?
Or describe where to find that Information?
And I know that I can't open my Report in IA anymore when I was writing -*
but that's not the Point.
I wanted to know where the excluded filters (where-clauses) go in my code, when I exclude them, beacuase they are just not visible anymore.


WebFOCUS 8.1.05
Windows, All Outputs
March 15, 2018, 12:19 PM
Tony A
Jenni,

How are you creating your report in IA? Please provide specific details as it will identify the underlying location(s) where your filters are being considered.

For instance,

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 16, 2018, 07:11 AM
jenni
I create any Report with IA, then I create a filter, like "where whatever gt whatever"
then I right click on that filter and choose "exclude". The filter is not deleted, it's just not visible anymore and that's the Point: it's not deleted -> there Need to be a hint in the code, where the excluded filter went.
And that's all I want to know.


WebFOCUS 8.1.05
Windows, All Outputs
March 16, 2018, 07:51 AM
BabakNYC
I think it goes into that encrypted section that's marked with -INTERNAL_COMMENT LINE# in the top of the fex but it's not something you can interrogate or manipulate.


WebFOCUS 8206, Unix, Windows
March 16, 2018, 08:30 AM
Tony A
quote:
I create any Report with IA, then I create a filter, like "where whatever gt whatever"

Thanks, with that then I would concur with Babak as it seems the likeliest scenario - but I do not know for sure.

Why I was asking about reporting object and synonym filters was because the filters get included in a different manner. Without a specific situation it was not easy to refine an answer.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
March 19, 2018, 12:03 PM
FP Mod Chuck
Jenni

Sounds like you better open a case with techsupport and get a definitive answer.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 19, 2018, 04:28 PM
Doug
Good news Jenni, Smiler

It's there in 8202M





   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
March 20, 2018, 04:25 AM
jenni
Hi Doug,

where are the good News, it was also possible to exclude filters in lower Versions.


WebFOCUS 8.1.05
Windows, All Outputs
March 20, 2018, 11:53 AM
Doug
Jenni, What version are you using? I see "WebFOCUS 8". "8.?.?.?"?
March 21, 2018, 03:54 AM
jenni
8.1.5M but i can already test the 8.2.02M


WebFOCUS 8.1.05
Windows, All Outputs